hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Defect HAP-417 is marked as resolved in version 2.1.6 but it is not: whenever I add the Deploy to Artifactory post build action in Jenkins the build fails due to problems with dependencies. [workspace] $ /usr/java/default//bin/java -Dm3plugin.lib=/root/.jenkins/cache/artifactory-plugin/2.1.8 -Dmaven3.interceptor.common=/root/.jenkins/cache/artifactory-plugin/2.1.8 -cp /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/opt/maven/boot/plexus-classworlds-2.4.2.jar:/opt/maven/conf/logging jenkins.maven3.agent.Maven31Main /opt/maven /opt/apache-tomcat-7.0.42/webapps/jenkins/WEB-INF/lib/remoting-2.32.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 42171 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /root/.jenkins/jobs/template/workspace/pom.xml installjava.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) channel stopped ERROR: Failed to parse POMs hudson.util.IOException2 at hudson.maven.Maven3Builder.call(Maven3Builder.java:183) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) ... 9 more Caused by: java.lang.Exception: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:184) ... 14 more Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) ... 14 more Finished: FAILURE
    via by Roberto Lo Giacco,
  • Defect HAP-417 is marked as resolved in version 2.1.6 but it is not: whenever I add the Deploy to Artifactory post build action in Jenkins the build fails due to problems with dependencies. [workspace] $ /usr/java/default//bin/java -Dm3plugin.lib=/root/.jenkins/cache/artifactory-plugin/2.1.8 -Dmaven3.interceptor.common=/root/.jenkins/cache/artifactory-plugin/2.1.8 -cp /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/opt/maven/boot/plexus-classworlds-2.4.2.jar:/opt/maven/conf/logging jenkins.maven3.agent.Maven31Main /opt/maven /opt/apache-tomcat-7.0.42/webapps/jenkins/WEB-INF/lib/remoting-2.32.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 42171 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /root/.jenkins/jobs/template/workspace/pom.xml installjava.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) channel stopped ERROR: Failed to parse POMs hudson.util.IOException2 at hudson.maven.Maven3Builder.call(Maven3Builder.java:183) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) ... 9 more Caused by: java.lang.Exception: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:184) ... 14 more Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) ... 14 more Finished: FAILURE
    via by Roberto Lo Giacco,
  • Within a "maven 2/3 job", the build works perfectly when no option from the Jenkins Artifactory Plugin is enabled. But the build fails as soon as any single option from the "Jenkins Artifcatory Plugin" is enabled (even if not used by the said build). {noformat} Parsing POMs [workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK7-autoinstall/bin/java -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.8 -Dmaven3.interceptor.common=/var/lib/jenkins/cache/artifactory-plugin/2.1.8 -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3-autoinstall/boot/plexus-classworlds-2.4.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3-autoinstall/conf/logging jenkins.maven3.agent.Maven31Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3-autoinstall /var/cache/jenkins/war/WEB-INF/lib/remoting-2.32.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 47483 <===[JENKINS REMOTING CAPACITY]===>channel started java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {noformat} The same exception occures when building a job configured with option among : * resolve artifacts from artifactory * deploy to artifactory (as a post step) The maven build works perfectly fine if the option "Enable Artifactory release management" is enabled. I haven't tested releasing the project though.
    via by Remi Fouilloux,
  • Within a "maven 2/3 job", the build works perfectly when no option from the Jenkins Artifactory Plugin is enabled. But the build fails as soon as any single option from the "Jenkins Artifcatory Plugin" is enabled (even if not used by the said build). {noformat} Parsing POMs [workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK7-autoinstall/bin/java -Dm3plugin.lib=/var/lib/jenkins/cache/artifactory-plugin/2.1.8 -Dmaven3.interceptor.common=/var/lib/jenkins/cache/artifactory-plugin/2.1.8 -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3-autoinstall/boot/plexus-classworlds-2.4.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3-autoinstall/conf/logging jenkins.maven3.agent.Maven31Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3-autoinstall /var/cache/jenkins/war/WEB-INF/lib/remoting-2.32.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar 47483 <===[JENKINS REMOTING CAPACITY]===>channel started java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {noformat} The same exception occures when building a job configured with option among : * resolve artifacts from artifactory * deploy to artifactory (as a post step) The maven build works perfectly fine if the option "Enable Artifactory release management" is enabled. I haven't tested releasing the project though.
    via by Remi Fouilloux,
  • Issue with 3.4-M5-SNAPSHOT
    via GitHub by BasavaiahD
    ,
  • JAVA 1.8 Autowire : No unique bean
    via Stack Overflow by user2007861
    ,
  • GitHub comment 75#89492872
    via GitHub by vijayranker
    ,
    • hudson.util.IOException2 at hudson.maven.Maven3Builder.call(Maven3Builder.java:183) at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) ... 9 more Caused by: java.lang.Exception: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:184) ... 14 more Caused by: java.lang.ClassNotFoundException: org.jvnet.hudson.maven3.launcher.Maven3Launcher at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:145) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:267) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) ... 14 more

    Users with the same issue

    osvzs
    osvzs2 times, last one,
    Nikolay Rybak
    Nikolay Rybak6 times, last one,
    rsprangemeijer
    rsprangemeijer11 times, last one,
    andyglick
    andyglick1 times, last one,
    andyglick
    andyglick2 times, last one,
    94 more bugmates