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 251544 - LinkageError: loader constraint violation: loader (instance of org/netbeans/StandardModule$OneModuleClassLoader) previously initiated loading for a different type with name "com/sun/jdi/VirtualMachine
Summary: LinkageError: loader constraint violation: loader (instance of org/netbeans/S...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 03:58 UTC by dkorotych
Modified: 2015-04-03 18:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204444


Attachments
stacktrace (650 bytes, text/plain)
2015-04-01 03:58 UTC, dkorotych
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dkorotych 2015-04-01 03:58:25 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Linux

User Comments:
GUEST: Attach debugger error.

GUEST: Restart netbeans after importing gradle projects

GUEST: Tried to "Attach a debugger" in the Debug menu.  The popup window showed the JDPA dropdown and nothing else.

GUEST: I'm trying to attach the debugger to my running app.

wadechandler: Restarted, and seemed to have no effect. I still get this error. Not exactly sure yet the cause.

GUEST: I restarted netbeans after activating the C++ module.

GUEST: Trying to debug with gradle support

GUEST: Trying debug project with gradle support

dkorotych: Init a remote debug session

GUEST: attach debug error.

wadechandler: Have some projects open. Clicked attach debugger. Something I have done quite a few times. I did update some things fairly recently, but not sure I saw any debugger related things. I will try to restart etc.

GUEST: Can't use debugger now.

GUEST: when I am trying to connect to a java process using the JPDA debugger the panel to select how and where ti connect doesn't show up.




Stacktrace: 
java.lang.LinkageError: loader constraint violation: loader (instance of org/netbeans/StandardModule$OneModuleClassLoader) previously initiated loading for a different type with name "com/sun/jdi/VirtualMachineManager"
   at org.netbeans.modules.debugger.jpda.ui.ConnectPanel.initConnectors(ConnectPanel.java:154)
   at org.netbeans.modules.debugger.jpda.ui.ConnectPanel.access$100(ConnectPanel.java:115)
   at org.netbeans.modules.debugger.jpda.ui.ConnectPanel$1.run(ConnectPanel.java:140)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 dkorotych 2015-04-01 03:58:28 UTC
Created attachment 152956 [details]
stacktrace
Comment 2 Martin Entlicher 2015-04-03 18:12:31 UTC
Most likely this is fixed by http://hg.netbeans.org/core-main/rev/9c036e3f3a70