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.
Every time, I type a character in the JSP editor, it throws the following exception. Windows Vista Build 20071003 java.lang.NullPointerException at org.netbeans.modules.languages.features.SemanticHighlightsLayer.getHighlights(SemanticHighlightsLayer.java:75) 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) at org.netbeans.editor.HighlightingDrawLayer.isActive(HighlightingDrawLayer.java:292) at org.netbeans.editor.DrawEngine.drawArea(DrawEngine.java:863) at org.netbeans.editor.DrawEngine.drawInternal(DrawEngine.java:1139) at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1045) at org.netbeans.editor.DrawEngineLineView.getModel2ViewRect(DrawEngineLineView.java:413) at org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:478) at org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:441) at org.netbeans.lib.editor.view.GapBoxView.modelToView(GapBoxView.java:1503) at org.netbeans.editor.view.spi.LockView.modelToView(LockView.java:420) at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1496) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1034) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1009) at org.netbeans.editor.CodeFoldingSideBar.collectPaintInfos(CodeFoldingSideBar.java:324) at org.netbeans.editor.CodeFoldingSideBar.getPaintInfo(CodeFoldingSideBar.java:428) at org.netbeans.editor.CodeFoldingSideBar.paintComponent(CodeFoldingSideBar.java:531) at javax.swing.JComponent.paint(JComponent.java:1027) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JViewport.paint(JViewport.java:747) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:316) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JLayeredPane.paint(JLayeredPane.java:564) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1036) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285) at javax.swing.RepaintManager.paint(RepaintManager.java:1128) at javax.swing.JComponent._paintImmediately(JComponent.java:5070) at javax.swing.JComponent.paintImmediately(JComponent.java:4880) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659) [catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
I'm making this P1 because it does not let me edit JSP page and when I switch tab it doesn't allow the page to repaint. See the attached picture. This ought to be fixed soon.
Created attachment 50114 [details] JSP Editor screwed up by this bug
This is blocking my work. To exactly reproduce - Create a Web Application - Select Visual Web JSF Framework - Go to the JSP editor of the opened Page - Type anything between the <webui:form> tag This annoying bug doesn't let me do any kind of typing in the JSP Editor. I'm totally blocked.
Created attachment 50131 [details] Attaching PNG image
Schlieman's issue, should be fixed already. *** This issue has been marked as a duplicate of 117509 ***
Good to know it is already fixed. It drove me so crazy, I was about to throw my laptop out of my office window. Who ever fixed it thanks a billion for saving my sanity.
*** Issue 117657 has been marked as a duplicate of this issue. ***