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.GeneratedMethodAccessor79.invoke(GeneratedMethodAccessor79.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 $Proxy17.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.attachDetachAnnotations(DocumentLine.java:403) 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.Central.userClosedTopComponent(Central.java:1986) at org.netbeans.core.windows.view.DefaultView.userClosedTopComponent(DefaultView.java:741) at org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.java:321) at org.netbeans.swing.tabcontrol.TabbedContainer.postActionEvent(TabbedContainer.java:692) at org.netbeans.swing.tabcontrol.TabbedContainerUI.shouldPerformAction(TabbedContainerUI.java:162) at org.netbeans.swing.tabcontrol.plaf.DefaultTabbedContainerUI.access$2700(DefaultTabbedContainerUI.java:109) at org.netbeans.swing.tabcontrol.plaf.DefaultTabbedContainerUI$DisplayerActionListener.actionPerformed(DefaultTabbedContainerUI.java:1266) at org.netbeans.swing.tabcontrol.TabDisplayer.postActionEvent(TabDisplayer.java:577) at org.netbeans.swing.tabcontrol.TabDisplayerUI.shouldPerformAction(TabDisplayerUI.java:185) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI.access$1500(BasicTabDisplayerUI.java:117) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListener.performCommand(BasicTabDisplayerUI.java:728) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListener.potentialCommand(BasicTabDisplayerUI.java:713) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListener.mouseReleased(BasicTabDisplayerUI.java:761) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3255) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:133) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)