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.
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)
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?
*** Issue 143418 has been marked as a duplicate of this issue. ***
> 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 ;(
*** Issue 152093 has been marked as a duplicate of this issue. ***
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)
Created attachment 81424 [details] stacktrace
No reports past 2008-07, probably fixed by some other changes. Closing as WORKSFORME.
v/c