Aaron-wqf / idea-android

Automatically exported from code.google.com/p/idea-android
0 stars 0 forks source link

unable to build #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install intellij idea build #7744.
2. try to build an android application.

What is the expected output? What do you see instead?
I should get the build done. 
But what I am getting is
@NotNull method
org/jetbrains/android/compiler/AndroidDexCompiler$DexItem.getFile must not
return null

What version of the product are you using? On what operating system?
0.1.1, Windows XP.

Please provide any additional information below.
@NotNull method
org/jetbrains/android/compiler/AndroidDexCompiler$DexItem.getFile must not
return null
java.lang.IllegalStateException: @NotNull method
org/jetbrains/android/compiler/AndroidDexCompiler$DexItem.getFile must not
return null
    at
org.jetbrains.android.compiler.AndroidDexCompiler$DexItem.getFile(AndroidDexComp
iler.java)
    at com.intellij.compiler.impl.CompileDriver$17.run(CompileDriver.java:12)
    at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationI
mpl.java:113)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:397)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:104)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:748)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:183)
    at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:944)
    at com.intellij.compiler.impl.CompileDriver$5.run(CompileDriver.java:17)
    at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:171)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressManagerImpl
.java:1)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl
.java:1)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgre
ss(ProgressManagerImpl.java:84)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManage
rImpl.java:48)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl
.java:1)
    at
com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java
:11)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
85)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.ja
va:9)

Original issue reported on code.google.com by Anjan.K....@gmail.com on 5 Mar 2008 at 11:06

GoogleCodeExporter commented 8 years ago
same as above

idea build #9886

my system is Win Vista x64

Stack Trace
@NotNull method 
org/jetbrains/android/compiler/AndroidDexCompiler$DexItem.getFile
must not return null: @NotNull method
org/jetbrains/android/compiler/AndroidDexCompiler$DexItem.getFile must not 
return null
java.lang.IllegalStateException: @NotNull method
org/jetbrains/android/compiler/AndroidDexCompiler$DexItem.getFile must not 
return null
    at
org.jetbrains.android.compiler.AndroidDexCompiler$DexItem.getFile(AndroidDexComp
iler.java:195)
    at com.intellij.compiler.impl.CompileDriver$17.run(CompileDriver.java:19)
    at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationI
mpl.java:343)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:723)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:901)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:583)
    at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:804)
    at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:572)
    at com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:6)
    at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:160)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(Progress
ManagerImpl.java:3)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl
.java:5)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgre
ss(ProgressManagerImpl.java:13)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManage
rImpl.java:101)
    at
com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl
.java:16)
    at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:5)

For easy reproduce im trying to build 
android-sdk-windows-1.5_r3\platforms\android-1.5\samples\ApiDemos
from
http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r3.zip

Original comment by CTAPbIuMABP on 6 Sep 2009 at 7:36

GoogleCodeExporter commented 8 years ago
has there been any resolution to this. I am seeing the same behavoir.

Windows 7 ( 64bit)

Original comment by bill.sme...@gmail.com on 13 Jan 2010 at 4:35