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 143417 - NullPointerException at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.isMoreImportant
Summary: NullPointerException at org.netbeans.modules.editor.errorstripe.AnnotationVie...
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 143418 152093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-11 09:08 UTC by Marian Mirilovic
Modified: 2009-12-03 03:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 85632


Attachments
stacktrace (2.19 KB, text/plain)
2009-05-03 03:48 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-08-11 09:08:02 UTC
Build: NetBeans IDE Dev (Build 200807310201)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Linux, 2.6.24-20-generic, i386
User comments: 
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.isMoreImportant(AnnotationViewDataImpl.java:281)
        at
org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.getMainMarkForBlockImpl(AnnotationViewDataImpl.java:271)
        at
org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.getMainMarkForBlock(AnnotationViewDataImpl.java:250)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:305)
        at javax.swing.JComponent.paint(JComponent.java:1027)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
        at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1467)
        at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1398)
        at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:293)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1213)
Comment 1 Vitezslav Stejskal 2008-08-11 11:17:19 UTC
It looks like that AnnotationViewDataImpl needs some serious attention. There have been several issues like this and
they all seem to stem from a poor synchronization model. I assume there are no obvious steps how to reproduce this NPE?
Comment 2 Vitezslav Stejskal 2008-08-11 11:18:13 UTC
*** Issue 143418 has been marked as a duplicate of this issue. ***
Comment 3 Marian Mirilovic 2008-08-11 12:01:09 UTC
> I assume there are no obvious steps how to reproduce this NPE?
I do not know about steps to reproduce. try to look at the log from UI Gestures, but don't think it would be really
helpful in this case ;(
Comment 4 Vitezslav Stejskal 2009-04-06 12:53:56 UTC
*** Issue 152093 has been marked as a duplicate of this issue. ***
Comment 5 Exceptions Reporter 2009-05-03 03:48:02 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.isMoreImportant(AnnotationViewDataImpl.java:281)
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.getMainMarkForBlockImpl(AnnotationViewDataImpl.java:271)
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.getMainMarkForBlock(AnnotationViewDataImpl.java:250)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:305)
        at javax.swing.JComponent.paint(JComponent.java:1027)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
Comment 6 Exceptions Reporter 2009-05-03 03:48:06 UTC
Created attachment 81424 [details]
stacktrace
Comment 7 Max Sauer 2009-10-01 13:40:25 UTC
No reports past 2008-07, probably fixed by some other changes. Closing as WORKSFORME.
Comment 8 Marian Mirilovic 2009-12-03 03:25:04 UTC
v/c