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 34216 - NPE while editing Java source files
Summary: NPE while editing Java source files
Status: RESOLVED DUPLICATE of bug 24531
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-06 07:14 UTC by Mikhail Romanov
Modified: 2007-09-26 09:14 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 Mikhail Romanov 2003-06-06 07:14:57 UTC
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)
Comment 1 Jan Becicka 2003-07-08 13:39:14 UTC
Should be fixed in NB 3.5

*** This issue has been marked as a duplicate of 24531 ***