Ok, to answer to myself...

This was preceded by something similar to "problems occurred when
invoking code from plug-in org.eclipse.jface" in the eclipse log.

The solution was to uncheck preferences -> XMl -> XML files -> Editor -
> Use inferred grammar in absence of DTD/Schema

On Dec 23, 4:20 pm, ezamur <eza...@gmail.com> wrote:
> 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.AndroidJUnitLaunchConfigD 
> elegate.doLaunch(Unknown
> Source)
>         at
> com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unk 
> nown
> Source)
>         at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfigurat 
> ion.java:
> 853)
>         at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfigurat 
> ion.java:
> 702)
>         at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.ja 
> va:
> 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