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.
HI I installed the 3.5 IDE and did updates from the update center. After a few days when I open the IDE, i am getting the Unpected Excpetion: dialog box and is reporting NoSuchMethodError. I am unable to close the dialog box by clicking on "OK" nor "Next >" buttons!. I am completely stuck I did uninstall and reinstall and still doesnot work.!! Please help ASAP. Thx. The IDE.log has the followin ------------------------------------------------------------------------------- >Log Session: Wednesday, July 30, 2003 10:13:40 AM PDT >System Info: Product Version = NetBeans IDE 3.5 (Build 200306022350) IDE Versioning = IDE/1 spec=3.42.1 impl=200306022350 Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.4.2; Java HotSpot(TM) Client VM 1.4.2-b28; Sun Microsystems Inc. Java Home = C:\java\j2sdk1.4.2\jre System Locale; Encod. = en_US; Cp1252 Home Dir; Current Dir = C:\Documents and Settings\lokiah; C:\ IDE Install; User Dir = C:\java\j2sdk_nb\netbeans3.5; C:\Documents and Settings\lokiah\.netbeans\3.5 CLASSPATH = C:\java\j2sdk_nb\netbeans3.5\lib\ext\boot.jar;C:\java\j2sdk_nb\netbeans3.5\lib\ext\crimson-1.1.3.jar;C:\java\j2sdk_nb\netbeans3.5\lib\ext\regexp-1.2.jar;C:\java\j2sdk_nb\netbeans3.5\lib\ext\xerces-2.0.2.jar;C:\java\j2sdk_nb\netbeans3.5\lib\ext\xml-apis-1.0b2.jar;C:\java\j2sdk1.4.2\lib\dt.jar;C:\java\j2sdk1.4.2\lib\tools.jar Boot & ext classpath = C:\java\j2sdk1.4.2\jre\lib\rt.jar;C:\java\j2sdk1.4.2\jre\lib\i18n.jar;C:\java\j2sdk1.4.2\jre\lib\sunrsasign.jar;C:\java\j2sdk1.4.2\jre\lib\jsse.jar;C:\java\j2sdk1.4.2\jre\lib\jce.jar;C:\java\j2sdk1.4.2\jre\lib\charsets.jar;C:\java\j2sdk1.4.2\jre\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes\mic.jar;C:\java\j2sdk1.4.2\jre\lib\ext\dnsns.jar;C:\java\j2sdk1.4.2\jre\lib\ext\ldapsec.jar;C:\java\j2sdk1.4.2\jre\lib\ext\localedata.jar;C:\java\j2sdk1.4.2\jre\lib\ext\sunjce_provider.jar Dynamic classpath = C:\java\j2sdk_nb\netbeans3.5\lib\core-windows.jar;C:\java\j2sdk_nb\netbeans3.5\lib\core.jar;C:\java\j2sdk_nb\netbeans3.5\lib\openide.jar ------------------------------------------------------------------------------- *********** Exception occurred ************ at Wed Jul 30 10:13:48 PDT 2003 java.lang.NoSuchMethodError: sun.awt.windows.WToolkit.getNativeWindowHandleFromComponent(Ljava/awt/Component;)I at com.mercury.jadin.utils.WinsunUtils14.internalFindHwnd(WinsunUtils14.java:24) at com.mercury.jadin.utils.PDUtils.findHwnd(PDUtils.java:44) at com.mercury.jadin.utils.Utils.isMaximized(Utils.java:1455) at abstr.Java2C.resetWindowState(Java2C.java:1378) at mercury.awt.cs.WindowCS.componentResized(WindowCS.java:58) at java.awt.Component.processComponentEvent(Component.java:4958) at java.awt.Component.processEvent(Component.java:4912) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Window.processEvent(Window.java:1092) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) 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) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
reassigned to core/windows.
In my opinion it isn't an our issue., "mercury.jadin" package is the last on the stack trace. Please file bug to that module. If agree please verify, thanks in advance.
Hmm, this is the second occurance of this exception that I've seen. Does anybody know what this mercury.jadin stuff is?
HI, Could this be that I installed Mercury Testing software on my machine.! But why is NetBeans integrating with this software!. ? What is the config file that is used to load the modules, so that I can remove some modules from Mercury and try opening the software.
Probably the software puts something on your classpath, and contains a replacement for some JDK class. Check your CLASSPATH environment variable, and make sure it didn't install stuff into $JAVA_HOME/jre/lib or somewhere like that. It looks like the testing software depends on an undocumented, unsupported method of the native window toolkit - probably this method was removed in JDK 1.4.
Tim is right - verifying.