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 223671 - com.sun.jdi.InvocationException: Exception occurred in target VM
Summary: com.sun.jdi.InvocationException: Exception occurred in target VM
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 15:47 UTC by jbsabmello
Modified: 2013-01-10 03:33 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 190320


Attachments
stacktrace (1.51 KB, text/plain)
2012-12-11 15:47 UTC, jbsabmello
Details
stacktrace (1.51 KB, text/plain)
2012-12-20 16:25 UTC, jbsabmello
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbsabmello 2012-12-11 15:47:42 UTC
Build: NetBeans IDE Dev (Build 201212090001)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows XP

User Comments:
GUEST: I was in a java file and i had this setters below and i used rectangular select to  select and delete what was inside this getters to clean them up like this
row.setBl1UnitIndicators();
row.setBl2UnitIndicators();
row.setBl3UnitIndicators();
row.setBl4UnitIndicators();
row.setBl5UnitIndicators();
row.setBl6UnitIndicators();
row.setBl7UnitIndicators();

alainvitry: Step by step debugging a Java project.
Currently in a groovy source file
Inspecting a member Hasmap value

Make a modification: remove "" in the map accessor, so from this.conditions["HAUTEUR"] to this.conditions[HAUTEUR], where HAUTEUR is a final String, and apply code changes make it crash

GUEST: compiling a project using Maven, i see in console BIULD SUCCESS, now it should start to restart Jboss 5.1




Stacktrace: 
com.sun.jdi.InvocationException: Exception occurred in target VM
   at com.sun.tools.jdi.ObjectReferenceImpl.invokeMethod(ObjectReferenceImpl.java:410)
   at org.netbeans.modules.debugger.jpda.jdi.ObjectReferenceWrapper.invokeMethod(ObjectReferenceWrapper.java:510)
   at org.netbeans.modules.debugger.jpda.visual.RemoteServices.uploadBasicClasses(RemoteServices.java:213)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:248)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:114)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$2.breakpointReached(VisualDebuggerListener.java:177)
Comment 1 jbsabmello 2012-12-11 15:47:44 UTC
Created attachment 129215 [details]
stacktrace
Comment 2 Martin Entlicher 2012-12-12 09:44:53 UTC
The problem is, when the application defines it's own system class loader, which refuse to load AWT/Swing classes.
Comment 3 jbsabmello 2012-12-20 16:25:55 UTC
Created attachment 129591 [details]
stacktrace
Comment 4 Martin Entlicher 2013-01-09 13:24:09 UTC
Fixed by searching for the bootstrap class loader:
changeset:   244212:00aac942e330
http://hg.netbeans.org/core-main/rev/00aac942e330
Comment 5 Quality Engineering 2013-01-10 03:33:04 UTC
Integrated into 'main-golden', will be available in build *201301100107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/00aac942e330
User: mentlicher@netbeans.org
Log: #223671: Retrieve the bootstrap class loader to load our services on.