java.lang.AssertionError: Line view index is -1 at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:418) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:452) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:194) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:226) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHighlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access$000(CompoundHighlightsContainer.java:64) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer$1.run(CompoundHighlightsContainer.java:273) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1379) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.setLayers(CompoundHighlightsContainer.java:271) at org.netbeans.modules.editor.lib2.highlighting.HighlightingManager$Highlighting.rebuildContainer(HighlightingManager.java:372) at org.netbeans.modules.editor.lib2.highlighting.HighlightingManager$Highlighting.rebuildAllContainers(HighlightingManager.java:350) at org.netbeans.modules.editor.lib2.highlighting.HighlightingManager$Highlighting.rebuildAllLayers(HighlightingManager.java:332) at org.netbeans.modules.editor.lib2.highlighting.HighlightingManager$Highlighting.rebuildAll(HighlightingManager.java:258) at org.netbeans.modules.editor.lib2.highlighting.HighlightingManager$Highlighting.propertyChange(HighlightingManager.java:177) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at java.awt.Component.firePropertyChange(Component.java:8213) at javax.swing.text.JTextComponent.setDocument(JTextComponent.java:437) at org.netbeans.modules.java.editor.JavaEditorWarmUpTask.run(JavaEditorWarmUpTask.java:212) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) 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.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.awt.Dialog.show(Dialog.java:1095) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:988) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1022) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1010) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:118) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:995) at java.awt.Component.show(Component.java:1563) at java.awt.Component.setVisible(Component.java:1515) at java.awt.Window.setVisible(Window.java:841) at java.awt.Dialog.setVisible(Dialog.java:985) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:495) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:362) at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:135) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) 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)