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 117783 - NullPointerException from SemanticHighlightsLayer
Summary: NullPointerException from SemanticHighlightsLayer
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 14:08 UTC by Jiri Skrivanek
Modified: 2007-10-05 07:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Entire stack trace. (9.23 KB, text/plain)
2007-10-04 14:08 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-10-04 14:08:22 UTC
NullPointerException from SemanticHighlightsLayer is repeatedly thrown and it freezes IDE. To reproduce:

- create java application
- create new HTML file from template
- change something in HTML file (e.g. type enter) and the exception is thrown in neverending loop

INFO [org.netbeans.editor.HighlightingDrawLayer]: Can't reset line views: range = [0, 315]
java.lang.NullPointerException
	at org.netbeans.modules.languages.features.SemanticHighlightsLayer.getHighlights(SemanticHighlightsLayer.java:141)
	at
org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:288)
	at
org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:164)
	at org.netbeans.editor.HighlightingDrawLayer.processOffset(HighlightingDrawLayer.java:565)
Comment 1 Jiri Skrivanek 2007-10-04 14:08:50 UTC
Created attachment 50180 [details]
Entire stack trace.
Comment 2 Jan Jancura 2007-10-04 15:30:41 UTC
its already fixed in trunk.
Comment 3 Jiri Skrivanek 2007-10-05 07:22:34 UTC
Verified.