hudson.util.IOException2: Cannot start Plexus embedder.

Jenkins JIRA | jlorenzen | 9 years ago
  1. 0

    After hudson runs for awhile (a couple of weeks) all my modules fail to build. To temporarily solve the problem I have to restart hudson; which isn't too fun. I am running on linux and jdk1.5. This is how I am running hudson: java -jar hudson.war. Here is the stacktrace: ERROR: Failed to parse POMs hudson.util.IOException2: Cannot start Plexus embedder. at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:357) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:296) at hudson.FilePath.act(FilePath.java:241) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:221) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:129) at hudson.model.Run.run(Run.java:562) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:159) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:59) Caused by: org.apache.maven.embedder.MavenEmbedderException: Cannot start Plexus embedder. at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:645) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:43) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:337) ... 8 more Caused by: org.codehaus.plexus.PlexusContainerException: Error starting container at org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:787) at org.codehaus.plexus.embed.Embedder.start(Embedder.java:220) at org.codehaus.plexus.embed.Embedder.start(Embedder.java:183) at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:604) ... 10 more Caused by: org.codehaus.plexus.configuration.PlexusConfigurationException: Error reading configuration jar:file:/tmp/winstone/hudson-1.121.war/WEB-INF/lib/maven-profile-2.0.4.jar!/META-INF/plexus/components.xml at org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscoverer.java:89) at org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:717) at org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:779) ... 13 more Caused by: java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.jar.JarFile.<init>(JarFile.java:132) at java.util.jar.JarFile.<init>(JarFile.java:70) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102) at org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscoverer.java:72) ... 15 more finished: FAILURE

    Jenkins JIRA | 9 years ago | jlorenzen
    hudson.util.IOException2: Cannot start Plexus embedder.
  2. 0

    Hello World Broken woth HTTP Status 404 for new and minimal Spring MVC project - Spring Forum

    spring.io | 1 year ago
    java.util.zip.ZipException: invalid CEN header (bad signature)
  3. 0

    Java reports multiple IOExceptions and Null Pointer Exceptions when launching netbeans

    Netbeans Bugzilla | 1 decade ago | colinj
    java.util.zip.ZipException: The system cannot find the path specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jar Indexing

    Oracle Community | 1 decade ago | 843802
    java.util.zip.ZipException: No such file or directory
  6. 0

    Strange behaviour: war files corrupted during upload

    Google Groups | 1 decade ago | werner55
    java.util.zip.ZipException: No such file or directory

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.zip.ZipException

      No such file or directory

      at java.util.zip.ZipFile.open()
    2. Java RT
      JarURLConnection.connect
      1. java.util.zip.ZipFile.open(Native Method)
      2. java.util.zip.ZipFile.<init>(ZipFile.java:203)
      3. java.util.jar.JarFile.<init>(JarFile.java:132)
      4. java.util.jar.JarFile.<init>(JarFile.java:70)
      5. sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
      6. sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
      7. sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)
      8. sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
      8 frames
    3. Plexus
      DefaultPlexusContainer.start
      1. org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscoverer.java:72)
      2. org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:717)
      3. org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:779)
      3 frames
    4. Maven
      Embedder.start
      1. org.codehaus.plexus.embed.Embedder.start(Embedder.java:220)
      2. org.codehaus.plexus.embed.Embedder.start(Embedder.java:183)
      2 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild$PomParser.invoke
      1. hudson.maven.MavenEmbedder.start(MavenEmbedder.java:604)
      2. hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:43)
      3. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:337)
      4. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:296)
      4 frames
    6. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:241)
      1 frame
    7. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.doRun
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:221)
      1 frame
    8. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:129)
      2. hudson.model.Run.run(Run.java:562)
      2 frames
    9. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:159)
      1 frame
    10. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:66)
      2. hudson.model.Executor.run(Executor.java:59)
      2 frames