[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Mario Zechner
I have the exact same issue. I went the exact same route as the
original poster. The "verbose" output of all the Android tools in
Eclipse is not all that verbose it turns out. However, digging up
the .log file in $workspace/.metadata/.log brought this up:

!ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
!MESSAGE Unable to execute dex: null
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
Source)
at org.eclipse.core.internal.events.BuildManager
$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
172)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
203)
at org.eclipse.core.internal.events.BuildManager
$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
258)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
311)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
343)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
144)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at java.io.File.(Unknown Source)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
106)
at com.android.dx.command.dexer.Main.processOne(Main.java:284)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
at com.android.dx.command.dexer.Main.run(Main.java:176)
... 19 more
Root exception:
java.lang.NullPointerException
at java.io.File.(Unknown Source)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
106)
at com.android.dx.command.dexer.Main.processOne(Main.java:284)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
at com.android.dx.command.dexer.Main.run(Main.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
Source)
at org.eclipse.core.internal.events.BuildManager
$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
172)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
203)
at org.eclipse.core.internal.events.BuildManager
$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
258)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
311)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
343)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
144)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

This is the output i get when cleaning a previously working Android
project that has dependencies to a normal Java project. Not all that
helpful either, at least for me :/

Ciao,
Mario

On 7 Dez., 00:16, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I up

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Mario Zechner
Forgot to mention my system specs:

Windows 7 Home Premium 32-bit, JDK 1.6.0_22, Eclipse Helios SR1.

On 7 Dez., 00:16, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I updated the android plugins for eclipse (3.5.2) to the new
> > version (8.0.0.v201011171904-77661). Then I used the SDK manager
> > within eclipse to install the Android SDK 2.3 API 9 package, its
> > documentation, and the Android SDK platform tools revision 1.
>
> > On restarting eclipse I found that every non-library android project
> > was reporting the same error:
>
> > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
> > [2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
> > failed: Unable to execute dex: null
>
> > I have tried cleaning the projects, reinstalling the plugins and
> > changing the declared SDK location. I have confirmed that eclipse has
> > the latest plugin, that the platform-tools directory exists, as does
> > the platforms/android-9 directory, and that they contain the correct
> > files. I switched the plugin into "verbose" for building, but can't
> > see anything remotely suspicious. I can even run dx manually on the
> > project bin directory and produce a classes.dex file.
>
> > I'm stumped, does anyone have any ideas?
>
> > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
> > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Mario Zechner
Awesome thanks a bunch :)

On 7 Dez., 01:54, Xavier Ducrohet  wrote:
> hey all, we found the issue. It's related to referencing java project.
>
> We're looking at pushing a fix to ADT asap. In the meantime you can
> temporarily change to including your java project as a jar file.
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  wrote:
> > I have the exact same issue. I went the exact same route as the
> > original poster. The "verbose" output of all the Android tools in
> > Eclipse is not all that verbose it turns out. However, digging up
> > the .log file in $workspace/.metadata/.log brought this up:
>
> > !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > !MESSAGE Unable to execute dex: null
> > !STACK 0
> > java.lang.reflect.InvocationTargetException
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui 
> > ld(Unknown
> > Source)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:629)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 172)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 203)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:255)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 258)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j 
> > ava:
> > 311)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 343)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > 144)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > 242)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > Caused by: java.lang.NullPointerException
> >        at java.io.File.(Unknown Source)
> >        at
> > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > 106)
> >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> >        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> >        ... 19 more
> > Root exception:
> > java.lang.NullPointerException
> >        at java.io.File.(Unknown Source)
> >        at
> > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > 106)
> >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> >        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui 
> > ld(Unknown
> > Source)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:629)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 172)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 203)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:255)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 258)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j 
> > ava:
> > 311)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 343)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > 144)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Nate
Is the fix ready yet? :D

-Nate


On Dec 6, 5:00 pm, Mario Zechner  wrote:
> Awesome thanks a bunch :)
>
> On 7 Dez., 01:54, Xavier Ducrohet  wrote:
>
> > hey all, we found the issue. It's related to referencing java project.
>
> > We're looking at pushing a fix to ADT asap. In the meantime you can
> > temporarily change to including your java project as a jar file.
>
> > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
> > wrote:
> > > I have the exact same issue. I went the exact same route as the
> > > original poster. The "verbose" output of all the Android tools in
> > > Eclipse is not all that verbose it turns out. However, digging up
> > > the .log file in $workspace/.metadata/.log brought this up:
>
> > > !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > > !MESSAGE Unable to execute dex: null
> > > !STACK 0
> > > java.lang.reflect.InvocationTargetException
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > >        at 
> > > com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > > Source)
> > >        at
> > > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > > Source)
> > >        at
> > > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > >  ld(Unknown
> > > Source)
> > >        at org.eclipse.core.internal.events.BuildManager
> > > $2.run(BuildManager.java:629)
> > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > 172)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > 203)
> > >        at org.eclipse.core.internal.events.BuildManager
> > > $1.run(BuildManager.java:255)
> > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > 258)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> > >  ava:
> > > 311)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > > 343)
> > >        at
> > > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > > 144)
> > >        at
> > > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > > 242)
> > >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > > Caused by: java.lang.NullPointerException
> > >        at java.io.File.(Unknown Source)
> > >        at
> > > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > 106)
> > >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > >        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > >        ... 19 more
> > > Root exception:
> > > java.lang.NullPointerException
> > >        at java.io.File.(Unknown Source)
> > >        at
> > > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > 106)
> > >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > >        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > >        at 
> > > com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > > Source)
> > >        at
> > > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > > Source)
> > >        at
> > > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > >  ld(Unknown
> > > Source)
> > >        at org.eclipse.core.internal.events.BuildManager
> > > $2.run(BuildManager.java:629)
> > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > 172)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > 203)
> > >        at org.eclipse.core.internal.events.BuildManager
> > > $1.run(BuildManager.java:255)
> > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > 258)
> > >        at
> > > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildM

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread dario
Fix is in master repo (verified) and it seems like 8.0.1 is ready to
go, however I'm seeing a problem with the layout editor and custom
views that have a dependency on a class that is in a referenced Java
project.

At least the error is accurate this time: NoClassDefFound: 

-Dario

On Dec 7, 1:23 am, Nate  wrote:
> Is the fix ready yet? :D
>
> -Nate
>
> On Dec 6, 5:00 pm, Mario Zechner  wrote:
>
>
>
>
>
>
>
> > Awesome thanks a bunch :)
>
> > On 7 Dez., 01:54, Xavier Ducrohet  wrote:
>
> > > hey all, we found the issue. It's related to referencing java project.
>
> > > We're looking at pushing a fix to ADT asap. In the meantime you can
> > > temporarily change to including your java project as a jar file.
>
> > > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
> > > wrote:
> > > > I have the exact same issue. I went the exact same route as the
> > > > original poster. The "verbose" output of all the Android tools in
> > > > Eclipse is not all that verbose it turns out. However, digging up
> > > > the .log file in $workspace/.metadata/.log brought this up:
>
> > > > !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > > > !MESSAGE Unable to execute dex: null
> > > > !STACK 0
> > > > java.lang.reflect.InvocationTargetException
> > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > Source)
> > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > >        at 
> > > > com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > > > Source)
> > > >        at
> > > > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > > > Source)
> > > >        at
> > > > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > > >  ld(Unknown
> > > > Source)
> > > >        at org.eclipse.core.internal.events.BuildManager
> > > > $2.run(BuildManager.java:629)
> > > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > >        at
> > > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > > 172)
> > > >        at
> > > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > > 203)
> > > >        at org.eclipse.core.internal.events.BuildManager
> > > > $1.run(BuildManager.java:255)
> > > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > >        at
> > > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > > 258)
> > > >        at
> > > > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> > > >  ava:
> > > > 311)
> > > >        at
> > > > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > > > 343)
> > > >        at
> > > > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > > > 144)
> > > >        at
> > > > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > > > 242)
> > > >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > > > Caused by: java.lang.NullPointerException
> > > >        at java.io.File.(Unknown Source)
> > > >        at
> > > > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > > 106)
> > > >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > > >        at 
> > > > com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > > >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > > >        ... 19 more
> > > > Root exception:
> > > > java.lang.NullPointerException
> > > >        at java.io.File.(Unknown Source)
> > > >        at
> > > > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > > 106)
> > > >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > > >        at 
> > > > com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > > >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > Source)
> > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > >        at 
> > > > com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > > > Source)
> > > >        at
> > > > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > > > Source)
> > > >        at
> > > > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > > >  ld(Unknown
> > > > Source)
> > > >        at org.eclipse.core.internal.events.BuildManager
> > > > $2.run(BuildManager.java:629)
> > > >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > >        at
> > > > org.e

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread garbeam
I also wanted to note, that I see similar problems with Android
Library projects. It appears as if the ADK does not properly include
the Android Library project classes in a APK project (this is at least
true for interface classes that my Android Library project contains).

Can you confirm this?

Thanks,
Anselm

On Dec 7, 9:48 am, Tom Gibara  wrote:
> Thanks Xavier.
>
> That's definitely the cause of the problem. Eclipse projects, when
> stripped of their dependencies on other eclipse projects, build fine.
>
> Tom.
>
> On 7 December 2010 00:54, Xavier Ducrohet  wrote:
>
>
>
>
>
>
>
> > hey all, we found the issue. It's related to referencing java project.
>
> > We're looking at pushing a fix to ADT asap. In the meantime you can
> > temporarily change to including your java project as a jar file.
>
> > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
> > wrote:
> >> I have the exact same issue. I went the exact same route as the
> >> original poster. The "verbose" output of all the Android tools in
> >> Eclipse is not all that verbose it turns out. However, digging up
> >> the .log file in $workspace/.metadata/.log brought this up:
>
> >> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> >> !MESSAGE Unable to execute dex: null
> >> !STACK 0
> >> java.lang.reflect.InvocationTargetException
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >>        at java.lang.reflect.Method.invoke(Unknown Source)
> >>        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> >> Source)
> >>        at
> >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> >> Source)
> >>        at
> >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> >>  ld(Unknown
> >> Source)
> >>        at org.eclipse.core.internal.events.BuildManager
> >> $2.run(BuildManager.java:629)
> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> 172)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> 203)
> >>        at org.eclipse.core.internal.events.BuildManager
> >> $1.run(BuildManager.java:255)
> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> 258)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> >>  ava:
> >> 311)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> >> 343)
> >>        at
> >> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> >> 144)
> >>        at
> >> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> >> 242)
> >>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> >> Caused by: java.lang.NullPointerException
> >>        at java.io.File.(Unknown Source)
> >>        at
> >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> >> 106)
> >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> >>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> >>        ... 19 more
> >> Root exception:
> >> java.lang.NullPointerException
> >>        at java.io.File.(Unknown Source)
> >>        at
> >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> >> 106)
> >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> >>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >>        at java.lang.reflect.Method.invoke(Unknown Source)
> >>        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> >> Source)
> >>        at
> >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> >> Source)
> >>        at
> >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> >>  ld(Unknown
> >> Source)
> >>        at org.eclipse.core.internal.events.BuildManager
> >> $2.run(BuildManager.java:629)
> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> 172)
> >>        at
> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> 203)
> >>        at org.eclipse.core.intern

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread dario
Anselm, I couldn't repro with latest build. Xavier, I posted the bug I
described as issue #13010

-Dario

On Dec 7, 8:46 am, garbeam  wrote:
> I also wanted to note, that I see similar problems with Android
> Library projects. It appears as if the ADK does not properly include
> the Android Library project classes in a APK project (this is at least
> true for interface classes that my Android Library project contains).
>
> Can you confirm this?
>
> Thanks,
> Anselm
>
> On Dec 7, 9:48 am, Tom Gibara  wrote:
>
>
>
>
>
>
>
> > Thanks Xavier.
>
> > That's definitely the cause of the problem. Eclipse projects, when
> > stripped of their dependencies on other eclipse projects, build fine.
>
> > Tom.
>
> > On 7 December 2010 00:54, Xavier Ducrohet  wrote:
>
> > > hey all, we found the issue. It's related to referencing java project.
>
> > > We're looking at pushing a fix to ADT asap. In the meantime you can
> > > temporarily change to including your java project as a jar file.
>
> > > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
> > > wrote:
> > >> I have the exact same issue. I went the exact same route as the
> > >> original poster. The "verbose" output of all the Android tools in
> > >> Eclipse is not all that verbose it turns out. However, digging up
> > >> the .log file in $workspace/.metadata/.log brought this up:
>
> > >> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > >> !MESSAGE Unable to execute dex: null
> > >> !STACK 0
> > >> java.lang.reflect.InvocationTargetException
> > >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >>        at java.lang.reflect.Method.invoke(Unknown Source)
> > >>        at 
> > >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > >> Source)
> > >>        at
> > >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > >> Source)
> > >>        at
> > >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > >>  ld(Unknown
> > >> Source)
> > >>        at org.eclipse.core.internal.events.BuildManager
> > >> $2.run(BuildManager.java:629)
> > >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > >>        at
> > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > >> 172)
> > >>        at
> > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > >> 203)
> > >>        at org.eclipse.core.internal.events.BuildManager
> > >> $1.run(BuildManager.java:255)
> > >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > >>        at
> > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > >> 258)
> > >>        at
> > >> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> > >>  ava:
> > >> 311)
> > >>        at
> > >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > >> 343)
> > >>        at
> > >> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > >> 144)
> > >>        at
> > >> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > >> 242)
> > >>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > >> Caused by: java.lang.NullPointerException
> > >>        at java.io.File.(Unknown Source)
> > >>        at
> > >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > >> 106)
> > >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > >>        at 
> > >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > >>        ... 19 more
> > >> Root exception:
> > >> java.lang.NullPointerException
> > >>        at java.io.File.(Unknown Source)
> > >>        at
> > >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > >> 106)
> > >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > >>        at 
> > >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >>        at java.lang.reflect.Method.invoke(Unknown Source)
> > >>        at 
> > >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > >> Source)
> > >>        at
> > >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > >> Source)
> > >>        at
> > >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > >>  ld(Unknown
> > >> Source)
> > >>        at org.eclipse.core.internal.ev

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread Ken
Hi All,

I got the caption problem and quickly update ADT to 8.0.1. It's not
work when including a Project in Build Path (no problem if include
external jars):

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/apache/james/
mime4j/util/StringArrayMap;
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:
123)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main.processClass(Main.java:338)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:315)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:266)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
134)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:
190)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
122)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
108)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main.processOne(Main.java:284)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.dx.command.dexer.Main.run(Main.java:176)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
java.lang.reflect.Method.invoke(Unknown Source)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
Source)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
Source)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
Source)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:
627)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
170)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
201)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:
253)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
256)
[2010-12-08 09:03:50 - AndroidUsenetReader]: Dx at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread Farand
I've been having this problem too on both WinXP and OSX 10.6.  The
common issue seems to be referencing a platform-neutral project from
the android project.  I had to revert back to the 2.2 SDK since I
haven't been able to find a solution.

On Dec 6, 3:16 pm, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I updated the android plugins for eclipse (3.5.2) to the new
> > version (8.0.0.v201011171904-77661). Then I used the SDK manager
> > within eclipse to install the Android SDK 2.3 API 9 package, its
> > documentation, and the Android SDK platform tools revision 1.
>
> > On restarting eclipse I found that every non-library android project
> > was reporting the same error:
>
> > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
> > [2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
> > failed: Unable to execute dex: null
>
> > I have tried cleaning the projects, reinstalling the plugins and
> > changing the declared SDK location. I have confirmed that eclipse has
> > the latest plugin, that the platform-tools directory exists, as does
> > the platforms/android-9 directory, and that they contain the correct
> > files. I switched the plugin into "verbose" for building, but can't
> > see anything remotely suspicious. I can even run dx manually on the
> > project bin directory and produce a classes.dex file.
>
> > I'm stumped, does anyone have any ideas?
>
> > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
> > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread jj
Thanks! Please let us know when it is ready :-)

On Dec 6, 7:54 pm, Xavier Ducrohet  wrote:
> hey all, we found the issue. It's related to referencing java project.
>
> We're looking at pushing a fix to ADT asap. In the meantime you can
> temporarily change to including your java project as a jar file.
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  wrote:
> > I have the exact same issue. I went the exact same route as the
> > original poster. The "verbose" output of all the Android tools in
> > Eclipse is not all that verbose it turns out. However, digging up
> > the .log file in $workspace/.metadata/.log brought this up:
>
> > !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > !MESSAGE Unable to execute dex: null
> > !STACK 0
> > java.lang.reflect.InvocationTargetException
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui 
> > ld(Unknown
> > Source)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:629)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 172)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 203)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:255)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 258)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j 
> > ava:
> > 311)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 343)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > 144)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > 242)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > Caused by: java.lang.NullPointerException
> >        at java.io.File.(Unknown Source)
> >        at
> > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > 106)
> >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> >        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> >        ... 19 more
> > Root exception:
> > java.lang.NullPointerException
> >        at java.io.File.(Unknown Source)
> >        at
> > com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > 106)
> >        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> >        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> >        at com.android.dx.command.dexer.Main.run(Main.java:176)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > Source)
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui 
> > ld(Unknown
> > Source)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:629)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 172)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 203)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:255)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 258)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j 
> > ava:
> > 311)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 343)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > 144)
> >        at
> > org.eclipse.core.inter

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread Ievgenii Nazaruk
Here goes the stack trace from eclipse:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
Source)
at
com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
Source)
at org.eclipse.core.internal.events.BuildManager
$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
170)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
201)
at org.eclipse.core.internal.events.BuildManager
$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
256)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
309)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
341)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
140)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at java.io.File.(Unknown Source)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
106)
at com.android.dx.command.dexer.Main.processOne(Main.java:284)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
at com.android.dx.command.dexer.Main.run(Main.java:176)
... 19 more



On Dec 7, 1:16 am, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I updated the android plugins for eclipse (3.5.2) to the new
> > version (8.0.0.v201011171904-77661). Then I used the SDK manager
> > within eclipse to install the Android SDK 2.3 API 9 package, its
> > documentation, and the Android SDK platform tools revision 1.
>
> > On restarting eclipse I found that every non-library android project
> > was reporting the same error:
>
> > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
> > [2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
> > failed: Unable to execute dex: null
>
> > I have tried cleaning the projects, reinstalling the plugins and
> > changing the declared SDK location. I have confirmed that eclipse has
> > the latest plugin, that the platform-tools directory exists, as does
> > the platforms/android-9 directory, and that they contain the correct
> > files. I switched the plugin into "verbose" for building, but can't
> > see anything remotely suspicious. I can even run dx manually on the
> > project bin directory and produce a classes.dex file.
>
> > I'm stumped, does anyone have any ideas?
>
> > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
> > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread Adam L.
I have been experiencing the same problem since updating everything
earlier today. I read elsewhere that increasing the amount of memory
to Eclipse could help, but it hasn't for me.

I'm thinking that library projects could be the culprit. I have three
non-library projects that each depend on a single core library
project. I noticed after performing the update that the
linkedResources sections of the .project files of the non-library
projects changed. The locationURIs changed - from "_android_MyLibrary/
src" to "_android_MyLibrary_ae53e0d6/src". I made a simple test app
that doesn't depend on a library and it works fine.

Building the project through Ant works just fine, so it seems to just
be a problem with the Eclipse integration.

I'm running Win XP Pro SP3 with Eclipse 3.5.2 and Oracle/Sun JDK
1.6.0_21. I have tried upgrading to Eclipse 3.6.1, uninstalling and
cleanly reinstalling the SDK and plugin, adding the new tools and
platform-tools directories to my PATH, removing and readding the
library project links, and nothing works.

Any idea how to fix this?

Thanks,
Adam

(P.S. Sending to this group from Gmail doesn't seem to be working for
me so I'm sending this from the Groups web interface. Sorry if this
ends up being a double post).

On Dec 6, 5:16 pm, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I updated the android plugins for eclipse (3.5.2) to the new
> > version (8.0.0.v201011171904-77661). Then I used the SDK manager
> > within eclipse to install the Android SDK 2.3 API 9 package, its
> > documentation, and the Android SDK platform tools revision 1.
>
> > On restarting eclipse I found that every non-library android project
> > was reporting the same error:
>
> > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
> > [2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
> > failed: Unable to execute dex: null
>
> > I have tried cleaning the projects, reinstalling the plugins and
> > changing the declared SDK location. I have confirmed that eclipse has
> > the latest plugin, that the platform-tools directory exists, as does
> > the platforms/android-9 directory, and that they contain the correct
> > files. I switched the plugin into "verbose" for building, but can't
> > see anything remotely suspicious. I can even run dx manually on the
> > project bin directory and produce a classes.dex file.
>
> > I'm stumped, does anyone have any ideas?
>
> > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
> > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread jj
This has been occurring for many people. This happened to me on a
windows 7 box and if you look on stack overflow, no one has solved
this yet. Anything from Google?

On Dec 6, 6:16 pm, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I updated the android plugins for eclipse (3.5.2) to the new
> > version (8.0.0.v201011171904-77661). Then I used the SDK manager
> > within eclipse to install the Android SDK 2.3 API 9 package, its
> > documentation, and the Android SDK platform tools revision 1.
>
> > On restarting eclipse I found that every non-library android project
> > was reporting the same error:
>
> > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
> > [2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
> > failed: Unable to execute dex: null
>
> > I have tried cleaning the projects, reinstalling the plugins and
> > changing the declared SDK location. I have confirmed that eclipse has
> > the latest plugin, that the platform-tools directory exists, as does
> > the platforms/android-9 directory, and that they contain the correct
> > files. I switched the plugin into "verbose" for building, but can't
> > see anything remotely suspicious. I can even run dx manually on the
> > project bin directory and produce a classes.dex file.
>
> > I'm stumped, does anyone have any ideas?
>
> > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
> > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread Farand
I'm having the same problem with eclipse 3.5 on both WinXP and OSX
10.6.  The common problem seems to be android projects that reference
platform-independent library projects.  I couldn't find a fix so I had
to revert to SDK 2.2.

On Dec 6, 3:16 pm, Xavier Ducrohet  wrote:
> gotta love the error message. *sigh*
>
> From what you're saying you have all that's needed. Have you tried
> using the Sun VM instead of OpenJDK?
> We load dx.jar through reflection and it looks like calling out to a
> method through reflection failed.
>
> Xav
>
>
>
> On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara  wrote:
> > I upgraded to the 2.3 SDK and have hit a problem I can't resolve.
>
> > First I updated the android plugins for eclipse (3.5.2) to the new
> > version (8.0.0.v201011171904-77661). Then I used the SDK manager
> > within eclipse to install the Android SDK 2.3 API 9 package, its
> > documentation, and the Android SDK platform tools revision 1.
>
> > On restarting eclipse I found that every non-library android project
> > was reporting the same error:
>
> > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null
> > [2010-12-06 21:58:32 -                 ] Conversion to Dalvik format
> > failed: Unable to execute dex: null
>
> > I have tried cleaning the projects, reinstalling the plugins and
> > changing the declared SDK location. I have confirmed that eclipse has
> > the latest plugin, that the platform-tools directory exists, as does
> > the platforms/android-9 directory, and that they contain the correct
> > files. I switched the plugin into "verbose" for building, but can't
> > see anything remotely suspicious. I can even run dx manually on the
> > project bin directory and produce a classes.dex file.
>
> > I'm stumped, does anyone have any ideas?
>
> > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6
> > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode)
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread JoeyL
The export to jar seemed to work for me as well, but I'd rather get
8.0.1 running. Any idea when that will be pushed out?

On Dec 7, 11:32 am, dario  wrote:
> Anselm, I couldn't repro with latest build. Xavier, I posted the bug I
> described as issue #13010
>
> -Dario
>
> On Dec 7, 8:46 am, garbeam  wrote:
>
>
>
>
>
>
>
> > I also wanted to note, that I see similar problems with Android
> > Library projects. It appears as if the ADK does not properly include
> > the Android Library project classes in a APK project (this is at least
> > true for interface classes that my Android Library project contains).
>
> > Can you confirm this?
>
> > Thanks,
> > Anselm
>
> > On Dec 7, 9:48 am, Tom Gibara  wrote:
>
> > > Thanks Xavier.
>
> > > That's definitely the cause of the problem. Eclipse projects, when
> > > stripped of their dependencies on other eclipse projects, build fine.
>
> > > Tom.
>
> > > On 7 December 2010 00:54, Xavier Ducrohet  wrote:
>
> > > > hey all, we found the issue. It's related to referencing java project.
>
> > > > We're looking at pushing a fix to ADT asap. In the meantime you can
> > > > temporarily change to including your java project as a jar file.
>
> > > > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
> > > > wrote:
> > > >> I have the exact same issue. I went the exact same route as the
> > > >> original poster. The "verbose" output of all the Android tools in
> > > >> Eclipse is not all that verbose it turns out. However, digging up
> > > >> the .log file in $workspace/.metadata/.log brought this up:
>
> > > >> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > > >> !MESSAGE Unable to execute dex: null
> > > >> !STACK 0
> > > >> java.lang.reflect.InvocationTargetException
> > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > >> Source)
> > > >>        at java.lang.reflect.Method.invoke(Unknown Source)
> > > >>        at 
> > > >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > > >> Source)
> > > >>        at
> > > >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > > >> Source)
> > > >>        at
> > > >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > > >>  ld(Unknown
> > > >> Source)
> > > >>        at org.eclipse.core.internal.events.BuildManager
> > > >> $2.run(BuildManager.java:629)
> > > >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > >>        at
> > > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > >> 172)
> > > >>        at
> > > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > >> 203)
> > > >>        at org.eclipse.core.internal.events.BuildManager
> > > >> $1.run(BuildManager.java:255)
> > > >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > >>        at
> > > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > >> 258)
> > > >>        at
> > > >> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> > > >>  ava:
> > > >> 311)
> > > >>        at
> > > >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > > >> 343)
> > > >>        at
> > > >> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > > >> 144)
> > > >>        at
> > > >> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > > >> 242)
> > > >>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > > >> Caused by: java.lang.NullPointerException
> > > >>        at java.io.File.(Unknown Source)
> > > >>        at
> > > >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > >> 106)
> > > >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > > >>        at 
> > > >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > > >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > > >>        ... 19 more
> > > >> Root exception:
> > > >> java.lang.NullPointerException
> > > >>        at java.io.File.(Unknown Source)
> > > >>        at
> > > >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > >> 106)
> > > >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > > >>        at 
> > > >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > > >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > >> Source)
> > > >>        at java.lang.reflect.Method.invoke(Unknown Source)
> > > >>        at 
> 

[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread TiagoBTT.com
I've just updated, but getting same error. My app was compiling fine
before updating to ADT 8.0.0

> We've just released ADT 8.0.1 to fix this issue.
>
> You can use the update site or the direct link (dev site not updated
> yet):http://dl.google.com/android/ADT-8.0.1.zip

-- 
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


[android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-08 Thread android
I confirm the fix too

Merci xavier!

On 7 déc, 18:07, JoeyL  wrote:
> The export to jar seemed to work for me as well, but I'd rather get
> 8.0.1 running. Any idea when that will be pushed out?
>
> On Dec 7, 11:32 am, dario  wrote:
>
> > Anselm, I couldn't repro with latest build. Xavier, I posted the bug I
> > described as issue #13010
>
> > -Dario
>
> > On Dec 7, 8:46 am, garbeam  wrote:
>
> > > I also wanted to note, that I see similar problems with Android
> > > Library projects. It appears as if the ADK does not properly include
> > > the Android Library project classes in a APK project (this is at least
> > > true for interface classes that my Android Library project contains).
>
> > > Can you confirm this?
>
> > > Thanks,
> > > Anselm
>
> > > On Dec 7, 9:48 am, Tom Gibara  wrote:
>
> > > > Thanks Xavier.
>
> > > > That's definitely the cause of the problem. Eclipse projects, when
> > > > stripped of their dependencies on other eclipse projects, build fine.
>
> > > > Tom.
>
> > > > On 7 December 2010 00:54, Xavier Ducrohet  wrote:
>
> > > > > hey all, we found the issue. It's related to referencing java project.
>
> > > > > We're looking at pushing a fix to ADT asap. In the meantime you can
> > > > > temporarily change to including your java project as a jar file.
>
> > > > > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner 
> > > > >  wrote:
> > > > >> I have the exact same issue. I went the exact same route as the
> > > > >> original poster. The "verbose" output of all the Android tools in
> > > > >> Eclipse is not all that verbose it turns out. However, digging up
> > > > >> the .log file in $workspace/.metadata/.log brought this up:
>
> > > > >> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> > > > >> !MESSAGE Unable to execute dex: null
> > > > >> !STACK 0
> > > > >> java.lang.reflect.InvocationTargetException
> > > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > > >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > >> Source)
> > > > >>        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >>        at 
> > > > >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> > > > >> Source)
> > > > >>        at
> > > > >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> > > > >> Source)
> > > > >>        at
> > > > >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
> > > > >>  ld(Unknown
> > > > >> Source)
> > > > >>        at org.eclipse.core.internal.events.BuildManager
> > > > >> $2.run(BuildManager.java:629)
> > > > >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > > >> 172)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > > >> 203)
> > > > >>        at org.eclipse.core.internal.events.BuildManager
> > > > >> $1.run(BuildManager.java:255)
> > > > >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > > > >> 258)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> > > > >>  ava:
> > > > >> 311)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > > > >> 343)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > > > >> 144)
> > > > >>        at
> > > > >> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > > > >> 242)
> > > > >>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > > > >> Caused by: java.lang.NullPointerException
> > > > >>        at java.io.File.(Unknown Source)
> > > > >>        at
> > > > >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > > >> 106)
> > > > >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > > > >>        at 
> > > > >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > > > >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > > > >>        ... 19 more
> > > > >> Root exception:
> > > > >> java.lang.NullPointerException
> > > > >>        at java.io.File.(Unknown Source)
> > > > >>        at
> > > > >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> > > > >> 106)
> > > > >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
> > > > >>        at 
> > > > >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
> > > > >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
> > > > >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >

Re: [android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-06 Thread Xavier Ducrohet
hey all, we found the issue. It's related to referencing java project.

We're looking at pushing a fix to ADT asap. In the meantime you can
temporarily change to including your java project as a jar file.

On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  wrote:
> I have the exact same issue. I went the exact same route as the
> original poster. The "verbose" output of all the Android tools in
> Eclipse is not all that verbose it turns out. However, digging up
> the .log file in $workspace/.metadata/.log brought this up:
>
> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
> !MESSAGE Unable to execute dex: null
> !STACK 0
> java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> Source)
>        at
> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> Source)
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
> Source)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:629)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 172)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 203)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:255)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 258)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
> 311)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 343)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> 144)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> 242)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
>        at java.io.File.(Unknown Source)
>        at
> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> 106)
>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>        ... 19 more
> Root exception:
> java.lang.NullPointerException
>        at java.io.File.(Unknown Source)
>        at
> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
> 106)
>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
> Source)
>        at
> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
> Source)
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
> Source)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:629)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 172)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 203)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:255)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 258)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
> 311)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 343)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> 144)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> 242)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> This is the output i get when cleaning a previously working Android
> project that has dependencies to a normal Java project. Not all that
> helpful either, at least for me :/
>
> Ciao,
> Mario
>
> On 7 Dez., 00:16, Xavier

Re: [android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread Tom Gibara
Thanks Xavier.

That's definitely the cause of the problem. Eclipse projects, when
stripped of their dependencies on other eclipse projects, build fine.

Tom.

On 7 December 2010 00:54, Xavier Ducrohet  wrote:
> hey all, we found the issue. It's related to referencing java project.
>
> We're looking at pushing a fix to ADT asap. In the meantime you can
> temporarily change to including your java project as a jar file.
>
> On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  wrote:
>> I have the exact same issue. I went the exact same route as the
>> original poster. The "verbose" output of all the Android tools in
>> Eclipse is not all that verbose it turns out. However, digging up
>> the .log file in $workspace/.metadata/.log brought this up:
>>
>> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
>> !MESSAGE Unable to execute dex: null
>> !STACK 0
>> java.lang.reflect.InvocationTargetException
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>        at java.lang.reflect.Method.invoke(Unknown Source)
>>        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
>> Source)
>>        at
>> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
>> Source)
>>        at
>> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
>> Source)
>>        at org.eclipse.core.internal.events.BuildManager
>> $2.run(BuildManager.java:629)
>>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 172)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 203)
>>        at org.eclipse.core.internal.events.BuildManager
>> $1.run(BuildManager.java:255)
>>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 258)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
>> 311)
>>        at
>> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
>> 343)
>>        at
>> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
>> 144)
>>        at
>> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
>> 242)
>>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>> Caused by: java.lang.NullPointerException
>>        at java.io.File.(Unknown Source)
>>        at
>> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>> 106)
>>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>>        ... 19 more
>> Root exception:
>> java.lang.NullPointerException
>>        at java.io.File.(Unknown Source)
>>        at
>> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>> 106)
>>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>        at java.lang.reflect.Method.invoke(Unknown Source)
>>        at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
>> Source)
>>        at
>> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
>> Source)
>>        at
>> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown
>> Source)
>>        at org.eclipse.core.internal.events.BuildManager
>> $2.run(BuildManager.java:629)
>>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 172)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 203)
>>        at org.eclipse.core.internal.events.BuildManager
>> $1.run(BuildManager.java:255)
>>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 258)
>>        at
>> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
>> 311)
>>        at
>> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
>> 343)
>>        at
>> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
>> 144)
>>        at
>> org.eclipse.core.internal.events.AutoBuildJob.r

Re: [android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread Xavier Ducrohet
I'm going to investigate this later today but quick looking at the
source, I suspect this never worked.
I'm not holding 8.0.1 for this but we'll certainly fix this for the
next release.

On Tue, Dec 7, 2010 at 5:46 AM, garbeam  wrote:
> I also wanted to note, that I see similar problems with Android
> Library projects. It appears as if the ADK does not properly include
> the Android Library project classes in a APK project (this is at least
> true for interface classes that my Android Library project contains).
>
> Can you confirm this?
>
> Thanks,
> Anselm
>
> On Dec 7, 9:48 am, Tom Gibara  wrote:
>> Thanks Xavier.
>>
>> That's definitely the cause of the problem. Eclipse projects, when
>> stripped of their dependencies on other eclipse projects, build fine.
>>
>> Tom.
>>
>> On 7 December 2010 00:54, Xavier Ducrohet  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > hey all, we found the issue. It's related to referencing java project.
>>
>> > We're looking at pushing a fix to ADT asap. In the meantime you can
>> > temporarily change to including your java project as a jar file.
>>
>> > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
>> > wrote:
>> >> I have the exact same issue. I went the exact same route as the
>> >> original poster. The "verbose" output of all the Android tools in
>> >> Eclipse is not all that verbose it turns out. However, digging up
>> >> the .log file in $workspace/.metadata/.log brought this up:
>>
>> >> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
>> >> !MESSAGE Unable to execute dex: null
>> >> !STACK 0
>> >> java.lang.reflect.InvocationTargetException
>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> >>        at java.lang.reflect.Method.invoke(Unknown Source)
>> >>        at 
>> >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
>> >> Source)
>> >>        at
>> >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
>> >> Source)
>> >>        at
>> >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
>> >>  ld(Unknown
>> >> Source)
>> >>        at org.eclipse.core.internal.events.BuildManager
>> >> $2.run(BuildManager.java:629)
>> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> >>        at
>> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> >> 172)
>> >>        at
>> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> >> 203)
>> >>        at org.eclipse.core.internal.events.BuildManager
>> >> $1.run(BuildManager.java:255)
>> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> >>        at
>> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> >> 258)
>> >>        at
>> >> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
>> >>  ava:
>> >> 311)
>> >>        at
>> >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
>> >> 343)
>> >>        at
>> >> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
>> >> 144)
>> >>        at
>> >> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
>> >> 242)
>> >>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>> >> Caused by: java.lang.NullPointerException
>> >>        at java.io.File.(Unknown Source)
>> >>        at
>> >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>> >> 106)
>> >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>> >>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>> >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>> >>        ... 19 more
>> >> Root exception:
>> >> java.lang.NullPointerException
>> >>        at java.io.File.(Unknown Source)
>> >>        at
>> >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>> >> 106)
>> >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>> >>        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>> >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> >>        at java.lang.reflect.Method.invoke(Unknown Source)
>> >>        at 
>> >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
>> >> Source)
>> >>        at
>> >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
>> >> Source)
>> >>        at
>> >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
>> >>  ld(Unknown
>> >> Source)
>> >>        at org.eclipse.core.internal.events.

Re: [android-developers] Re: Android 2.3: eclipse reporting "Unable to execute dex: null"

2010-12-07 Thread Xavier Ducrohet
We've just released ADT 8.0.1 to fix this issue.

You can use the update site or the direct link (dev site not updated
yet): http://dl.google.com/android/ADT-8.0.1.zip

Xav

On Tue, Dec 7, 2010 at 10:21 AM, Xavier Ducrohet  wrote:
> I'm going to investigate this later today but quick looking at the
> source, I suspect this never worked.
> I'm not holding 8.0.1 for this but we'll certainly fix this for the
> next release.
>
> On Tue, Dec 7, 2010 at 5:46 AM, garbeam  wrote:
>> I also wanted to note, that I see similar problems with Android
>> Library projects. It appears as if the ADK does not properly include
>> the Android Library project classes in a APK project (this is at least
>> true for interface classes that my Android Library project contains).
>>
>> Can you confirm this?
>>
>> Thanks,
>> Anselm
>>
>> On Dec 7, 9:48 am, Tom Gibara  wrote:
>>> Thanks Xavier.
>>>
>>> That's definitely the cause of the problem. Eclipse projects, when
>>> stripped of their dependencies on other eclipse projects, build fine.
>>>
>>> Tom.
>>>
>>> On 7 December 2010 00:54, Xavier Ducrohet  wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> > hey all, we found the issue. It's related to referencing java project.
>>>
>>> > We're looking at pushing a fix to ADT asap. In the meantime you can
>>> > temporarily change to including your java project as a jar file.
>>>
>>> > On Mon, Dec 6, 2010 at 4:42 PM, Mario Zechner  
>>> > wrote:
>>> >> I have the exact same issue. I went the exact same route as the
>>> >> original poster. The "verbose" output of all the Android tools in
>>> >> Eclipse is not all that verbose it turns out. However, digging up
>>> >> the .log file in $workspace/.metadata/.log brought this up:
>>>
>>> >> !ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 01:40:29.576
>>> >> !MESSAGE Unable to execute dex: null
>>> >> !STACK 0
>>> >> java.lang.reflect.InvocationTargetException
>>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> >>        at java.lang.reflect.Method.invoke(Unknown Source)
>>> >>        at 
>>> >> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown
>>> >> Source)
>>> >>        at
>>> >> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown
>>> >> Source)
>>> >>        at
>>> >> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.bui
>>> >>  ld(Unknown
>>> >> Source)
>>> >>        at org.eclipse.core.internal.events.BuildManager
>>> >> $2.run(BuildManager.java:629)
>>> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>> >>        at
>>> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>>> >> 172)
>>> >>        at
>>> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>>> >> 203)
>>> >>        at org.eclipse.core.internal.events.BuildManager
>>> >> $1.run(BuildManager.java:255)
>>> >>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>> >>        at
>>> >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>>> >> 258)
>>> >>        at
>>> >> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
>>> >>  ava:
>>> >> 311)
>>> >>        at
>>> >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
>>> >> 343)
>>> >>        at
>>> >> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
>>> >> 144)
>>> >>        at
>>> >> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
>>> >> 242)
>>> >>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>> >> Caused by: java.lang.NullPointerException
>>> >>        at java.io.File.(Unknown Source)
>>> >>        at
>>> >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>>> >> 106)
>>> >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>>> >>        at 
>>> >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>>> >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>>> >>        ... 19 more
>>> >> Root exception:
>>> >> java.lang.NullPointerException
>>> >>        at java.io.File.(Unknown Source)
>>> >>        at
>>> >> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>>> >> 106)
>>> >>        at com.android.dx.command.dexer.Main.processOne(Main.java:284)
>>> >>        at 
>>> >> com.android.dx.command.dexer.Main.processAllFiles(Main.java:220)
>>> >>        at com.android.dx.command.dexer.Main.run(Main.java:176)
>>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> >>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> >>        at java.lang.reflect.Method.invoke(Unknown Source)
>>> >>        at 
>>> >> c