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 191257 - NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.partPaintForeground
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.HighlightsViewU...
Status: RESOLVED DUPLICATE of bug 191255
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks: 183219
  Show dependency tree
 
Reported: 2010-10-22 14:38 UTC by Jesse Glick
Modified: 2010-10-25 12:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173401


Attachments
stacktrace (3.03 KB, text/plain)
2010-10-22 14:38 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-10-22 14:38:15 UTC
This issue was reported manually by jglick.
It already has 4 duplicates 


Build: NetBeans IDE Dev (Build 101022-615e942aece0)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
jglick: Happening to me constantly in today's build.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.partPaintForeground(HighlightsViewUtils.java:756)
   at org.netbeans.modules.editor.lib2.view.HighlightsView.partPaintForeground(HighlightsView.java:246)
   at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.paintChildren(ParagraphViewChildren.java:318)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paint(EditorBoxViewChildren.java:863)
   at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.paint(ParagraphViewChildren.java:232)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.paint(EditorBoxView.java:454)
Comment 1 Jesse Glick 2010-10-22 14:38:20 UTC
Created attachment 102571 [details]
stacktrace
Comment 2 Jesse Glick 2010-10-22 14:47:56 UTC
I think a regression from bug #183219.
Comment 3 Jesse Glick 2010-10-22 14:56:19 UTC
I put in a hotfix in core-main #8434874b0579 (parented to original cset for ease of pulling into other repos), but it is hard to know what else might be broken.

BTW FindBugs and @NonNull would have caught mistakes like this.
Comment 4 Miloslav Metelka 2010-10-25 12:13:10 UTC
Apologies. I've fixed this problem in #191255 by
http://hg.netbeans.org/jet-main/rev/f9783718704f
on last Friday.

*** This bug has been marked as a duplicate of bug 191255 ***