Getting a DebuggerStartException when trying to run a HelloWorld app. What am I missing?

  1 post   Feedicon  
Replies: 0 - Last Post: August 28, 2010 14:42
by: dr_soda
showing 1 - 1 of 1
 
Posted: August 28, 2010 14:42 by dr_soda
Hello,

I'm still new at Android development, and with NetBeans in particular so i'm not sure what to do about this error:

About to start org.me.helloworldnetbeans/org.me.helloworldnetbeans.MainActivityNetBeans
Starting: Intent { cmp=org.me.helloworldnetbeans/.MainActivityNetBeans }
C:\Users\Me\Documents\NetBeansProjects\Android\HelloWorldNetBeans\nbproject\build-impl.xml:560: The following error occurred while executing this line:
C:\Users\Me\Documents\NetBeansProjects\Android\HelloWorldNetBeans\nbproject\build-impl.xml:265: 
org.netbeans.api.debugger.jpda.DebuggerStartException
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.waitRunning(JPDADebuggerImpl.java:374)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.waitRunning(JPDADebuggerImpl.java:356)
        at org.netbeans.api.debugger.jpda.JPDADebugger.attach(JPDADebugger.java:295)
        at org.netbeans.modules.debugger.jpda.ant.JPDAConnect$1.run(JPDAConnect.java:226)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Caused by: java.io.IOException
        at com.sun.tools.jdi.VirtualMachineManagerImpl.createVirtualMachine(VirtualMachineManagerImpl.java:218)
        at com.sun.tools.jdi.VirtualMachineManagerImpl.createVirtualMachine(VirtualMachineManagerImpl.java:225)
        at com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:99)
        at com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:72)
        at org.netbeans.api.debugger.jpda.AttachingDICookie.getVirtualMachine(AttachingDICookie.java:223)
        at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.doStartDebugger(StartActionProvider.java:184)
        at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.access$200(StartActionProvider.java:80)
        at org.netbeans.modules.debugger.jpda.actions.StartActionProvider$1.run(StartActionProvider.java:161)
        ... 2 more
BUILD FAILED (total time: 4 minutes 4 seconds)


The project is just a basic "HelloWorld" type application where the intention is to just print some text to the screen. Seems not to work though, as the debugger can't start. I've managed to get much farther than this using Eclipse (I've made several of my book's sample apps already) but I'm not at all fond of the UX in Eclipse and was looking for something nicer. I like the NetBeans experience so far, except for this mysterious error.
Replies: 0 - Last Post: August 28, 2010 14:42
by: dr_soda
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close