java.lang.NullPointerException at org.netbeans.modules.editor.lib2.view.EditorViewFactory.offsetRepaint(EditorViewFactory.java:273) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory$1.run(HighlightsViewFactory.java:399) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1421) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:357) at sun.reflect.GeneratedMethodAccessor73.invoke(GeneratedMethodAccessor73.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:487) at com.sun.proxy.$Proxy28.highlightChanged(.java:0) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer.highlightChanged(DirectMergeContainer.java:143) at sun.reflect.GeneratedMethodAccessor73.invoke(GeneratedMethodAccessor73.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:487) at com.sun.proxy.$Proxy28.highlightChanged(.java:0) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:113) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting.highlightChanged(AnnotationsHighlighting.java:111) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:113) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.setHighlights(OffsetsBag.java:307) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting$R$1.run(AnnotationsHighlighting.java:194) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1421) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting$R.refreshAllLines(AnnotationsHighlighting.java:192) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting$R.run(AnnotationsHighlighting.java:168) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)