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 163994 - NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSectionsHighlighting$Highlights.moveNext
Summary: NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSections...
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
Depends on:
Reported: 2009-04-29 02:10 UTC by David Konecny
Modified: 2009-04-30 18:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150259

stacktrace (6.71 KB, text/plain)
2009-04-29 02:10 UTC, David Konecny

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2009-04-29 02:10:02 UTC
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)

        at org.netbeans.modules.web.core.syntax.EmbeddedSectionsHighlighting$Highlights.moveNext(
        at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(
        at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(
        at org.netbeans.editor.HighlightingDrawLayer.processOffset(
Comment 1 David Konecny 2009-04-29 02:10:11 UTC
Created attachment 81144 [details]
Comment 2 David Konecny 2009-04-29 02:14:25 UTC
Ergonomics issue. Worth to investigate why something was not properly activated after feature was enabled. Not sure if
Jarda or Marek should be assignee.
Comment 3 Marek Fukala 2009-04-30 10:30:38 UTC
fixed in web-main#456aed020962 but not sure how exactly this happened.
Comment 4 Quality Engineering 2009-04-30 18:54:01 UTC
Integrated into 'main-golden', will be available in build *200904301401* on (upload may still be in progress)
User: Marek Fukala <>
Log: #163994 - NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSectionsHighlighting$Highlights.moveNext