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 32746 - NPE in ParserAnnotation on all filesystems unmount
Summary: NPE in ParserAnnotation on all filesystems unmount
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 33306 33697 33886 34979 35030 35513 36979 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-09 01:19 UTC by gthb
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 gthb 2003-04-09 01:19:47 UTC
With an editor window open on a Java source file,
I selected all of
my filesystems, right-clicked and selected
"Unmount". The editor
window closed and an exception dialog came up,
with this exception:

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)

My exact version is the 3.5 QBuild from April 3rd:
200304031325.
Comment 1 Jan Becicka 2003-04-30 08:30:51 UTC
*** Issue 33306 has been marked as a duplicate of this issue. ***
Comment 2 Martin Roskanin 2003-05-19 09:04:21 UTC
*** Issue 33697 has been marked as a duplicate of this issue. ***
Comment 3 Jan Becicka 2003-05-26 08:10:22 UTC
*** Issue 33886 has been marked as a duplicate of this issue. ***
Comment 4 Jan Becicka 2003-07-22 10:23:01 UTC
*** Issue 35030 has been marked as a duplicate of this issue. ***
Comment 5 Jan Becicka 2003-07-22 12:28:45 UTC
*** Issue 34979 has been marked as a duplicate of this issue. ***
Comment 6 Jan Becicka 2003-08-20 13:50:33 UTC
*** Issue 35513 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Hurka 2003-08-22 11:24:09 UTC
fixed in trunk.
Checking in JavaEditor.java;
/cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v  <--  JavaEditor.java
new revision: 1.142; previous revision: 1.141
done
Comment 8 ehucka 2003-11-03 14:54:53 UTC
*** Issue 36979 has been marked as a duplicate of this issue. ***
Comment 9 Antonin Nebuzelsky 2003-11-04 15:01:22 UTC
Fixed also in Nevada Patch 1 and in Arrow.