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 38782 - NullPointer Exception
Summary: NullPointer Exception
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
: 40058 40234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-14 19:13 UTC by ronholmj
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (53.40 KB, text/plain)
2004-01-14 19:14 UTC, ronholmj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ronholmj 2004-01-14 19:13:02 UTC
Only just beginning to learn NetBeans.
Just closed file I had been working on last time 
(using [x] button ) - immediately after starting 
the editor.

1. Started NetBeans (old file opens)
2. Close old file
3. Crash

Stacktrace
~~~~~~~~~~~~
java.lang.NullPointerException
	at 
org.netbeans.modules.java.ParserAnnotation.attachT
oLineSet(ParserAnnotation.java:134)
	at 
org.netbeans.modules.java.JavaEditor.processAnnota
tions(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:454)
	at 
java.awt.EventDispatchThread.pumpOneEventForHierar
chy(EventDispatchThread.java:201)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarch
y(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
~~~~~~~~~~~~~~
Comment 1 ronholmj 2004-01-14 19:14:08 UTC
Created attachment 12891 [details]
ide.log
Comment 2 Martin Roskanin 2004-01-23 16:18:32 UTC
reassiging to java module
Comment 3 Jan Pokorsky 2004-02-05 20:20:20 UTC
Fixed. You can verify if you download next development releas.
/cvs/java/src/org/netbeans/modules/java/OverrideAnnotation.java,v1.2
/cvs/java/src/org/netbeans/modules/java/ParserAnnotation.java,v1.5
Comment 4 Jan Pokorsky 2004-02-13 11:18:23 UTC
*** Issue 40058 has been marked as a duplicate of this issue. ***
Comment 5 Jan Pokorsky 2004-02-18 16:15:50 UTC
*** Issue 40234 has been marked as a duplicate of this issue. ***