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 141994 - NullPointerException at org.netbeans.modules.languages.features.SemanticHighlightsLayer.getHighlights
Summary: NullPointerException at org.netbeans.modules.languages.features.SemanticHighl...
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@obsolete
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-07-29 07:50 UTC by Marian Mirilovic
Modified: 2010-04-22 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 83397


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-07-29 07:50:02 UTC
Build: NetBeans IDE Dev (Build 200807290201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Linux, 2.6.24-19-generic, amd64
User comments: Started IDE with preselected xyz.sh file opened in editor
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.languages.features.SemanticHighlightsLayer.getHighlights(SemanticHighlightsLayer.java:144)
        at
org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:299)
        at
org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:169)
        at org.netbeans.editor.HighlightingDrawLayer.processOffset(HighlightingDrawLayer.java:614)
        at org.netbeans.editor.HighlightingDrawLayer.isActive(HighlightingDrawLayer.java:340)
        at org.netbeans.editor.DrawEngine.drawArea(DrawEngine.java:884)
        at org.netbeans.editor.DrawEngine.drawInternal(DrawEngine.java:1168)
        at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1074)
        at org.netbeans.editor.DrawEngineLineView.getModel2ViewRect(DrawEngineLineView.java:413)
        at org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:482)


Similar to issue 117509 - but it was fixed for NB 6.0
Comment 1 Jan Jancura 2008-07-30 13:31:56 UTC
fixed in 17273c169f43
Comment 2 Marian Mirilovic 2010-04-22 10:29:43 UTC
v/c