Adam Bien's Weblog
QuickTip: When Netbeans 6.5 Starts And Freezes Or Becomes Suddenly Slow
It mostly happens when you are playing around with configuration and modules instead of working :-) (like me now). Netbeans opens correctly all windows and freezes. Even restarting does not help. It is caused by deserialization of your last window settings, open views etc. Sometimes (e.g. after installation of a new plugin), Netbeans is no more able to restore the settings, which manifestates in stack trace similar to [./netbeans/var/log/messages.log]:
INFO [org.netbeans.core.windows.persistence]: [PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'MultiView-PageFlow#007CXML#007C'. Reason: java.lang.NoSuchMethodException: org.netbeans.modules.web.jsf.JSFConfigMultiviewDescriptor$JSFConfigMultiviewElement.<init>()
Caused: java.lang.NoSuchMethodException: org.netbeans.modules.web.jsf.JSFConfigMultiviewDescriptor$JSFConfigMultiviewElement.<init>()
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getDeclaredConstructor(Class.java:1985)
at org.openide.windows.TopComponent$Replacer.readObject(TopComponent.java:1469)
Caused: java.io.IOException
at org.openide.windows.TopComponent$Replacer.readObject(TopComponent.java:1525)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.netbeans.core.multiview.MultiViewPeer.peerReadExternal(MultiViewPeer.java:442)
at org.netbeans.core.multiview.MultiViewCloneableTopComponent.readExternal(MultiViewCloneableTopComponent.java:201)
at org.openide.windows.TopComponent$Replacer.readObject(TopComponent.java:1478)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.readSerial(XMLSettingsSupport.java:544)
at org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:576)
at org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:420)
The problem can be easily fixed by removing the particular file (MultiView-PageFlow#007CXML#007C.setting in my case), or if you are lazy, all [XYZ].setting files from: .netbeans\6.5\config\Windows2Local\Components. It will have similar effect to the "Reset Window" action.
It happens not very often: exactly 2 times in my case (after the installation of JavaFX and IceFaces extension).
Posted at 09:42AM Jan 25, 2009 by Adam Bien in Netbeans | Kommentare[4]
[my tweets]
Rss My book: Real World Java EE - Rethinking Best Practices


Hi Adam,
Would you be willing to contribute this to NetBeans Community Docs Wiki?
If so, please get in touch with James DOT Branam AT Sun DOT com
OR
you can directly contribute to our wiki..
Thanks and Regards,
NetBeans Community Docs Coordinator
Gesendet von Varun am January 25, 2009 at 02:17 PM CET #
Very annoying issue indeed:
http://www.netbeans.org/issues/show_bug.cgi?id=152206
Gesendet von Laszlo Kishalmi am January 26, 2009 at 09:01 PM CET #
I've noted that this is certainly a bug, because always that I leave opened the faces-config.xml, the next time I run netbeans, it freezes, and taking a look to the log, the exception comes up with the file you mention (MultiView-PageFlow#007CXML#007C.setting).
Gesendet von John Vásquez am January 29, 2009 at 04:18 PM CET #
Hi Adam,
you are great.
I had the same problem in NetBeans IDE 6.7 (Build 200906241340) as well.
And such errors are very, very, very annoying.
So Thanks a lot!
@Varun:
No change to fix the problem online via a patch!!!!
Greetz
Bernd
Gesendet von Bernd am September 08, 2009 at 09:35 PM CEST #