java.lang.NullPointerException at org.netbeans.modules.editor.lib2.view.ViewChildren.startVisualOffset(ViewChildren.java:199) at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.getChildAllocation(DocumentViewChildren.java:222) at org.netbeans.modules.editor.lib2.view.DocumentView.getChildAllocation(DocumentView.java:315) at org.netbeans.modules.editor.lib2.view.ViewHierarchyImpl.modelToParagraphView(ViewHierarchyImpl.java:286) at org.netbeans.modules.editor.lib2.view.LockedViewHierarchy.modelToParagraphView(LockedViewHierarchy.java:124) at org.netbeans.editor.GlyphGutter$6.run(GlyphGutter.java:655) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1404) at org.netbeans.editor.GlyphGutter.changedLine(GlyphGutter.java:644) at org.netbeans.editor.Annotations.fireChangedLine(Annotations.java:644) at org.netbeans.editor.Annotations.refreshLine(Annotations.java:564) at org.netbeans.editor.Annotations.removeAnnotation(Annotations.java:357) at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:256) at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:519) at org.netbeans.modules.editor.hints.ParseErrorAnnotation.detachAnnotation(ParseErrorAnnotation.java:156) at org.netbeans.modules.editor.hints.AnnotationHolder$NbDocumentAttacher.detachAnnotation(AnnotationHolder.java:247) at org.netbeans.modules.editor.hints.AnnotationHolder.detachAnnotation(AnnotationHolder.java:226) at org.netbeans.modules.editor.hints.AnnotationHolder.updateAnnotationOnLine(AnnotationHolder.java:689) at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptionsImpl(AnnotationHolder.java:981) at org.netbeans.modules.editor.hints.AnnotationHolder.access$1400(AnnotationHolder.java:120) at org.netbeans.modules.editor.hints.AnnotationHolder$5.run(AnnotationHolder.java:894) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1404) at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptions(AnnotationHolder.java:891) at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrorsImpl(HintsControllerImpl.java:111) at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrors(HintsControllerImpl.java:93) at org.netbeans.spi.editor.hints.HintsController$1.run(HintsController.java:84) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1973) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.NullPointerException at org.openide.util.RequestProcessor.post(RequestProcessor.java:425) at org.netbeans.spi.editor.hints.HintsController.setErrors(HintsController.java:82) at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$3.setErrors(SemanticHighlighter.java:1565) at org.netbeans.modules.java.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:390) at org.netbeans.modules.java.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:271) at org.netbeans.modules.java.editor.semantic.SemanticHighlighter.run(SemanticHighlighter.java:209) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:624) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:801) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)