Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2022

MavenArtifactArchiver throws java.lang.Exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: Linux

      When Hudson tries to archive the build artifacts an exception is thrown.
      Here's the log message:

      [HUDSON] Archiving
      /home/pnc-build/hudson-home/jobs/VERTRAG_PNC_OAP_GUI_EAR/workspace/pom.xml to
      /home/pnc-build/hudson-home/jobs/VERTRAG_PNC_OAP_GUI_EAR/modules/de.corag.vertrag.pnc.oap.gui$vertrag_pnc_oap_gui_ear/builds/2008-07-04_09-50-15/archive/de.corag.vertrag.pnc.oap.gui/vertrag_pnc_oap_gui_ear/1.0-SNAPSHOT/pom.xml

      [HUDSON] Archiving
      /home/pnc-build/hudson-home/jobs/VERTRAG_PNC_OAP_GUI_EAR/workspace/target/de_corag_pnc_vertrag_pnc_oap_gui_ear-1.0-SNAPSHOT.ear
      to
      /home/pnc-build/hudson-home/jobs/VERTRAG_PNC_OAP_GUI_EAR/modules/de.corag.vertrag.pnc.oap.gui$vertrag_pnc_oap_gui_ear/builds/2008-07-04_09-50-15/archive/de.corag.vertrag.pnc.oap.gui/vertrag_pnc_oap_gui_ear/1.0-SNAPSHOT/de_corag_pnc_vertrag_pnc_oap_gui_ear-1.0-SNAPSHOT.ear

      [HUDSON] Archiving
      /home/pnc-build/hudson-home/jobs/VERTRAG_PNC_OAP_GUI_EAR/workspace/target/de_corag_pnc_vertrag_pnc_oap_gui_ear-1.0-SNAPSHOT-sources.jar
      to
      /home/pnc-build/hudson-home/jobs/VERTRAG_PNC_OAP_GUI_EAR/modules/de.corag.vertrag.pnc.oap.gui$vertrag_pnc_oap_gui_ear/builds/2008-07-04_09-50-15/archive/de.corag.vertrag.pnc.oap.gui/vertrag_pnc_oap_gui_ear/1.0-SNAPSHOT/de_corag_pnc_vertrag_pnc_oap_gui_ear-1.0-SNAPSHOT-sources.jar
      java.lang.Exception
      at
      hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:117)
      at
      hudson.maven.MavenModuleSetBuild$Builder.postModule(MavenModuleSetBuild.java:560)
      at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:261)
      at hudson.maven.MavenBuilder$Adapter.endModule(MavenBuilder.java:232)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor$EventMonitorImpl.endEvent(LifecycleExecutorInterceptor.java:69)
      at
      org.apache.maven.monitor.event.DefaultEventDispatcher.dispatchEnd(DefaultEventDispatcher.java:54)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:42)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
      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:585)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:133)
      at hudson.maven.MavenBuilder.call(MavenBuilder.java:129)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:527)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:473)
      at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      at hudson.remoting.Request$2.run(Request.java:206)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

            Unassigned Unassigned
            cfk cfk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: