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 38321 - NPE from JavaEditor.findOverridenMethods
Summary: NPE from JavaEditor.findOverridenMethods
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:
: 37702 37733 38745 39202 39252 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-24 19:16 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (807 bytes, text/plain)
2003-12-24 19:16 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-12-24 19:16:36 UTC
I get this error from time to time, randomly.
Current dev build.

BTW "overridden" not "overriden".
Comment 1 Jesse Glick 2003-12-24 19:16:59 UTC
Created attachment 12671 [details]
Stack trace
Comment 2 Jan Pokorsky 2004-01-22 13:21:26 UTC
*** Issue 37702 has been marked as a duplicate of this issue. ***
Comment 3 Jan Pokorsky 2004-01-22 13:23:14 UTC
*** Issue 37733 has been marked as a duplicate of this issue. ***
Comment 4 Jan Pokorsky 2004-01-29 15:29:29 UTC
*** Issue 39202 has been marked as a duplicate of this issue. ***
Comment 5 Martin Roskanin 2004-01-29 16:53:11 UTC
how to reproduce: (on win2k && (jdk1.4.1 || jdk1.5))
-----------------
1. open ColorPreview from examples pkg. (the class overrides some methods)
2. close it immediately

Comment 6 Jan Pokorsky 2004-01-29 20:56:08 UTC
Yeah, I was successful too. But you have to be really fast. The
threading model for overridden methods would deserve deeper redesign.
Anyway the following fix should help.

Fixed in
/cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v1.149
Comment 7 Martin Roskanin 2004-01-30 09:12:53 UTC
*** Issue 38745 has been marked as a duplicate of this issue. ***
Comment 8 Martin Roskanin 2004-01-30 09:16:14 UTC
*** Issue 39252 has been marked as a duplicate of this issue. ***