java.lang.NoClassDefFoundError: com/jcraft/jzlib/ZStream

Atlassian JIRA | Deric Lee | 1 year 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

    h3. Summary SSH checkout does not work in Bamboo 5.9.9 h3. Steps to Reproduce # Add a _Git_ repository with SSH clone URL # Use ssh private key for authentication (or use user/password authentication) # Create a plan and use the created repository # Start the plan h3. Expected Results The plan should complete successfully with the SSH checkout passing h3. Actual Results The below exception is thrown in the atlassian-bamboo.log file: {noformat} 2016-01-21 04:18:36,233 INFO [10-BAM::PlanExec:pool-17-thread-2] [DefaultErrorHandler] Recording an error: Unable to detect changes : TP-TP : com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/local/bin/git ls-remote ssh://1e9360ab-6bd0-48bf-95b5-b7f9f2accb1d@127.0.0.1:47121/foo/bar.git failed with code 128. Working directory was [.]., stderr: Authenticating remote session failed stdout: [Warning: Permanently added '[127.0.0.1]:47121' (RSA) to the list of known hosts., BAMBOO-SSH-PROXY: [While connecting to [git@bitbucket.org/104.192.143.3:22]: Authenticating remote session failed: Session is closed], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.] 2016-01-21 04:18:48,140 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [BuildAgentControllerImpl] Agent 131073 checking build queue for executables... 2016-01-21 04:18:49,353 WARN [PluginSchedulerTask-com.atlassian.bamboo.analytics.basedata.collector.CollectionJob:job] [AuthorizationLoggerListener] Credentials not found: org.acegisecurity.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext; secure object: ReflectiveMethodInvocation: public abstract java.util.List com.atlassian.bamboo.plan.PlanManager.getAllPlans(java.lang.Class); target is of class [com.atlassian.bamboo.plan.PlanManagerImpl]; configuration attributes: [ROLE_USER, ROLE_ANONYMOUS, AFTER_ACL_COLLECTION_READ] 2016-01-21 04:21:32,799 WARN [sshd-SshClient[4772488e]-nio2-thread-2] [ClientSessionImpl] Exception caught java.lang.NoClassDefFoundError: com/jcraft/jzlib/ZStream at org.apache.sshd.common.compression.CompressionZlib.init(CompressionZlib.java:67) at org.apache.sshd.common.session.AbstractSession.receiveNewKeys(AbstractSession.java:1000) at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:366) at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295) at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:256) at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731) at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277) at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:173) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32) at java.security.AccessController.doPrivileged(Native Method) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30) at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) at sun.nio.ch.Invoker$2.run(Invoker.java:218) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround As a workaround, download the attached [^jzlib-1.1.3.jar] and place it in the {{<BambooInstallationDir>/atlassian-bamboo/WEB-INF/lib}} (on Linux) or {{<BambooInstallationDir>\atlassian-bamboo\WEB-INF\lib}} (on Windows) directory and restart Bamboo. Alternatively you can also upgrade to Bamboo 5.10.

    Atlassian JIRA | 1 year ago | Deric Lee [Atlassian]
    java.lang.NoClassDefFoundError: com/jcraft/jzlib/ZStream
  2. 0

    h3. Summary SSH checkout does not work in Bamboo 5.9.9 h3. Steps to Reproduce # Add a _Git_ repository with SSH clone URL # Use ssh private key for authentication (or use user/password authentication) # Create a plan and use the created repository # Start the plan h3. Expected Results The plan should complete successfully with the SSH checkout passing h3. Actual Results The below exception is thrown in the atlassian-bamboo.log file: {noformat} 2016-01-21 04:18:36,233 INFO [10-BAM::PlanExec:pool-17-thread-2] [DefaultErrorHandler] Recording an error: Unable to detect changes : TP-TP : com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/local/bin/git ls-remote ssh://1e9360ab-6bd0-48bf-95b5-b7f9f2accb1d@127.0.0.1:47121/foo/bar.git failed with code 128. Working directory was [.]., stderr: Authenticating remote session failed stdout: [Warning: Permanently added '[127.0.0.1]:47121' (RSA) to the list of known hosts., BAMBOO-SSH-PROXY: [While connecting to [git@bitbucket.org/104.192.143.3:22]: Authenticating remote session failed: Session is closed], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.] 2016-01-21 04:18:48,140 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [BuildAgentControllerImpl] Agent 131073 checking build queue for executables... 2016-01-21 04:18:49,353 WARN [PluginSchedulerTask-com.atlassian.bamboo.analytics.basedata.collector.CollectionJob:job] [AuthorizationLoggerListener] Credentials not found: org.acegisecurity.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext; secure object: ReflectiveMethodInvocation: public abstract java.util.List com.atlassian.bamboo.plan.PlanManager.getAllPlans(java.lang.Class); target is of class [com.atlassian.bamboo.plan.PlanManagerImpl]; configuration attributes: [ROLE_USER, ROLE_ANONYMOUS, AFTER_ACL_COLLECTION_READ] 2016-01-21 04:21:32,799 WARN [sshd-SshClient[4772488e]-nio2-thread-2] [ClientSessionImpl] Exception caught java.lang.NoClassDefFoundError: com/jcraft/jzlib/ZStream at org.apache.sshd.common.compression.CompressionZlib.init(CompressionZlib.java:67) at org.apache.sshd.common.session.AbstractSession.receiveNewKeys(AbstractSession.java:1000) at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:366) at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295) at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:256) at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731) at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277) at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:173) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32) at java.security.AccessController.doPrivileged(Native Method) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30) at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) at sun.nio.ch.Invoker$2.run(Invoker.java:218) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} h3.Workaround As a workaround, download the attached [^jzlib-1.1.3.jar] and place it in the {{<BambooInstallationDir>/atlassian-bamboo/WEB-INF/lib}} (on Linux) or {{<BambooInstallationDir>\atlassian-bamboo\WEB-INF\lib}} (on Windows) directory and restart Bamboo. Alternatively you can also upgrade to Bamboo 5.10.

    Atlassian JIRA | 1 year ago | Deric Lee
    java.lang.NoClassDefFoundError: com/jcraft/jzlib/ZStream
  3. 0

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

    java-monitor.com | 2 years 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

      com/jcraft/jzlib/ZStream

      at org.apache.sshd.common.compression.CompressionZlib.init()
    2. Apache Mina SSHD :: Core
      Nio2CompletionHandler$1.run
      1. org.apache.sshd.common.compression.CompressionZlib.init(CompressionZlib.java:67)
      2. org.apache.sshd.common.session.AbstractSession.receiveNewKeys(AbstractSession.java:1000)
      3. org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:366)
      4. org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295)
      5. org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:256)
      6. org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731)
      7. org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277)
      8. org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
      9. org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187)
      10. org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:173)
      11. org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
      11 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Apache Mina SSHD :: Core
      Nio2CompletionHandler.completed
      1. org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
      1 frame
    5. Java RT
      Thread.run
      1. sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
      2. sun.nio.ch.Invoker$2.run(Invoker.java:218)
      3. sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames