wangfrombupt / smali

Automatically exported from code.google.com/p/smali
0 stars 1 forks source link

gradle build crash in smali:generateAntlrSource #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
gradle build crash in smali:generateAntlrSource

What is the exact smali/baksmali command that you ran?
"gradlew build"

What version of smali/baksmali are you using? What rom are you working
from?
1.4.0 from git

What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.

run "gradlew build" with Win7 x64 and Java 1.7.0_06

* Exception is:
org.gradle.api.UncheckedIOException: Could not normalize path for file 'C:\Users
\Administrator\.gradle\caches\artifacts-14\filestore\org.antlr\antlr\3.2\jar\6b0
acabea7bb3da058200a77178057e47e25cb69\antlr-3.2.jar;C:\Users\Administrator\.grad
le\caches\artifacts-14\filestore\antlr\antlr\2.7.7\jar\83cd2cd674a217ade95a4bb83
a8a14f351f48bd0\antlr-2.7.7.jar;C:\Users\Administrator\.gradle\caches\artifacts-
14\filestore\org.antlr\stringtemplate\3.2\jar\6fe2e3bb57daebd1555494818909f96643
76dd6c\stringtemplate-3.2.jar;C:\Users\Administrator\.gradle\caches\artifacts-14
\filestore\org.antlr\antlr-runtime\3.2\jar\31c746001016c6226bd7356c9f87a6a084ce3
715\antlr-runtime-3.2.jar'.
        at org.gradle.api.internal.file.AbstractFileResolver.normalise(AbstractF
ileResolver.java:118)
        at org.gradle.api.internal.file.AbstractFileResolver.resolve(AbstractFil
eResolver.java:59)
        at org.gradle.api.internal.file.AbstractFileResolver.resolve(AbstractFil
eResolver.java:53)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context$FileCollectionConverter.convertInto(DefaultFileCollectionResolveContext.
java:173)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context.doResolve(DefaultFileCollectionResolveContext.java:134)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context.resolveAsFileCollections(DefaultFileCollectionResolveContext.java:82)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context$FileCollectionConverter.convertInto(DefaultFileCollectionResolveContext.
java:157)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context.doResolve(DefaultFileCollectionResolveContext.java:98)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context.resolveAsFileCollections(DefaultFileCollectionResolveContext.java:82)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context$FileCollectionConverter.convertInto(DefaultFileCollectionResolveContext.
java:157)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context.doResolve(DefaultFileCollectionResolveContext.java:98)
        at org.gradle.api.internal.file.collections.DefaultFileCollectionResolve
Context.resolveAsFileCollections(DefaultFileCollectionResolveContext.java:82)
        at org.gradle.api.internal.changedetection.DefaultFileCacheListener.cach
eable(DefaultFileCacheListener.java:29)
        at org.gradle.api.internal.changedetection.FileCacheBroadcastTaskArtifac
tStateRepository$1.isUpToDate(FileCacheBroadcastTaskArtifactStateRepository.java
:34)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.exec
ute(SkipUpToDateTaskExecuter.java:44)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execut
e(ValidatingTaskExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecu
ter.execute(SkipEmptySourceFilesTaskExecuter.java:41)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter
.execute(SkipTaskWithNoActionsExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execut
e(SkipOnlyIfTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter
.execute(ExecuteAtMostOnceTaskExecuter.java:42)
        at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailur
e(AbstractTask.java:247)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.executeTask(De
faultTaskPlanExecutor.java:52)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.processTask(De
faultTaskPlanExecutor.java:38)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(Defaul
tTaskPlanExecutor.java:30)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(Defau
ltTaskGraphExecuter.java:83)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTask
ExecutionAction.java:29)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:61)
        at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExec
uter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecu
ter.java:67)
        at org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExe
cuter$1.run(TaskCacheLockHandlingBuildExecuter.java:31)
        at org.gradle.cache.internal.DefaultCacheAccess$2.create(DefaultCacheAcc
ess.java:118)
        at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAcc
ess.java:133)
        at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAcc
ess.java:116)
        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(De
faultPersistentDirectoryStore.java:129)
        at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCache
Access.useCache(DefaultTaskArtifactStateCacheAccess.java:79)
        at org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExe
cuter.execute(TaskCacheLockHandlingBuildExecuter.java:29)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:61)
        at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExec
uter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecu
ter.java:67)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildEx
ecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:61)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:54)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default
GradleLauncher.java:158)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle
Launcher.java:113)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun
cher.java:81)
        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav
a:38)
        at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execut
e(InProcessGradleLauncherActionExecuter.java:39)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBu
ild.java:45)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(Build
CommandOnly.java:34)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(
WatchForDisconnection.java:42)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute
(ResetDeprecationLogger.java:24)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execut
e(StartStopIfBuildAndStop.java:33)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.ReturnResult.execute(ReturnRes
ult.java:34)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(Forw
ardClientInput.java:70)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(Forw
ardClientInput.java:68)
        at org.gradle.util.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(For
wardClientInput.java:68)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClien
t.java:60)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(Build
CommandOnly.java:34)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBu
ild(EstablishBuildEnvironment.java:61)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(Build
CommandOnly.java:34)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.
run(StartBuildOrRespondWithBusy.java:45)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator.runCommand(D
aemonStateCoordinator.java:185)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy.do
Build(StartBuildOrRespondWithBusy.java:49)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(Build
CommandOnly.java:34)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.HandleStop.execute(HandleStop.
java:36)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.CatchAndForwardDaemonFailure.e
xecute(CatchAndForwardDaemonFailure.java:32)
        at org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed
(DaemonCommandExecution.java:126)
        at org.gradle.launcher.daemon.server.exec.DefaultDaemonCommandExecuter.e
xecuteCommand(DefaultDaemonCommandExecuter.java:52)
        at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$Co
nnectionWorker.handleCommand(DefaultIncomingConnectionHandler.java:142)
        at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$Co
nnectionWorker.run(DefaultIncomingConnectionHandler.java:116)
        at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecut
orImpl$1.run(DefaultExecutorFactory.java:66)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: 文件名、目录名或卷标语法不正确。
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
        at java.io.File.getCanonicalPath(File.java:589)
        at java.io.File.getCanonicalFile(File.java:614)
        at org.gradle.api.internal.file.AbstractFileResolver.normalise(AbstractF
ileResolver.java:74)
        ... 84 more

BUILD FAILED

Original issue reported on code.google.com by yyjdel...@gmail.com on 24 Sep 2012 at 6:50

GoogleCodeExporter commented 9 years ago
gradlew build --debug >log.log
log.log is in the attachment, and the blow is output to the console
======================================
14:49:17.772 [ERROR] [org.gradle.BuildExceptionReporter]
14:49:17.774 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build aborted
because of an internal error.
14:49:17.774 [ERROR] [org.gradle.BuildExceptionReporter]
14:49:17.774 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
14:49:17.775 [ERROR] [org.gradle.BuildExceptionReporter] Build aborted because o
f an unexpected internal error. Please file an issue at: http://forums.gradle.or
g.

Original comment by yyjdel...@gmail.com on 24 Sep 2012 at 6:52

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jesusfreke@jesusfreke.com on 24 Sep 2012 at 7:10

GoogleCodeExporter commented 9 years ago
I don't have any way to reproduce this, but I just committed a change that I 
think should fix it. Please sync to the latest source, and let me know if it's 
working now.

Original comment by jesusfreke@jesusfreke.com on 24 Sep 2012 at 7:25

GoogleCodeExporter commented 9 years ago
Yes, it works, thank you very much.

Original comment by yyjdel...@gmail.com on 24 Sep 2012 at 7:30

GoogleCodeExporter commented 9 years ago
Great, thanks.

Original comment by jesusfreke@jesusfreke.com on 24 Sep 2012 at 7:33