I am trying to run an android unit test in eclipse by run as ->
android junit test, but I get the following error:
!ENTRY org.eclipse.core.jobs 4 2 2010-12-23 16:15:43.269
!MESSAGE An internal error occurred during: "Launching android-test".
!STACK 0
java.lang.NullPointerException
        at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitLaunchConfigDelegate.doLaunch(Unknown
Source)
        at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown
Source)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
853)
        at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:
702)
        at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:
923)
        at org.eclipse.debug.internal.ui.DebugUIPlugin
$8.run(DebugUIPlugin.java:1126)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

I guess the problem is somewhere between eclipse and ADT plugin, but I
don't know what to do to fix it.
Project is configured via Maven and everything runs just fine in
command line (mvn clean install, etc...), but I want to be able to run
single test with that "run as" option. It would be very useful to have
it.

Any help will be appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to