Skip to content

Instantly share code, notes, and snippets.

@pjean
Created Jan 17, 2014
Embed
What would you like to do?
Gradle 1.10, error with the scala plugin.
08:55:47.922 [INFO] [org.gradle.BuildLogger] Starting Build
08:55:47.925 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /Users/philou/.gradle
08:55:47.926 [DEBUG] [org.gradle.BuildLogger] Current dir: /Users/philou/Temp/tests
08:55:47.926 [DEBUG] [org.gradle.BuildLogger] Settings file: null
08:55:47.926 [DEBUG] [org.gradle.BuildLogger] Build file: null
08:55:47.942 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
08:55:47.943 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
08:55:47.944 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
08:55:47.945 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
08:55:48.037 [DEBUG] [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: /Users/philou/.m2/repository
08:55:48.227 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for settings file '/Users/philou/Temp/tests/settings.gradle' (/Users/philou/.gradle/caches/1.10/scripts/settings_3803ajv93o6jdqdir7ibup51bi/SettingsScript/buildscript).
08:55:48.228 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
08:55:48.232 [DEBUG] [org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler] Starting file lock listener thread.
08:55:48.265 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for settings file '/Users/philou/Temp/tests/settings.gradle' (/Users/philou/.gradle/caches/1.10/scripts/settings_3803ajv93o6jdqdir7ibup51bi/SettingsScript/no_buildscript).
08:55:48.265 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
08:55:48.290 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.345 secs
08:55:48.291 [INFO] [org.gradle.BuildLogger] Settings evaluated using settings file '/Users/philou/Temp/tests/settings.gradle'.
08:55:48.386 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: /Users/philou/Temp/tests/gradle.properties
08:55:48.387 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
08:55:48.387 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file '/Users/philou/Temp/tests/build.gradle'.
08:55:48.388 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'tests']
08:55:48.644 [INFO] [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project 'tests' using build file '/Users/philou/Temp/tests/build.gradle'.
08:55:48.647 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file '/Users/philou/Temp/tests/build.gradle' (/Users/philou/.gradle/caches/1.10/scripts/build_16thjnmhpinbbtk002vesa1593/ProjectScript/buildscript).
08:55:48.648 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
08:55:48.655 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file '/Users/philou/Temp/tests/build.gradle' (/Users/philou/.gradle/caches/1.10/scripts/build_16thjnmhpinbbtk002vesa1593/ProjectScript/no_buildscript).
08:55:48.656 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
08:55:49.409 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.765 secs
08:55:49.418 [ERROR] [org.gradle.BuildExceptionReporter]
08:55:49.419 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
08:55:49.419 [ERROR] [org.gradle.BuildExceptionReporter]
08:55:49.419 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
08:55:49.420 [ERROR] [org.gradle.BuildExceptionReporter] Build file '/Users/philou/Temp/tests/build.gradle' line: 11
08:55:49.420 [ERROR] [org.gradle.BuildExceptionReporter]
08:55:49.420 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
08:55:49.420 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'tests'.
08:55:49.420 [ERROR] [org.gradle.BuildExceptionReporter] > Could not create task of type 'ScalaDoc'.
08:55:49.422 [ERROR] [org.gradle.BuildExceptionReporter]
08:55:49.422 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
08:55:49.423 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'tests'.
08:55:49.423 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
08:55:49.423 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:156)
08:55:49.423 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
08:55:49.423 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:507)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:82)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:31)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142)
08:55:49.424 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
08:55:49.425 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
08:55:49.426 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
08:55:49.427 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:46)
08:55:49.427 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
08:55:49.427 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:37)
08:55:49.427 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
08:55:49.427 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
08:55:49.427 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.tasks.TaskInstantiationException: Could not create task of type 'ScalaDoc'.
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:126)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:121)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.injectIntoNewInstance(AbstractTask.java:148)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.TaskFactory.createTaskObject(TaskFactory.java:121)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.TaskFactory.createTask(TaskFactory.java:81)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory.createTask(AnnotationProcessingTaskFactory.java:99)
08:55:49.428 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.DependencyAutoWireTaskFactory.createTask(DependencyAutoWireTaskFactory.java:39)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:52)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:85)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.tasks.TaskContainer$create$0.call(Unknown Source)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.plugins.scala.ScalaPlugin.configureScaladoc(ScalaPlugin.groovy:40)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.plugins.scala.ScalaPlugin.this$2$configureScaladoc(ScalaPlugin.groovy)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.plugins.scala.ScalaPlugin$this$2$configureScaladoc.callCurrent(Unknown Source)
08:55:49.429 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.plugins.scala.ScalaPlugin.apply(ScalaPlugin.groovy:32)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.plugins.scala.ScalaPlugin.apply(ScalaPlugin.groovy)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginContainer.providePlugin(DefaultPluginContainer.java:104)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginContainer.addPluginInternal(DefaultPluginContainer.java:68)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:34)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:101)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:32)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:72)
08:55:49.430 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:39)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.Project$apply.call(Unknown Source)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.Script$apply.callCurrent(Unknown Source)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] at build_16thjnmhpinbbtk002vesa1593.run(/Users/philou/Temp/tests/build.gradle:11)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] ... 30 more
08:55:49.431 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NullPointerException
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.DefaultTask.<init>(DefaultTask.java:33)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.ConventionTask.<init>(ConventionTask.java:28)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.tasks.SourceTask.<init>(SourceTask.java:36)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.tasks.scala.ScalaDoc.<init>(ScalaDoc.java:28)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.tasks.scala.ScalaDoc_Decorated.<init>(Unknown Source)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.DependencyInjectingInstantiator.newInstance(DependencyInjectingInstantiator.java:62)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:124)
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter] ... 57 more
08:55:49.432 [ERROR] [org.gradle.BuildExceptionReporter]
08:55:49.433 [LIFECYCLE] [org.gradle.BuildResultLogger]
08:55:49.433 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
08:55:49.433 [LIFECYCLE] [org.gradle.BuildResultLogger]
08:55:49.433 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 2.283 secs
08:55:49.435 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file '/Users/philou/Temp/tests/build.gradle' (/Users/philou/.gradle/caches/1.10/scripts/build_16thjnmhpinbbtk002vesa1593/ProjectScript/no_buildscript).
08:55:49.435 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file '/Users/philou/Temp/tests/build.gradle' (/Users/philou/.gradle/caches/1.10/scripts/build_16thjnmhpinbbtk002vesa1593/ProjectScript/buildscript).
08:55:49.436 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for settings file '/Users/philou/Temp/tests/settings.gradle' (/Users/philou/.gradle/caches/1.10/scripts/settings_3803ajv93o6jdqdir7ibup51bi/SettingsScript/no_buildscript).
08:55:49.436 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for settings file '/Users/philou/Temp/tests/settings.gradle' (/Users/philou/.gradle/caches/1.10/scripts/settings_3803ajv93o6jdqdir7ibup51bi/SettingsScript/buildscript).
08:55:49.436 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache artifact cache (/Users/philou/.gradle/caches/modules-2) was closed 0 times.
08:55:49.441 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
08:55:49.441 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
08:55:49.444 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryDependencyMetadataCache] In-memory dependency metadata cache closed. Repos cached: 0, cache instances: 0, modules served from cache: 0, artifacts: 0
08:55:49.444 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 0 resolution results binary files in 0.0 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment