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 6.7 Beta (Build 200904242137) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.24-23-generic, i386 User Comments: dkonecny: Start NB6.7 with fresh userdir and open web.jspparser module and then open one of its test files - /web.jspparser/test/unit/data/project2/web/basic.jspx That will activate J2EE feature but file will not have coloring and you get this exception. Restarting IDE resolves the problem so it looks like Ergonomics issue. GUEST: Opening a JSP File (note: as part of the opening of the file, Java EE was activated) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSectionsHighlighting$Highlights.moveNext(EmbeddedSectionsHighlighting.java:197) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlightsImpl(OffsetsBag.java:723) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlights(OffsetsBag.java:184) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:302) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:170) at org.netbeans.editor.HighlightingDrawLayer.processOffset(HighlightingDrawLayer.java:618)
Created attachment 81144 [details] stacktrace
Ergonomics issue. Worth to investigate why something was not properly activated after feature was enabled. Not sure if Jarda or Marek should be assignee.
fixed in web-main#456aed020962 but not sure how exactly this happened.
Integrated into 'main-golden', will be available in build *200904301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/456aed020962 User: Marek Fukala <mfukala@netbeans.org> Log: #163994 - NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSectionsHighlighting$Highlights.moveNext