-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
When the documentantion is being generated with maven goal site, aleatory an
error is thrown:
--------------------------------------------------
FATAL: Unable to copy site from
to
{1}hudson.util.IOException2: java.io.IOException: Not in GZIP format
at hudson.FilePath.copyRecursiveTo(FilePath.java:829)
at hudson.FilePath.copyRecursiveTo(FilePath.java:763)
at hudson.maven.reporters.MavenSiteArchiver.postExecute
(MavenSiteArchiver.java:52)
at hudson.maven.MavenModuleSetBuild$Builder.postExecute
(MavenModuleSetBuild.java:589)
at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:250)
at hudson.maven.agent.PluginManagerInterceptor$1MojoConfig.callPost
(PluginManagerInterceptor.java:104)
at hudson.maven.agent.PluginManagerInterceptor.executeMojo
(PluginManagerInterceptor.java:137)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute
(LifecycleExecutorInterceptor.java:42)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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:528)
at hudson.maven.MavenModuleSetBuild$Builder.call
(MavenModuleSetBuild.java:474)
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)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Not in
GZIP format
at hudson.remoting.Channel$1.adapt(Channel.java:425)
at hudson.remoting.Channel$1.adapt(Channel.java:420)
at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
at hudson.FilePath.copyRecursiveTo(FilePath.java:827)
... 35 more
Caused by: java.io.IOException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:137)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
at hudson.FilePath.readFromTar(FilePath.java:917)
at hudson.FilePath.access$300(FilePath.java:117)
at hudson.FilePath$23.invoke(FilePath.java:818)
at hudson.FilePath$23.invoke(FilePath.java:815)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1122)
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:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
--------------------------------------------------
The problem is related with a jdk (without solution):
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425
But in that post there is a workarround, use a custom class:
- MultiMemberGZIPInputStream
To solve the issue you can modify the class:
- hudson.FilePath
In the method:
- readFromTar
To use the new custom class avoid to use: GZIPInputStream
- is duplicated by
-
JENKINS-7581 exception by archiving site
- Resolved
-
JENKINS-3134 java.io.IOException: Not in GZIP format
- Closed