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 am using Sun Web Server 6.1 in the debug mode with Netbeans 4.0 Beta 1 When I attempt to attach to the correct dt_socket I get a Java.Lang.Nosuchmethod error
Created attachment 17364 [details] messages.log
Can you attach your settings\var\log\messages.log, please?
I have already attached C:\Documents and Settings\g700302 \.netbeans\4.0beta1\var\log\messages.log Which var\log\messages.log are you referring to?
Hi, the messages.log you attached is OK, I guess. The two most important lines probably are: java.lang.NoSuchMethodError: com.sun.jdi.VirtualMachine.canRedefineClasses()Z at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.canFixClasses(JPDADebuggerImpl.java:249) I would like to ask what version of JDK do you use (can be found in Help/About/Detail).
he JDK version from Help/About/Detail is 1.4.2_02
Was there any additional information you needed for this issue? I can use Sun Studio 5 with a local copy of Sun Web Server 6.1 in the debug mode using jpda, if that helps. I would perfer to use NetBeans 4.0 - I like the eclipse style refraction and I think it handles better than the Sun Studio 5, which does not, among other things, any longer support refresh filesystems. -Later -Pat
Looks like some installation problem. Can you try to reinstall JDK&NetBeans? Do you really have JDK (not JRE) installed? com.sun.jdi.VirtualMachine.canRedefineClasses() method is there from JDK1.4.0, so it should not be a problem.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.