2.14-rc-4 EAR task fails with NullPointerException

11:50:34.158 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :nested-app:test-app:ear FAILED
11:50:34.159 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :nested-app::test-app:ear (Thread[Daemon worker,5,main]) completed. Took 0.748 secs.
11:50:34.159 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker,5,main]] finished, busy: 24.313 secs, idle: 0.005 secs
11:50:34.164 [ERROR] [org.gradle.BuildExceptionReporter] 
11:50:34.166 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:50:34.166 [ERROR] [org.gradle.BuildExceptionReporter] 
11:50:34.166 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
11:50:34.166 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':nested-app::test-app:ear:'.
11:50:34.166 [ERROR] [org.gradle.BuildExceptionReporter] > java.lang.NullPointerException (no error message)
11:50:34.167 [ERROR] [org.gradle.BuildExceptionReporter] 
11:50:34.167 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':nested-app::test-app:ear:'.
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
11:50:34.168 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.Factories$1.create(Factories.java:22)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
11:50:34.169 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
11:50:34.170 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
11:50:34.171 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.util.Swapper.swap(Swapper.java:38)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
11:50:34.172 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NullPointerException
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.plugins.ear.descriptor.internal.DefaultEarModule.equals(DefaultEarModule.java:88)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.plugins.ear.Ear$_closure2.doCall(Ear.groovy:75)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.CopyFileVisitorImpl.processFile(CopyFileVisitorImpl.java:55)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.CopyFileVisitorImpl.visitFile(CopyFileVisitorImpl.java:44)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.AbstractFileTree$FilteredFileTreeImpl$1.visitFile(AbstractFileTree.java:150)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.collections.SingletonFileTree.visit(SingletonFileTree.java:44)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.collections.FileTreeAdapter.visit(FileTreeAdapter.java:109)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.AbstractFileTree$FilteredFileTreeImpl.visit(AbstractFileTree.java:141)
11:50:34.173 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.CompositeFileTree.visit(CompositeFileTree.java:58)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.CopySpecActionImpl.execute(CopySpecActionImpl.java:37)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.CopySpecActionImpl.execute(CopySpecActionImpl.java:24)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.DefaultCopySpec$DefaultCopySpecResolver.walk(DefaultCopySpec.java:515)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.DefaultCopySpec$DefaultCopySpecResolver.walk(DefaultCopySpec.java:517)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.DefaultCopySpec.walk(DefaultCopySpec.java:325)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.CopySpecBackedCopyActionProcessingStream.process(CopySpecBackedCopyActionProcessingStream.java:36)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.DuplicateHandlingCopyActionDecorator$1.process(DuplicateHandlingCopyActionDecorator.java:44)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.NormalizingCopyActionDecorator$1.process(NormalizingCopyActionDecorator.java:56)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.archive.ZipCopyAction$1.execute(ZipCopyAction.java:64)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.archive.ZipCopyAction$1.execute(ZipCopyAction.java:62)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.IoActions.withResource(IoActions.java:74)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.archive.ZipCopyAction.execute(ZipCopyAction.java:62)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.NormalizingCopyActionDecorator.execute(NormalizingCopyActionDecorator.java:52)
11:50:34.174 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.DuplicateHandlingCopyActionDecorator.execute(DuplicateHandlingCopyActionDecorator.java:42)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.file.copy.CopyActionExecuter.execute(CopyActionExecuter.java:38)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.tasks.AbstractCopyTask.copy(AbstractCopyTask.java:83)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter]        ... 68 more
11:50:34.175 [ERROR] [org.gradle.BuildExceptionReporter] 
11:50:34.175 [LIFECYCLE] [org.gradle.BuildResultLogger] 
11:50:34.175 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
11:50:34.175 [LIFECYCLE] [org.gradle.BuildResultLogger] 
11:50:34.176 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 42.286 secs
11:50:34.184 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts/fileHashes.bin)
11:50:34.185 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshotsToTreeSnapshotsIndex.bin (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts/fileSnapshotsToTreeSnapshotsIndex.bin)
11:50:34.185 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache treeSnapshots.bin (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts/treeSnapshots.bin)
11:50:34.185 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache taskArtifacts.bin (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts/taskArtifacts.bin)
11:50:34.186 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileSnapshots.bin (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts/fileSnapshots.bin)
11:50:34.186 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache treeSnapshotUsage.bin (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts/treeSnapshotUsage.bin)
11:50:34.186 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/Users/paul_sideleau/Development/sourcecode/vagrant_docker/dk/respondent/.gradle/2.14-rc-4/taskArtifacts).
11:50:34.186 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 33, cache instances: 3, modules served from cache: 805, artifacts: 753
11:50:34.186 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Generated Gradle JARs cache (/Users/paul_sideleau/.gradle/caches/2.14-rc-4/generated-gradle-jars) was closed 0 times.
11:50:34.186 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-versions.bin (/Users/paul_sideleau/.gradle/caches/modules-2/metadata-2.16/module-versions.bin)
11:50:34.187 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-artifacts.bin (/Users/paul_sideleau/.gradle/caches/modules-2/metadata-2.16/module-artifacts.bin)
11:50:34.187 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-url.bin (/Users/paul_sideleau/.gradle/caches/modules-2/metadata-2.16/artifact-at-url.bin)
11:50:34.188 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/Users/paul_sideleau/.gradle/caches/modules-2/metadata-2.16/module-metadata.bin)
11:50:34.189 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/Users/paul_sideleau/.gradle/caches/modules-2/metadata-2.16/artifact-at-repository.bin)
11:50:34.189 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/Users/paul_sideleau/.gradle/caches/modules-2).
11:50:34.196 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
11:50:34.198 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
11:50:34.199 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.009 secs
11:50:34.199 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache plugin-use-metadata.bin (/Users/paul_sideleau/.gradle/caches/2.14-rc-4/plugin-resolution/plugin-use-metadata.bin)
11:50:34.201 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on Plugin Resolution Cache (/Users/paul_sideleau/.gradle/caches/2.14-rc-4/plugin-resolution).
11:50:34.201 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
11:50:34.201 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
11:50:34.201 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
11:50:34.205 [DEBUG] [org.gradle.launcher.daemon.server.health.DaemonStatus] GC rate: 0.11/s tenured usage: 8%
11:50:34.675 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@57a34cf1
11:50:34.675 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 19: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
11:50:34.675 [INFO] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':pickerEngine:pickerEngine:ear'.] from daemon DaemonInfo{pid=24322, address=[58b6671c-d4f4-4e82-bd34-bd4ed5e6a6e7 port:59030, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], idle=false, lastBusy=1465141793579, context=DefaultDaemonContext[uid=087328e1-9acc-44ff-bbe0-0da9073fe7f9,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home,daemonRegistryDir=/Users/paul_sideleau/.gradle/daemon,pid=24322,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
11:50:34.675 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
11:50:34.676 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop

Are you using a custom application.xml for your build? Could you please check if you are adding the same module twice, e.g. like that:

<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "$dtdResource">
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">
  <application-name>customear</application-name>
  <module>
    <web>
      <web-uri>admin.war</web-uri>
      <context-root>admin</context-root>
    </web>
  </module>
  <module>
    <web>
      <web-uri>admin.war</web-uri>
      <context-root>admin</context-root>
    </web>
  </module>
</application>

Actually, two modules where the path of the war/jar file have the same Hashcode can lead to this exception.

We will fix this for the next RC.

We do NOT have a custom application.xml file

What does your build file for the ear project look like? Do you customize the deployment descriptor in the build file?
The bug should be fixed on the release branch and will be included in 2.14-rc-5.

We are doing a customization:
ear {
deploymentDescriptor {
// this is necessary for the JNDI clients
applicationName = “OurAppName”

// 2015-03-13: gradle had no easier way to set the web module name accurately
webModule(project(':projectdir:projectwebapp').name + '-' + project('projectdir:projectwebapp').version + '.war', "appname")

}
}

Are you adding project(':projectdir:projectwebapp') as a deploy dependency too?

Could you please check if the error is fixed with 2.14-rc-5?

This is fixed. Thank you very much. And wow … the speed improvement is very noticeable with this version of gradle :slight_smile:

Which version did you upgrade from?

We are on 2.13. We upgrade fairly aggressively. I know that the gradle team has been performance improvement in each release but this one appears to be the most apparent to me since probably the upgrade from 2.4 to 2.6