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.GeneratedMethodAccessor66.invoke(GeneratedMethodAccessor66.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$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.closeAllDocuments(ActionUtils.java:274) at org.netbeans.core.windows.actions.CloseAllDocumentsAction.actionPerformed(CloseAllDocumentsAction.java:89) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:389) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223) at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264) 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)