Build crashed with a ClassCastException after adding a jar exclude parameter


(p89723gfxv23) #1

I tried to exclude some files from a jar and after adding the ‘exclude’ block below Gradle crashed so I’m following the suggestion and filing a bug report.

Currently the task looks like this (yes, I know it’s wrong :slight_smile: ):

jar {

dependsOn configurations.runtime

destinationDir= new File(‘build/jars’)

from {

configurations.runtime.collect {

it.isDirectory() ? it : zipTree(it)

}

}

exclude {

‘*.SF’

} }

Crash log:

:jar

FAILURE: Build aborted because of an internal error.

  • What went wrong: Build aborted because of an unexpected internal error. Please file an issue at: http://forums.gradle.org.

  • Try: Run with --debug option to get additional debug info.

  • Exception is: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean

at $Proxy34.isSatisfiedBy(Unknown Source)

at org.gradle.api.specs.OrSpec.isSatisfiedBy(OrSpec.java:39)

at org.gradle.api.specs.NotSpec.isSatisfiedBy(NotSpec.java:32)

at org.gradle.api.specs.AndSpec.isSatisfiedBy(AndSpec.java:41)

at org.gradle.api.internal.file.collections.DirectoryFileTree.isAllowed(DirectoryFileTree.java:172)

at org.gradle.api.internal.file.collections.DirectoryFileTree.walkDir(DirectoryFileTree.java:149)

at org.gradle.api.internal.file.collections.DirectoryFileTree.visit(DirectoryFileTree.java:119)

at org.gradle.api.internal.file.collections.FileTreeAdapter.visit(FileTreeAdapter.java:96)

at org.gradle.api.internal.file.AbstractFileTree.getFiles(AbstractFileTree.java:37)

at org.gradle.api.internal.file.CompositeFileCollection.getFiles(CompositeFileCollection.java:39)

at org.gradle.api.internal.file.AbstractFileCollection.iterator(AbstractFileCollection.java:60)

at org.gradle.api.internal.changedetection.DefaultFileSnapshotter.snapshot(DefaultFileSnapshotter.java:42)

at org.gradle.api.internal.changedetection.InputFilesChangedUpToDateRule.create(InputFilesChangedUpToDateRule.java:35)

at org.gradle.api.internal.changedetection.CompositeUpToDateRule.create(CompositeUpToDateRule.java:35)

at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$HistoricExecution.calcCurrentState(DefaultTaskArtifactStateRepository.java:80)

at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$HistoricExecution.isUpToDate(DefaultTaskArtifactStateRepository.java:88)

at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.isUpToDate(DefaultTaskArtifactStateRepository.java:128)

at org.gradle.api.internal.changedetection.ShortCircuitTaskArtifactStateRepository$ShortCircuitArtifactState.isUpToDate(ShortCircuitTaskArtifactStateRepository.java:77)

at org.gradle.api.internal.changedetection.FileCacheBroadcastTaskArtifactStateRepository$1.isUpToDate(FileCacheBroadcastTaskArtifactStateRepository.java:37)

at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:44)

at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:57)

at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:41)

at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)

at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:52)

at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:42)

at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:247)

at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:192)

at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:177)

at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:83)

at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:36)

at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)

at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)

at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)

at org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExecuter$1.run(TaskCacheLockHandlingBuildExecuter.java:31)

at org.gradle.cache.internal.DefaultCacheAccess$1.create(DefaultCacheAccess.java:111)

at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:126)

at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:109)

at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:103)

at org.gradle.api.internal.changedetection.DefaultTaskArtifactStateCacheAccess.useCache(DefaultTaskArtifactStateCacheAccess.java:79)

at org.gradle.api.internal.changedetection.TaskCacheLockHandlingBuildExecuter.execute(TaskCacheLockHandlingBuildExecuter.java:29)

at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)

at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)

at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)

at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)

at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)

at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54)

at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:155)

at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)

at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)

at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42)

at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28)

at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)

at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)

at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)

at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)

at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31)

at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20)

at org.gradle.launcher.Main.doAction(Main.java:48)

at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45)

at org.gradle.launcher.Main.main(Main.java:39)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)

at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32)

at org.gradle.launcher.GradleMain.main(GradleMain.java:24)

BUILD FAILED

$ gradle --version

------------------------------------------------------------ Gradle 1.0-rc-3 ------------------------------------------------------------

Gradle build time: Sunday, April 29, 2012 11:51:52 PM UTC Groovy: 1.8.6 Ant: Apache Ant™ version 1.8.2 compiled on December 20 2010 Ivy: 2.2.0 JVM: 1.6.0_31 (Apple Inc. 20.6-b01-413) OS: Mac OS X 10.7.4 x86_64

$ gradle --debug 08:53:56.552 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576] 08:53:57.689 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576] 08:53:57.690 [INFO] [org.gradle.BuildLogger] Starting Build 08:53:57.692 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /my-home-dir/.gradle 08:53:57.693 [DEBUG] [org.gradle.BuildLogger] Current dir: /my-home-dir/workspace/my-project 08:53:57.694 [DEBUG] [org.gradle.BuildLogger] Settings file: null 08:53:57.695 [DEBUG] [org.gradle.BuildLogger] Build file: null 08:53:57.708 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources. 08:53:57.710 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave. 08:53:57.713 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: [] 08:53:57.714 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: [] 08:53:58.252 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576] 08:53:58.265 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576] 08:53:58.268 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.552 secs 08:53:58.271 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script. 08:53:58.421 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: /my-home-dir/workspace/my-project/gradle.properties 08:53:58.422 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue! 08:53:58.427 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file ‘/my-home-dir/workspace/my-project/build.gradle’. 08:53:58.429 [INFO] [org.gradle.BuildLogger] Included projects: [root project ‘my-project’] 08:53:58.432 [INFO] [org.gradle.configuration.BuildScriptProcessor] Evaluating root project ‘my-project’ using build file ‘/my-home-dir/workspace/my-project/build.gradle’. 08:53:58.452 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file ‘/my-home-dir/workspace/my-project/build.gradle’ (/my-home-dir/.gradle/caches/1.0-rc-3/scripts/build_2chlas1f63a0tkeh7ovac0knu7/ProjectScript/buildscript). 08:53:58.507 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 08:53:58.529 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576] 08:53:58.541 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file ‘/my-home-dir/workspace/my-project/build.gradle’ (/my-home-dir/.gradle/caches/1.0-rc-3/scripts/build_2chlas1f63a0tkeh7ovac0knu7/ProjectScript/no_buildscript). 08:53:58.562 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 08:54:02.188 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576] 08:54:02.189 [DEBUG] [org.gradle.configuration.BuildScriptProcessor] Timing: Running the build script took 3.756 secs 08:54:02.309 [INFO] [org.gradle.BuildLogger] All projects evaluated. 08:54:02.424 [INFO] [org.gradle.execution.DefaultTasksBuildExecutionAction] No tasks specified. Using project default tasks ‘dist’ 08:54:02.510 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDependencyResolver] Resolving configuration ‘:runtime’ 08:54:02.656 [DEBUG] [org.gradle.api.internal.externalresource.transport.http.JavaSystemPropertiesHttpProxySettings] Found java system property ‘http.nonProxyHosts’: local|.local|169.254/16|.169.254/16. Will ignore proxy settings for these hosts. 08:54:03.149 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘ivy.default.settings.dir’ to ‘jar:file:/my-home-dir/sys/gradle-1.0-rc-3/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings’ 08:54:03.153 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘ivy.basedir’ to ‘/my-home-dir/workspace/my-project/.’ 08:54:03.155 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘ivy.default.conf.dir’ to ‘jar:file:/my-home-dir/sys/gradle-1.0-rc-3/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings’ 08:54:03.224 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.runtime.name’ to ‘Java™ SE Runtime Environment’ 08:54:03.226 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘jna.platform.library.path’ to ‘/usr/lib:/usr/lib’ 08:54:03.227 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.boot.library.path’ to ‘/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Libraries’ 08:54:03.228 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.version’ to ‘20.6-b01-413’ 08:54:03.229 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘awt.nativeDoubleBuffering’ to ‘true’ 08:54:03.230 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘gopherProxySet’ to ‘false’ 08:54:03.231 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘mrj.build’ to ‘11M3720’ 08:54:03.232 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.vendor’ to ‘Apple Inc.’ 08:54:03.233 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vendor.url’ to ‘http://www.apple.com/’ 08:54:03.234 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘path.separator’ to ‘:’ 08:54:03.235 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.name’ to ‘Java HotSpot™ 64-Bit Server VM’ 08:54:03.236 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘file.encoding.pkg’ to ‘sun.io’ 08:54:03.237 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘user.country’ to ‘US’ 08:54:03.238 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.java.launcher’ to ‘SUN_STANDARD’ 08:54:03.239 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.os.patch.level’ to ‘unknown’ 08:54:03.240 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.specification.name’ to ‘Java Virtual Machine Specification’ 08:54:03.242 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘user.dir’ to ‘/my-home-dir/workspace/my-project’ 08:54:03.243 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.runtime.version’ to ‘1.6.0_31-b04-413-11M3720’ 08:54:03.244 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.awt.graphicsenv’ to ‘apple.awt.CGraphicsEnvironment’ 08:54:03.245 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.endorsed.dirs’ to ‘/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Home/lib/endorsed’ 08:54:03.246 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘os.arch’ to ‘x86_64’ 08:54:03.247 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.io.tmpdir’ to ‘/var/folders/87/570jh9_x4lb42c7x38b2b_400000gn/T/’ 08:54:03.248 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘line.separator’ to ’ ’ 08:54:03.249 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘org.gradle.appname’ to ‘gradle’ 08:54:03.250 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.specification.vendor’ to ‘Sun Microsystems Inc.’ 08:54:03.251 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘os.name’ to ‘Mac OS X’ 08:54:03.252 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘jna.boot.library.path’ to ‘/my-home-dir/.gradle/jna’ 08:54:03.253 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.jnu.encoding’ to ‘MacRoman’ 08:54:03.254 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.library.path’ to ‘.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java’ 08:54:03.256 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.class.version’ to ‘50.0’ 08:54:03.256 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.specification.name’ to ‘Java Platform API Specification’ 08:54:03.257 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.management.compiler’ to ‘HotSpot 64-Bit Tiered Compilers’ 08:54:03.258 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘os.version’ to ‘10.7.4’ 08:54:03.259 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘http.nonProxyHosts’ to ‘local|.local|169.254/16|.169.254/16’ 08:54:03.263 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘user.home’ to ‘/Users/my-username’ 08:54:03.265 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘user.timezone’ to ‘Europe/London’ 08:54:03.266 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.awt.printerjob’ to ‘apple.awt.CPrinterJob’ 08:54:03.267 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.specification.version’ to ‘1.6’ 08:54:03.268 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘file.encoding’ to ‘MacRoman’ 08:54:03.269 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘user.name’ to ‘my-username’ 08:54:03.270 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.class.path’ to ‘/my-home-dir/sys/gradle-1.0-rc-3/lib/gradle-launcher-1.0-rc-3.jar’ 08:54:03.271 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.specification.version’ to ‘1.0’ 08:54:03.272 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.arch.data.model’ to ‘64’ 08:54:03.275 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.home’ to ‘/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Home’ 08:54:03.276 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.java.command’ to ‘org.gradle.launcher.GradleMain --debug’ 08:54:03.277 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.specification.vendor’ to ‘Sun Microsystems Inc.’ 08:54:03.278 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘user.language’ to ‘en’ 08:54:03.280 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘awt.toolkit’ to ‘apple.awt.CToolkit’ 08:54:03.281 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vm.info’ to ‘mixed mode’ 08:54:03.282 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.version’ to ‘1.6.0_31’ 08:54:03.284 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.ext.dirs’ to ‘/Library/Java/Extensions:/System/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Home/lib/ext’ 08:54:03.285 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.boot.class.path’ to ‘/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/jsfd.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/ui.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/laf.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/sunrsasign.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/jsse.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/jce.jar:/Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Classes/charsets.jar’ 08:54:03.286 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vendor’ to ‘Apple Inc.’ 08:54:03.288 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘file.separator’ to ‘/’ 08:54:03.289 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘java.vendor.url.bug’ to ‘http://bugreport.apple.com/’ 08:54:03.290 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.io.unicode.encoding’ to ‘UnicodeLittle’ 08:54:03.291 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.cpu.endian’ to ‘little’ 08:54:03.292 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘mrj.version’ to ‘1070.1.6.0_31-413’ 08:54:03.293 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘socksNonProxyHosts’ to ‘local|.local|169.254/16|.169.254/16’ 08:54:03.295 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘ftp.nonProxyHosts’ to ‘local|.local|169.254/16|.169.254/16’ 08:54:03.296 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘sun.cpu.isalist’ to ‘’ 08:54:03.297 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘ivy.cache.dir’ to ‘/my-home-dir/.gradle/caches/artifacts-13/ivy’ 08:54:03.299 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting ‘ivy.log.modules.in.use’ to ‘false’

… stuff …

08:54:04.582 [LIFECYCLE] [org.gradle.TaskExecutionLogger] :jar 08:54:04.582 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ‘:jar’ 08:54:04.619 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ‘:jar’ is up-to-date 08:54:04.654 [DEBUG] [org.gradle.api.internal.changedetection.DefaultFileCacheListener] Can cache files for file tree 08:54:04.656 [DEBUG] [org.gradle.api.internal.changedetection.DefaultFileCacheListener] Can cache files for directory ‘/my-home-dir/workspace/my-project/build/classes/main’ 08:54:04.659 [DEBUG] [org.gradle.api.internal.changedetection.DefaultFileCacheListener] Can cache files for ZIP ‘/my-home-dir/workspace/my-project/lib/some-library-1.jar’ 08:54:04.659 [DEBUG] [org.gradle.api.internal.changedetection.DefaultFileCacheListener] Can cache files for ZIP ‘/my-home-dir/workspace/my-project/lib/some-library-2.jar’ 08:54:04.727 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ‘:jar’ 08:54:04.733 [ERROR] [org.gradle.BuildExceptionReporter]

08:54:04.735 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build aborted because of an internal error. 08:54:04.736 [ERROR] [org.gradle.BuildExceptionReporter]

08:54:04.737 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 08:54:04.738 [ERROR] [org.gradle.BuildExceptionReporter] Build aborted because of an unexpected internal error. Please file an issue at: http://forums.gradle.org. 08:54:04.739 [LIFECYCLE] [org.gradle.BuildResultLogger]

08:54:04.745 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED 08:54:04.746 [LIFECYCLE] [org.gradle.BuildResultLogger]

08:54:04.747 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 8.933 secs 08:54:04.749 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (/my-home-dir/workspace/my-project/.gradle/1.0-rc-3/taskArtifacts/fileSnapshots.bin) 08:54:04.750 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (/my-home-dir/workspace/my-project/.gradle/1.0-rc-3/taskArtifacts/outputFileStates.bin) 08:54:04.751 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (/my-home-dir/workspace/my-project/.gradle/1.0-rc-3/taskArtifacts/taskArtifacts.bin) 08:54:04.752 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/my-home-dir/workspace/my-project/.gradle/1.0-rc-3/taskArtifacts/fileHashes.bin) 08:54:04.753 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task artifact state cache (/my-home-dir/workspace/my-project/.gradle/1.0-rc-3/taskArtifacts). 08:54:04.754 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file ‘/my-home-dir/workspace/my-project/build.gradle’ (/my-home-dir/.gradle/caches/1.0-rc-3/scripts/build_2chlas1f63a0tkeh7ovac0knu7/ProjectScript/no_buildscript). 08:54:04.755 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file ‘/my-home-dir/workspace/my-project/build.gradle’ (/my-home-dir/.gradle/caches/1.0-rc-3/scripts/build_2chlas1f63a0tkeh7ovac0knu7/ProjectScript/buildscript). 08:54:04.762 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@6076ab2f, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@ee0cc23, org.gradle.logging.internal.JavaUtilLoggingConfigurer@487a1576]


(Luke Daley) #2

This is GRADLE-2288, which has been fixed for 1.1.