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 142447

Summary: NullPointerException at org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction.findAnnotation
Product: java Reporter: Petr Cyhelsky <cyhelsky>
Component: EditorAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WONTFIX    
Severity: blocker Keywords: RANDOM
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=84826
Issue Type: DEFECT Exception Reporter: 84826
Attachments: stacktrace

Description Petr Cyhelsky 2008-07-31 17:59:37 UTC
Build: NetBeans IDE Dev (Build 080729)
VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04
OS: Windows Vista, 6.0, x86

User Comments: 
on untoggling line breakpoint through clicking on gutter - there is also an implementation annotation (green circle)

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction.findAnnotation(IsOverriddenAnnotationAction.java:127)
        at org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction.access$000(IsOverriddenAnnotationAction.java:66)
        at org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction$1.run(IsOverriddenAnnotationAction.java:152)
        at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1363)
        at org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction.invokeDefaultAction(IsOverriddenAnnotationAction.java:145)
        at org.netbeans.modules.java.editor.overridden.IsOverriddenAnnotationAction.actionPerformed(IsOverriddenAnnotationAction.java:75)
Comment 1 Petr Cyhelsky 2008-07-31 17:59:42 UTC
Created attachment 66205 [details]
stacktrace
Comment 2 Jan Becicka 2008-09-01 12:55:09 UTC
ANY steps to reproduce? Seems to be rare and harmless.
Comment 3 Petr Cyhelsky 2008-09-05 14:53:55 UTC
it happened to me only twice, when I set line breakpoint on the line where there is already the green ring annotation
and then after some debugging try to delete the breakpoint via clicking on the breakpoint annotation in the gutter.
Comment 4 Jan Lahoda 2008-11-19 10:36:01 UTC
later.
Comment 5 Quality Engineering 2009-11-02 11:04:44 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX