This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 201003240200 ] [ JDK VERSION : 1.6.* ] Closing a tab causes: java.lang.AssertionError at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:125) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java: 420) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryC hanged(ViewUpdates.java:452) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFact ory.java:194) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(Hig hlightsViewFactory.java:226) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHig hlightsChange(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.layerC hanged(CompoundHighlightsContainer.java:301) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.access $400(CompoundHighlightsContainer.java:64) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer$LayerL istener.highlightChanged(CompoundHighlightsContainer.java:481) at org.netbeans.spi.editor.highlighting.support.AbstractHighlightsContainer.fireHig hlightsChange(AbstractHighlightsContainer.java:110) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.update LineInfo(CaretBasedBlockHighlighting.java:197) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.proper tyChange(CaretBasedBlockHighlighting.java:157) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl .java:188) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:3 39) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:2 76) at java.awt.Component.firePropertyChange(Component.java:8128) at org.openide.text.QuietEditorPane.firePropertyChange(QuietEditorPane.java:204) at javax.swing.text.JTextComponent.setCaret(JTextComponent.java:585) at org.openide.text.QuietEditorPane.setCaret(QuietEditorPane.java:227) at org.netbeans.editor.BaseTextUI.uninstallUI(BaseTextUI.java:279) at javax.swing.JComponent.setUI(JComponent.java:640) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322) at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:332) at org.netbeans.editor.BaseKit.deinstall(BaseKit.java:830) at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:1091) at org.openide.text.CloneableEditor.componentClosed(CloneableEditor.java:820) at org.openide.windows.WindowManager.componentCloseNotify(WindowManager.java:315) Caused: java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.modules.java.JavaDataObject$JavaEditor throws exception/error from its componentClosed() method. Please repair it! Probable cause is at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:125) at org.openide.windows.WindowManager.logThrowable(WindowManager.java:363) at org.openide.windows.WindowManager.componentCloseNotify(WindowManager.java:317) at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentClosed(WindowManag erImpl.java:979) at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:997) at org.netbeans.core.windows.Central.userClosedTopComponent(Central.java:1986) at org.netbeans.core.windows.view.DefaultView.userClosedTopComponent(DefaultView.ja va:741) at org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.ja va:321) at org.netbeans.swing.tabcontrol.TabbedContainer.postActionEvent(TabbedContainer.ja va:692) at org.netbeans.swing.tabcontrol.TabbedContainerUI.shouldPerformAction(TabbedContai nerUI.java:162) at org.netbeans.swing.tabcontrol.plaf.DefaultTabbedContainerUI.access$2700(DefaultT abbedContainerUI.java:109) at org.netbeans.swing.tabcontrol.plaf.DefaultTabbedContainerUI$DisplayerActionListe ner.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(BasicTabDispl ayerUI.java:117) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListen er.performCommand(BasicTabDisplayerUI.java:728) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListen er.potentialCommand(BasicTabDisplayerUI.java:713) at org.netbeans.swing.tabcontrol.plaf.BasicTabDisplayerUI$BasicDisplayerMouseListen er.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:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4460) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) 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)
*** This bug has been marked as a duplicate of bug 182643 ***