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.

Bug 48470 - Java.Lant.NoSuchMethod Error for jpda
Summary: Java.Lant.NoSuchMethod Error for jpda
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Roman Ondruska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 17:57 UTC by pat2004morris
Modified: 2010-04-29 09:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (192.19 KB, text/plain)
2004-09-03 17:58 UTC, pat2004morris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pat2004morris 2004-09-03 17:57:23 UTC
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
Comment 1 pat2004morris 2004-09-03 17:58:49 UTC
Created attachment 17364 [details]
messages.log
Comment 2 Jan Jancura 2004-09-06 10:37:49 UTC
Can you attach your settings\var\log\messages.log, please?
Comment 3 pat2004morris 2004-09-07 14:17:12 UTC
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?
Comment 4 Jan Lahoda 2004-09-07 14:21:57 UTC
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).
Comment 5 pat2004morris 2004-09-07 15:22:20 UTC
he JDK version from Help/About/Detail is 1.4.2_02
Comment 6 pat2004morris 2004-09-14 18:59:01 UTC
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
Comment 7 Jan Jancura 2005-02-16 11:57:59 UTC
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.
Comment 8 Quality Engineering 2010-04-29 09:19:11 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.