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.
Build: NetBeans IDE Dev (Build 20110701-060a08f07c25) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3326 OS: Mac OS X Stacktrace: com.sun.jdi.InvocationException: Exception occurred in target VM at com.sun.tools.jdi.ObjectReferenceImpl.invokeMethod(ObjectReferenceImpl.java:392) at org.netbeans.modules.debugger.jpda.visual.RemoteServices.uploadBasicClasses(RemoteServices.java:128) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:107) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$000(VisualDebuggerListener.java:77) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$1.breakpointReached(VisualDebuggerListener.java:95) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:280)
Created attachment 109226 [details] stacktrace
The InvocationException should be logged as well so that e can see the original problem.
I was not able to reproduce this. It could be fixed by other changes. I've added logging of the remote exception in changeset: 196942:0cc31abdfac http://hg.netbeans.org/main/rev/0cc31abdfac0 If the problem reappears, the mesages.log file should contain the original exception.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/0cc31abdfac0 User: mentlicher@netbeans.org Log: #199880 Log the InvocationExceptionTranslated so that we can see the original problem.
I am continuing to see problems, e.g. report 524290. I am not sure if the exception reporter is opening a fresh bug or not.
The exceptions reporter is not reopening nor resubmitting anything. See issue #200249, which I've upgraded to P2 now. Thanks for the note.
Created attachment 110152 [details] stacktrace Attaching debugger to a running NetBeans session
The target exception is: java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "org/netbeans/modules/debugger/jpda/visual/remote/RemoteAWTService$AWTAccessLoop"
Created attachment 111475 [details] stacktrace
Fixed by changeset: 205170:755f204d1643 http://hg.netbeans.org/main/rev/755f204d1643
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/755f204d1643 User: mentlicher@netbeans.org Log: #199880 Check if the remote service classes are already uploaded to the target application.