Created
August 3, 2017 10:55
-
-
Save mmalmeida/a61f892d04f8564265deeb3f17bf92cc to your computer and use it in GitHub Desktop.
Jenkins Maven Job fails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy managed file [MySettings] to file:/srv/webapps/jenkins/jobs/acceptance2/workspace@tmp/config2078458608718971600tmp | |
Parsing POMs | |
Established TCP socket on 35612 | |
[workspace] $ java -Xms128m -Xmx2048m -cp /srv/webapps/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.11.jar:/srv/webapps/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Jenkins_maven/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /srv/webapps/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Jenkins_maven /var/lib/tomcat7/webapps/jenkins/WEB-INF/lib/remoting-3.7.jar /srv/webapps/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.11.jar /srv/webapps/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.11.jar 35612 | |
Exception in thread "main" java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:140) | |
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:70) | |
Caused by: java.lang.RuntimeException: Root directory not writable: /usr/share/tomcat7/.jenkins/cache/jars | |
at hudson.remoting.FileSystemJarCache.<init>(FileSystemJarCache.java:53) | |
at hudson.remoting.Launcher.main(Launcher.java:638) | |
at hudson.remoting.Launcher.main(Launcher.java:629) | |
at hudson.remoting.Launcher.main(Launcher.java:625) | |
... 6 more | |
ERROR: ================================================================================ | |
ERROR: Invalid project setup: Connection reset | |
Deleting 1 temporary files | |
ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue). | |
java.lang.NullPointerException | |
at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:304) | |
at hudson.maven.ProcessCache.get(ProcessCache.java:236) | |
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:803) | |
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) | |
at hudson.model.Run.execute(Run.java:1735) | |
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542) | |
at hudson.model.ResourceController.execute(ResourceController.java:97) | |
at hudson.model.Executor.run(Executor.java:405) | |
project=hudson.maven.MavenModuleSet@68100d7f[acceptance2] | |
project.getModules()=[hudson.maven.MavenModule@1b824c8f[acceptance2/com.itclinical.test:acceptance-cucumber][acceptance2/com.itclinical.test:acceptance-cucumber][relativePath:]] | |
project.getRootModule()=hudson.maven.MavenModule@1b824c8f[acceptance2/com.itclinical.test:acceptance-cucumber][acceptance2/com.itclinical.test:acceptance-cucumber][relativePath:] | |
FATAL: null | |
java.lang.NullPointerException | |
at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:304) | |
at hudson.maven.ProcessCache.get(ProcessCache.java:236) | |
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:803) | |
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) | |
at hudson.model.Run.execute(Run.java:1735) | |
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542) | |
at hudson.model.ResourceController.execute(ResourceController.java:97) | |
at hudson.model.Executor.run(Executor.java:405) | |
Finished: FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment