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 115496

Summary: NPE on all jsps
Product: javaee Reporter: deniss <deniss>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description deniss 2007-09-13 23:00:30 UTC
Product Version: NetBeans IDE Dev (Build 200709131200)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 
System: Windows Vista version 6.0 running on x86;

NPE on all jsps, it's impossible to do anything...

SEVERE [global]
java.lang.NullPointerException
        at
org.netbeans.modules.languages.features.SemanticHighlightsLayer$Highlights.moveNext(SemanticHighlightsLayer.java:158)
        at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlightsImpl(OffsetsBag.java:552)
        at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlights(OffsetsBag.java:160)
        at
org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:267)
        at
org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:142)
        at org.netbeans.editor.HighlightingDrawLayer.processOffset(HighlightingDrawLayer.java:427)
        at org.netbeans.editor.HighlightingDrawLayer.isActive(HighlightingDrawLayer.java:248)
        at org.netbeans.editor.DrawEngine.drawArea(DrawEngine.java:809)
        at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1073)
        at org.netbeans.editor.DrawEngineLineView.getModel2ViewRect(DrawEngineLineView.java:380)
        at org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:429)
        at org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:408)
        at org.netbeans.lib.editor.view.GapBoxView.modelToView(GapBoxView.java:1481)
        at org.netbeans.editor.view.spi.LockView.modelToView(LockView.java:398)
        at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1496)
        at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1034)
        at org.netbeans.editor.BaseCaret.updateCaretBounds(BaseCaret.java:300)
        at org.netbeans.editor.BaseCaret.access$000(BaseCaret.java:84)
        at org.netbeans.editor.BaseCaret$1.run(BaseCaret.java:238)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 Petr Pisl 2007-09-14 10:52:27 UTC
This is already fixed. Duplication of #115395

*** This issue has been marked as a duplicate of 115395 ***