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 49403 - [40cat] NPE from OverrideAnnotationSupport after IDE restart
Summary: [40cat] NPE from OverrideAnnotationSupport after IDE restart
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Mac OS X
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 12:45 UTC by Jan Chalupa
Modified: 2012-08-31 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error message screenshot (92.33 KB, image/png)
2012-08-31 13:37 UTC, andyimt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2004-09-22 12:45:00 UTC
Encountered by a NetCAT participants in a recent
dev build (#30040920?). May be a result of issue
#49401 reported by the same user. --

So... restarting Netbeans after the
InvalidObjectException
yields:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
    at 
org.netbeans.modules.java.OverrideAnnotationSupport$WMDRChangeListener.a
ddElement(OverrideAnnotationSupport.java:390)
    at 
org.netbeans.modules.java.OverrideAnnotationSupport.findOverriddenMethod
s(OverrideAnnotationSupport.java:285)
    at 
org.netbeans.modules.java.OverrideAnnotationSupport.processOverriddenAnn
otation(OverrideAnnotationSupport.java:117)
    at 
org.netbeans.modules.java.OverrideAnnotationSupport.processOverriddenAnn
otationImpl(OverrideAnnotationSupport.java:166)
    at 
org.netbeans.modules.java.OverrideAnnotationSupport.access$400(OverrideA
nnotationSupport.java:43)
    at 
org.netbeans.modules.java.OverrideAnnotationSupport$Request.computeAnnot
ations(OverrideAnnotationSupport.java:348)
    at 
org.netbeans.modules.java.OverrideAnnotationSupport$Request.run(Override
AnnotationSupport.java:335)
    at org.openide.util.Task.run(Task.java:136)
    at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
686)

This makes the IDE unusable since the error
message pops up every  couple of seconds.
Comment 1 Martin Matula 2004-09-27 16:25:41 UTC
This exception is a direct consequence of issue 49401. It does not
make sense to fix this (put checks for null into the code) since this
should normally never happen. It is the issue 49401 that causes that
the storage gets corrupted.
Comment 2 andyimt 2012-08-31 13:37:49 UTC
Created attachment 123779 [details]
Error message screenshot
Comment 3 andyimt 2012-08-31 13:43:55 UTC
Not sure how my attachment landed here, it was destined for 163039.