The following steps produce an error
1. Start a fresh copy of DrJava
2. Debugger/Debug Mode
java.lang.Error: no Connectors loaded
at com.sun.tools.jdi.VirtualMachineManagerImpl.<init>(VirtualMachineManagerImpl.java:141)
at com.sun.tools.jdi.VirtualMachineManagerImpl.virtualMachineManager(VirtualMachineManagerImpl.java:65)
at com.sun.jdi.Bootstrap.virtualMachineManager(Bootstrap.java:54)
at edu.rice.cs.drjava.model.debug.jpda.JPDADebugger._getAttachingConnector(JPDADebugger.java:986)
at edu.rice.cs.drjava.model.debug.jpda.JPDADebugger._attachToVM(JPDADebugger.java:962)
at edu.rice.cs.drjava.model.debug.jpda.JPDADebugger.startUp(JPDADebugger.java:213)
at edu.rice.cs.drjava.ui.MainFrame.debuggerToggle(MainFrame.java:4242)
at edu.rice.cs.drjava.ui.MainFrame$126.actionPerformed(MainFrame.java:2411)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
System Properties:
DrJava Version drjava-20100507-r5246
DrJava Build Time 20100507-2048
JDK Sun 1.6_20
OS: Ubuntu 10.04
I can't reproduce this, but I only have Mac OS X available right now.
I wonder if this has anything to do with class loader issues. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5055681
I have a debian box, and I can fully reproduce this. Actually, I cannot find any workaround :-/
I don't think that this is any related to the java bug you are pointing to since it is said fixed in 2005 or so, and both the original submitter and me are using (sun) java 1.6 version.
I was suspecting a permission error, but even when running
java -Djava.security.manager -Djava.security.policy=file:///tmp/permission.file -jar /tmp/drjava-stable-20100913-r5387.jar
with the following content to /tmp/permission.file:
grant {
permission java.security.AllPermission;
};
does not help things. I'm quite puzzled here. I'll have to dig further google I think. If you have any idea, that would be more than welcomed.
Thanks for your work,
Mt.