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 43491 - NPE when closing a Java file
Summary: NPE when closing a Java file
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-05-19 01:46 UTC by Jesse Glick
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (306 bytes, text/plain)
2004-05-19 01:46 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-05-19 01:46:07 UTC
May 18 refact build, 1.5.0b51, no idea how to
reproduce.
Comment 1 Jesse Glick 2004-05-19 01:46:34 UTC
Created attachment 14967 [details]
Stack trace
Comment 2 Jan Becicka 2004-05-19 13:57:42 UTC
I've added debug assert to JavaEditor. It can show us which
jdo.getCookie(JavaEditor.class) returns null;
Comment 3 Jan Becicka 2004-05-20 17:06:58 UTC
Checking in JavaEditor.java;
/cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v  <-- 
JavaEditor.java
new revision: 1.155.6.17; previous revision: 1.155.6.16
done
Comment 4 Jesse Glick 2004-05-20 18:09:08 UTC
Did you actually fix it, or just put in the debug info?
Comment 5 Jan Becicka 2004-05-21 06:23:47 UTC
I fixed it.