java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper

Jenkins JIRA | Aviv Yam | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    This is critical, since those artifacts will be deleted after the job is finished. {code} 2014-10-10 16:22:32 ERROR: Failed to archive artifacts: *.tar.gz 2014-10-10 16:22:32 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 2014-10-10 16:22:32 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 2014-10-10 16:22:32 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183) 2014-10-10 16:22:32 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 2014-10-10 16:22:32 at hudson.model.Build$BuildExecution.post2(Build.java:183) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 2014-10-10 16:22:32 at hudson.model.Run.execute(Run.java:1757) 2014-10-10 16:22:32 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 2014-10-10 16:22:32 at hudson.model.ResourceController.execute(ResourceController.java:88) 2014-10-10 16:22:32 at hudson.model.Executor.run(Executor.java:234) 2014-10-10 16:22:32 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:772) 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:767) 2014-10-10 16:22:32 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 2014-10-10 16:22:32 ... 11 more 2014-10-10 16:22:32 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 2014-10-10 16:22:32 at hudson.util.IOUtils.mode(IOUtils.java:128) 2014-10-10 16:22:32 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 2014-10-10 16:22:32 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 2014-10-10 16:22:32 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 2014-10-10 16:22:32 at hudson.FilePath.writeToTar(FilePath.java:2083) 2014-10-10 16:22:32 at hudson.FilePath.access$1000(FilePath.java:180) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2024) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2020) 2014-10-10 16:22:32 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 2014-10-10 16:22:32 at hudson.remoting.Request$2.run(Request.java:328) 2014-10-10 16:22:32 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 2014-10-10 16:22:32 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 2014-10-10 16:22:32 at java.lang.Thread.run(Thread.java:744) 2014-10-10 16:22:32 Sending e-mails to: aviv.yamsimhay@emc.com 2014-10-10 16:22:37 Finished: FAILURE {code}

    Jenkins JIRA | 3 years ago | Aviv Yam
    java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
  2. 0

    This is critical, since those artifacts will be deleted after the job is finished. {code} 2014-10-10 16:22:32 ERROR: Failed to archive artifacts: *.tar.gz 2014-10-10 16:22:32 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047) 2014-10-10 16:22:32 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) 2014-10-10 16:22:32 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:183) 2014-10-10 16:22:32 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) 2014-10-10 16:22:32 at hudson.model.Build$BuildExecution.post2(Build.java:183) 2014-10-10 16:22:32 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) 2014-10-10 16:22:32 at hudson.model.Run.execute(Run.java:1757) 2014-10-10 16:22:32 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 2014-10-10 16:22:32 at hudson.model.ResourceController.execute(ResourceController.java:88) 2014-10-10 16:22:32 at hudson.model.Executor.run(Executor.java:234) 2014-10-10 16:22:32 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:772) 2014-10-10 16:22:32 at hudson.remoting.Channel$3.adapt(Channel.java:767) 2014-10-10 16:22:32 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 2014-10-10 16:22:32 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045) 2014-10-10 16:22:32 ... 11 more 2014-10-10 16:22:32 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper 2014-10-10 16:22:32 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91) 2014-10-10 16:22:32 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29) 2014-10-10 16:22:32 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) 2014-10-10 16:22:32 at hudson.util.IOUtils.mode(IOUtils.java:128) 2014-10-10 16:22:32 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101) 2014-10-10 16:22:32 at hudson.util.DirScanner.scanSingle(DirScanner.java:49) 2014-10-10 16:22:32 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571) 2014-10-10 16:22:32 at hudson.FilePath.writeToTar(FilePath.java:2083) 2014-10-10 16:22:32 at hudson.FilePath.access$1000(FilePath.java:180) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2024) 2014-10-10 16:22:32 at hudson.FilePath$41.invoke(FilePath.java:2020) 2014-10-10 16:22:32 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 2014-10-10 16:22:32 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 2014-10-10 16:22:32 at hudson.remoting.Request$2.run(Request.java:328) 2014-10-10 16:22:32 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 2014-10-10 16:22:32 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 2014-10-10 16:22:32 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 2014-10-10 16:22:32 at java.lang.Thread.run(Thread.java:744) 2014-10-10 16:22:32 Sending e-mails to: aviv.yamsimhay@emc.com 2014-10-10 16:22:37 Finished: FAILURE {code}

    Jenkins JIRA | 3 years ago | Aviv Yam
    java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
  3. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.&lt;init&gt;(AbstractAutowireCapableBeanFactory. java:121) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.&lt;init&gt;(AbstractAutowireCapableBeanFactory. java:168) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.DefaultL istableBeanFactory. &lt;init&gt;(DefaultListableBeanFactory.java:163) ~[spring-beans-3.1.4.RELEASE.jar:3.1 .4.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.createBeanFactory(AbstractRefreshableApplicat ionContext.java:194) ~[spring- context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplica tionContext.java:127) ~[spring -context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:5 37) ~[spring-context-3.2.2.REL EASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.refres h(AbstractApplicationContext.java:451) ~[spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebA pplicationContext(ContextLoader.java:389) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.R ELEASE] at org.springframework.web.context.ContextLoader.init WebApplicationConte xt(ContextLoader.java:294) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextInitiali zed(ContextLoaderListener.java:112) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex t.java:4791) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInte rnal(StandardContex t.java:5285) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  6. 0

    Grails : production server only : spring.ReloadAwareAutowireCapableBeanFactory

    Stack Overflow | 3 years ago | Snite
    java.lang.NoClassDefFoundError: org/springframework/orm/jpa/EntityManagerFactoryUtils

    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.lang.NoClassDefFoundError

      Could not initialize class jnr.posix.JavaLibCHelper

      at jnr.posix.JavaPOSIX.<init>()
    2. JRuby Main Maven Artifact
      LazyPOSIX.stat
      1. jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31)
      2. jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91)
      3. jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57)
      4. jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33)
      5. jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29)
      6. jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267)
      6 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.util.IOUtils.mode(IOUtils.java:128)
      2. hudson.util.io.TarArchiver.visit(TarArchiver.java:101)
      3. hudson.util.DirScanner.scanSingle(DirScanner.java:49)
      4. hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571)
      5. hudson.FilePath.writeToTar(FilePath.java:2083)
      6. hudson.FilePath.access$1000(FilePath.java:180)
      7. hudson.FilePath$41.invoke(FilePath.java:2024)
      8. hudson.FilePath$41.invoke(FilePath.java:2020)
      9. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492)
      9 frames
    4. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:328)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:744)
      4 frames