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.
Null exception occured in cuting/copying and then pasting of Java class. java.lang.NullPointerException at org.netbeans.modules.java.SourceElementImpl.findUnguarded(SourceElementImpl.java:1108) at org.netbeans.modules.java.ElementImpl.createSiblingBounds(ElementImpl.java:415) at org.netbeans.modules.java.ElementImpl.createSiblingBounds(ElementImpl.java:431) at org.netbeans.modules.java.ElementsCollection.change(ElementsCollection.java:137) at org.netbeans.modules.java.SourceElementImpl.changeClasses(SourceElementImpl.java:397) at org.openide.src.SourceElement.addClass(SourceElement.java:167) at org.netbeans.modules.java.JavaNode$5.run(JavaNode.java:314) at org.netbeans.editor.BaseDocument.runAtomicAsUser(BaseDocument.java:709) at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:242) at org.openide.text.NbDocument.runAtomicAsUser(NbDocument.java:299) at org.netbeans.modules.java.SourceElementImpl.runAtomicAsUser(SourceElementImpl.java:536) at org.openide.src.SourceElement.runAtomicAsUser(SourceElement.java:283) at org.netbeans.modules.java.JavaNode.pasteElement(JavaNode.java:322) at org.netbeans.modules.java.JavaNode.access$0(JavaNode.java:306) at org.netbeans.modules.java.JavaNode$4.paste(JavaNode.java:296) at org.openide.actions.PasteAction.performAction(PasteAction.java:109) at org.openide.actions.PasteAction$ActSubMenuModel.performActionAt(PasteAction.java:195) at org.openide.awt.Actions$SubMenuBridge$ISubActionListener.actionPerformed(Actions.java:503) at org.openide.awt.Actions$SubMenu.doClick(Actions.java:773) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
[dev-18] corrected. PLEASE! REMEMBER to include number of the buggy build!
It works without problems.
Resolved for 3.4.x or earlier, no new info since then -> closing.