java.lang.AssertionError: Null textComponent at org.netbeans.modules.editor.lib2.view.ViewBuilder.repaintAndReplaceViews(ViewBuilder.java:361) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:445) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:476) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:194) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:225) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access$100(CompoundHighlightsContainer.java:64) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer$2.run(CompoundHighlightsContainer.java:303) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1379) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.layerChanged(CompoundHighlightsContainer.java:301) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access$400(CompoundHighlightsContainer.java:64) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer$LayerListener.highlightChanged(CompoundHighlightsContainer.java:481) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting.highlightChanged(AnnotationsHighlighting.java:103) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.setHighlights(OffsetsBag.java:237) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting$2.run(AnnotationsHighlighting.java:161) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1379) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting.refreshAllLines(AnnotationsHighlighting.java:159) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting.access$000(AnnotationsHighlighting.java:72) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting$1.run(AnnotationsHighlighting.java:119) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1369) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1907) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.AssertionError: Null textComponent at org.openide.util.RequestProcessor.post(RequestProcessor.java:368) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting.changedAll(AnnotationsHighlighting.java:117) at org.netbeans.modules.editor.impl.highlighting.AnnotationsHighlighting.changedLine(AnnotationsHighlighting.java:111) at sun.reflect.GeneratedMethodAccessor68.invoke(GeneratedMethodAccessor68.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451) at $Proxy14.changedLine(.java:0) at org.netbeans.editor.Annotations.fireChangedLine(Annotations.java:605) at org.netbeans.editor.Annotations.refreshLine(Annotations.java:525) at org.netbeans.editor.Annotations.removeAnnotation(Annotations.java:360) at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:274) at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:523) at org.openide.text.DocumentLine$Part.attachDetachAnnotations(DocumentLine.java:807) at org.openide.text.DocumentLine.attachDetachAnnotations(DocumentLine.java:412) at org.openide.text.DocumentLine$LR.run(DocumentLine.java:877) at org.openide.text.DocumentLine$LR.invoke(DocumentLine.java:893) at org.openide.text.DocumentLine$LR.stateChanged(DocumentLine.java:898) at org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:321) at org.openide.text.CloneableEditorSupport.fireStateChangeEvent(CloneableEditorSupport.java:2343) at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:2326) at org.openide.text.CloneableEditorSupport.closeDocument(CloneableEditorSupport.java:2204) at org.openide.text.CloneableEditorSupport.notifyClosed(CloneableEditorSupport.java:2069) at org.openide.text.DataEditorSupport.notifyClosed(DataEditorSupport.java:358) at org.openide.text.CloneableEditor.closeLast(CloneableEditor.java:859) at org.openide.windows.CloneableTopComponent$Ref.unregister(CloneableTopComponent.java:403) at org.openide.windows.CloneableTopComponent$Ref.access$300(CloneableTopComponent.java:267) at org.openide.windows.CloneableTopComponent.canClose(CloneableTopComponent.java:206) at org.openide.text.CloneableEditor.canClose(CloneableEditor.java:193) at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:950) at org.netbeans.core.windows.ModeImpl.removeTopComponent(ModeImpl.java:414) at org.netbeans.core.windows.ModeImpl.close(ModeImpl.java:243) at org.netbeans.core.windows.WindowManagerImpl.topComponentClose(WindowManagerImpl.java:1133) at org.openide.windows.TopComponent.close(TopComponent.java:552) at org.openide.windows.TopComponent.close(TopComponent.java:539) at org.netbeans.core.windows.actions.ActionUtils.closeWindow(ActionUtils.java:333) at org.netbeans.core.windows.actions.CloseWindowAction$2.run(CloseWindowAction.java:110) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:133) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)