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.
I tried to open a beanshell file into editor. That did not work a an exception appeared, my log is attached. The word codefolding appeared in the exception thats why I file this bug here. Then I closed down netbeans, and tried to restart it. But now I can no longer start netbeans. This bug is really nuisance, please reply with any workaround. I think it tries to open that beanshell file each time it starts, and thats why I get the exception at each startup. BTW. The RUNIDE.EXE task are still running, the GUI just doesnt appear.
Created attachment 15592 [details] Log file
Hi, regarding the workaround: 0. Your userdir (the directory with settings) is "C:\Documents and Settings\Nikolai\.netbeans\3.6". 1. Make a backup copy your userdir. 2. Delete directory ${YOURUSERDIR}/system/Windows2Local (this directory holds all the information about opened windows/files, their size and position, etc.) 3. Try to start the IDE. It should start (with all windows-related information lost, but this is usually not much important). You could also try to find the respective file under the Windows2Local directory, but this is not trivial.
Jan Lahoda, that workaround does not work, I still get these 2 exceptions: java.lang.NullPointerException at org.netbeans.modules.editor.java.NbJavaFoldMaintainer.updateFolds(NbJavaFoldMaintainer.java:772) at org.netbeans.modules.editor.java.NbJavaFoldMaintainer.initFolds(NbJavaFoldMaintainer.java:149) at org.netbeans.editor.fold.spi.FoldMaintainer.init(FoldMaintainer.java:91) at org.netbeans.editor.fold.spi.FoldHierarchySpi.rebuildRootFolds(FoldHierarchySpi.java:488) at org.netbeans.editor.fold.spi.FoldHierarchySpi.rebuild(FoldHierarchySpi.java:430) at org.netbeans.editor.fold.spi.FoldHierarchySpi$1.propertyChange(FoldHierarchySpi.java:531) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232) at javax.swing.JComponent.firePropertyChange(JComponent.java:3819) at org.openide.text.QuietEditorPane.firePropertyChange(QuietEditorPane.java:42) at javax.swing.JComponent.addNotify(JComponent.java:4289) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at org.netbeans.core.windows.view.ui.tabcontrol.TabbedContainer.addNotify(TabbedContainer.java:81) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at java.awt.Container.addNotify(Container.java:2049) at javax.swing.JComponent.addNotify(JComponent.java:4288) at javax.swing.JRootPane.addNotify(JRootPane.java:676) at java.awt.Container.addNotify(Container.java:2049) at java.awt.Window.addNotify(Window.java:418) at java.awt.Frame.addNotify(Frame.java:482) at java.awt.Window.show(Window.java:459) at java.awt.Component.show(Component.java:1133) at java.awt.Component.setVisible(Component.java:1088) at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:465) at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:420) at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:134) at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:239) at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:230) at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:173) at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:86) at org.netbeans.core.windows.Central.setVisible(Central.java:67) at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:655) at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:56) [catch] at org.netbeans.core.Main$8.run(Main.java:435) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) java.lang.NullPointerException at org.netbeans.modules.java.ui.NavigationView.removeNotify(NavigationView.java:181) at java.awt.Container.removeNotify(Container.java:2068) at javax.swing.JComponent.removeNotify(JComponent.java:4304) at java.awt.Container.removeNotify(Container.java:2068) at javax.swing.JComponent.removeNotify(JComponent.java:4304) at java.awt.Container.remove(Container.java:716) at java.awt.Container.remove(Container.java:769) at org.netbeans.modules.editor.NbToolbarSupport.detachToolbarComponent(NbToolbarSupport.java:917) at org.netbeans.modules.editor.NbToolbarSupport.refreshToolbar(NbToolbarSupport.java:519) at org.netbeans.modules.editor.NbToolbarSupport.refreshPaneToolbar(NbToolbarSupport.java:475) at org.netbeans.modules.editor.NbToolbarSupport.processAllToolbars(NbToolbarSupport.java:397) at org.netbeans.modules.editor.NbToolbarSupport.access$200(NbToolbarSupport.java:97) [catch] at org.netbeans.modules.editor.NbToolbarSupport$6.run(NbToolbarSupport.java:244) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Could you please attach the beanshell file ? I will try to reproduce the problem. Thanks
Hi, I am sorry, I forgot that there is another "Window2Local" for each project. So please try: 2.5 Delete ${YOURUSERDIR}/system/Projects/{your-project-name-default-is-Default}/system/Windows2Local
I knew that Jan Lahoda. Petr Felenda any beanshell file will do it. I am also not allowed to send them, sorry.
I will give you any file, to help you solve this problem just ask for it. Except source files. If you help me, I will advocate NetBeans to all my Eclipse using friends...
already fixed in [maintrunk] *** This issue has been marked as a duplicate of 41048 ***
Okay, I tried to redo all things that lead to this problem. After I open some beanshell files, an tab appears in the editor for each, but there is no content. No text field, just tabs. The exception first comes when trying to click the close cross in the tabs. Then the exceptions appears. Hmm, this time it does help to remove the Windows2Local folder in the project.