java.lang.IllegalStateException: startOffset=1, length=-1, highlight: <2147483647,2147483647>, newLineOffset=0, docText.length()=1 at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createHighlightsView(HighlightsViewFactory.java:194) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:179) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:400) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:338) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:146) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:516) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:542) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:224) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory$1.run(HighlightsViewFactory.java:119) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1419) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory$1.run(HighlightsViewFactory.java:125) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968) Caused: org.openide.util.RequestProcessor$FastItem: task failed due to: java.lang.IllegalStateException: startOffset=1, length=-1, highlight: <2147483647,2147483647>, newLineOffset=0, docText.length()=1