Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2401

ZipException when deploy myfaces-impl on local repo

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build process
    • Labels:
      None
    • Environment:
      jdk 1.5 u 21, maven 2.0.10 on fedora linux 11 x86_64

      Description

      Trying to run this command from base myfaces core directory:

      mvn clean deploy -DperformRelease=true -DaltDeploymentRepository=myfaces-local-staging::default::scp://localhost/home/lu4242/stage/repo128 -Psign-artifacts -Dpassphrase=???

      Throws this when start to build impl module:

      [INFO] Trace
      org.apache.maven.lifecycle.LifecycleExecutionException: Unable to load metadata
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      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:301)
      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:592)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to load metadata
      at org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils.readModel(IOUtils.java:371)
      at org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils.getModelsFromArtifacts(IOUtils.java:282)
      at org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.execute(BuildMetaDataMojo.java:276)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
      ... 16 more
      Caused by: java.util.zip.ZipException: oversubscribed dynamic bit lengths tree
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
      at java.io.FilterInputStream.read(FilterInputStream.java:111)
      at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
      at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
      at java.io.InputStreamReader.read(InputStreamReader.java:167)
      at com.icl.saxon.aelfred.XmlParser.readDataChunk(XmlParser.java:4292)
      at com.icl.saxon.aelfred.XmlParser.readCh(XmlParser.java:3402)
      at com.icl.saxon.aelfred.XmlParser.tryRead(XmlParser.java:4159)
      at com.icl.saxon.aelfred.XmlParser.tryEncodingDecl(XmlParser.java:3739)
      at com.icl.saxon.aelfred.XmlParser.pushURL(XmlParser.java:3603)
      at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:159)
      at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
      at org.apache.commons.digester.Digester.parse(Digester.java:1785)
      at org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils.readModel(IOUtils.java:364)
      ... 20 more

      The problem is not blocking, because it is possible to do this:

      cd impl
      mvn clean deploy -DperformRelease=true -DaltDeploymentRepository=myfaces-local-staging::default::scp://localhost/home/lu4242/stage/repo128 -Psign-artifacts -Dpassphrase=???

      and continue the deploy. This has never happened on earlier releases, and suggest a problem outside myfaces builder plugin, but anyway it is better to let this one here as reference.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: