[Issue 2022] New - MavenArtifactArchiver throws java.lang.Exception

View: New views
4 Messages — Rating Filter:   Alert me  

[Issue 2022] New - MavenArtifactArchiver throws java.lang.Exception

by cfk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://hudson.dev.java.net/issues/show_bug.cgi?id=2022
                 Issue #|2022
                 Summary|MavenArtifactArchiver throws java.lang.Exception
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|cfk






------- Additional comments from cfk@... Fri Jul  4 07:55:29 +0000 2008 -------
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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 2022] MavenArtifactArchiver throws java.lang.Exception

by bouiaw-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://hudson.dev.java.net/issues/show_bug.cgi?id=2022






------- Additional comments from bouiaw@... Sun Jul  6 13:22:32 +0000 2008 -------
*** Issue 2024 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 2022] MavenArtifactArchiver throws java.lang.Exception

by anurup :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://hudson.dev.java.net/issues/show_bug.cgi?id=2022






------- Additional comments from anurup@... Mon Jul  7 18:07:24 +0000 2008 -------
I checked out the Hudson code to see what's going on.  Here's the code in
MavenArifactArchiver.java line 117:
   new Exception().fillInStackTrace().printStackTrace();

For some reason, that code is creating (but not throwing) an Exception.  That's
what shows up on the Hudson console output.  However, I'm not sure if this is an
actual error, since the line of code in question doesn't appear to be in an
error handling block.

If this is not an error handling situation, I suggest deleting that line of code.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 2022] MavenArtifactArchiver throws java.lang.Exception

by kohsuke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://hudson.dev.java.net/issues/show_bug.cgi?id=2022



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |DUPLICATE
--------------------------------------------------------------------------------




------- Additional comments from kohsuke@... Mon Jul  7 22:56:04 +0000 2008 -------
Argh. I must have committed a debug code accidentally. Fixed in 1.233.

*** This issue has been marked as a duplicate of 2031 ***

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...

LightInTheBox - Buy quality products at wholesale price