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.
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)
The same java.lang.NullException appears when dragging Circle code snippet from Palette window to the source editor.
*** This issue has been marked as a duplicate of 131830 ***
verified