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.
I closed a file and the following exception appeared; I've seen it before a couple of times, but it doesn't happen every time. May be an editor bug - it looks like the editor UI is trying to calculate Implemented/Overridden method annotations for something that is not there. Annotation: Exception occurred in Request Processor java.lang.NullPointerException at org.netbeans.modules.java.JavaEditor.findOverridenMethods (JavaEditor.java:522) at org.netbeans.modules.java.JavaEditor.findOverridenMethods (JavaEditor.java:559) at org.netbeans.modules.java.JavaEditor.processOverridenAnn otation(JavaEditor.java:569) at org.netbeans.modules.java.JavaEditor.objectParsed(JavaEdit or.java:328) at org.netbeans.modules.java.JavaEditor$WParsingListener.obj ectParsed(JavaEditor.java:2742) at org.netbeans.modules.java.Parsing.fireEvent(Parsing.java: 61) at org.netbeans.modules.java.parser.ParsingSupport$1.run(Par singSupport.java:370) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProces sor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestPr ocessor.java:680)
I encountered the same exception when I invoked action "Close All Documents" on an editor tab. The error message dialog appeared at the moment all the documents were closed. I think all the tabs contained Java source code files. I was using my own build (source code from 28/01/2004) with the following configuration: Linux - Fedora (Red Hat 9) JDK 1.4.2_03
FYI, I see this exception several times a day.
FYI, I see this exception several times a day. Adding Martin to cc - not sure if this is really a java bug or an editor bug and the Java module just triggers it. Either way, we shouldn't ship with the editor randomly throwing exceptions. Raising priority to P2.
It is a java bug. IMO it is duplicate of the #issue 38321. I have not been able to reproduce it in last week. Anyway I'll look at it ASAP. *** This issue has been marked as a duplicate of 38321 ***