This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149316 - java.lang.NullPointerException
Summary: java.lang.NullPointerException
Status: VERIFIED DUPLICATE of bug 131830
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 06:48 UTC by Cynthia Castillo
Modified: 2008-10-31 11:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cynthia Castillo 2008-10-07 06:48:00 UTC
Product Version: NetBeans IDE Dev (Build 200810060201)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)
(IDE installed using netbeans-trunk-nightly-200810060201-javafx-macosx.dmg)

Steps taken:
- Created a new JavaFX Script Application project
- Dragged Applications >Stage from the Pallette window to Main.fx in the source editor.
- import statements and Stage code snippet added with no errors marked in the source editor, but Exception dialog
appears with the following:

java.lang.NullPointerException
	at javax.swing.plaf.basic.BasicTextUI$TextDropTargetListener.restoreComponentStateForDrop(BasicTextUI.java:2115)
	at javax.swing.plaf.basic.BasicDropTargetListener.drop(BasicDropTargetListener.java:259)
	at javax.swing.TransferHandler$SwingDropTarget.drop(TransferHandler.java:614)
	at org.openide.text.QuietEditorPane$DelegatingDropTarget.drop(QuietEditorPane.java:419)
	at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
	at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:53)
	at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
	at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
	at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
	at java.awt.Component.dispatchEventImpl(Component.java:3926)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3903)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4007)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3861)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1801)
	at java.awt.Component.dispatchEvent(Component.java:3903)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Cynthia Castillo 2008-10-07 06:52:16 UTC
The same java.lang.NullException appears when dragging Circle code snippet from Palette window to the source editor.
Comment 2 Michal Skvor 2008-10-30 11:26:35 UTC

*** This issue has been marked as a duplicate of 131830 ***
Comment 3 Alexandr Scherbatiy 2008-10-31 11:24:25 UTC
verified