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.
I'm often getting the following NPE while editing Java source files in Source Editor especially after moving files/packages in Explorer: java.lang.NullPointerException at org.netbeans.modules.java.ParserAnnotation.attachToLineSet(ParserAnnotation.java:134) at org.netbeans.modules.java.JavaEditor.processAnnotations(JavaEditor.java:449) at org.netbeans.modules.java.JavaEditor.access$300(JavaEditor.java:77) [catch] at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:297) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Should be fixed in NB 3.5 *** This issue has been marked as a duplicate of 24531 ***