Bug 163994 - NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSectionsHighlighting$Highlights.moveNext
NullPointerException at org.netbeans.modules.web.core.syntax.EmbeddedSections...
Status: RESOLVED FIXED
Product: javaee
Classification: Unclassified
Component: JSP
6.x
All All
: P3 (vote)
: 6.x
Assigned To: Marek Fukala
issues@javaee
http://statistics.netbeans.org/except...
EXCEPTIONS_REPORT
: ERGONOMICS
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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

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)



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)
Comment 1 David Konecny 2009-04-29 02:10:11 UTC
Created attachment 81144 [details]
stacktrace
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 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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo