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.
After installing netbeans-5_0-daily-bin-200509251800-windows-25_Sep_2005_1800.exe I run the exe to startup the IDE and receive this error in the log. The IDE never shows and the nb & jvm hang open. Do you really have a getKlass() function instead of getClass() -> (see line 2). Using Sun JSDK v1.4.2_08 NB 4.1 is installed on the same system. ********************************************************************* java.lang.NoClassDefFoundError: org.netbeans.upgrade.AutoUpgrade at org.netbeans.core.startup.Main.getKlass(Main.java:462) at org.netbeans.core.startup.Main$1ImportHandler.run(Main.java:513) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171) 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)
I uninstalled that build and pulled down the 9/22 build. It runs fine so either I had a bad download or there is something fishy in the start of the 9/25 build.
Re: "getKlass()" - yes, we do have such fancy names in the code. Nothing to worry about. However, it does seem that your installation might have been corrupted somehow and the o.n.u.AutoUpgrade class could not be found. Yarda, over to you. Any other ideas?
I can't reproduce it with NB 5.0 beta (200509261930) , JDK 1.4.2_09 on Linux RH9/ Gnome BTW: the build you've been testing on is not a Beta ! So this isn't Beta-stopper, but we need to check it.
Less important things first - sure we have getKlass as getClass is final in java.lang.Object... The problem you describe is due to the fact that the class cannot be found in nb5.0/core/org-netbeans-upgrader.jar maybe the file is corrupted. Anyway I changed the code to just report the error can continue. /cvs/core/startup/src/org/netbeans/core/startup/Main.java,v <-- Main.java new revision: 1.7; previous revision: 1.6 done Checking in startup/test/unit/src/org/netbeans/core/startup/NonGuiHandleImportOfUserDirTest.java; /cvs/core/startup/test/unit/src/org/netbeans/core/startup/NonGuiHandleImportOfUserDirTest.java,v <-- NonGuiHandleImportOfUserDirTest.java new revision: 1.2; previous revision: 1.1
Thanks fellas. Just thought I would report it in case it wasn't a corrupt download since I haven't had one in quite some time.
*** Issue 65256 has been marked as a duplicate of this issue. ***
unreproducible, fix was "prevention", closing..