java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

Atlassian JIRA | Oleksiy Ivanov | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After starting Stash I am usually able to use it for some time, several hours or less than hour in some cases. After that exception is shown when Stash accessed from web or via Git client. {noformat} HTTP Status 500 - Filter execution threw an exception type Exception report message Filter execution threw an exception description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Filter execution threw an exception org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) root cause java.lang.NoClassDefFoundError: ch/qos/logback/core/status/ErrorStatus ch.qos.logback.core.recovery.ResilientOutputStreamBase.postIOFailure(ResilientOutputStreamBase.java:101) ch.qos.logback.core.recovery.ResilientOutputStreamBase.write(ResilientOutputStreamBase.java:55) java.io.OutputStream.write(OutputStream.java:75) ch.qos.logback.core.encoder.LayoutWrappingEncoder.doEncode(LayoutWrappingEncoder.java:135) ch.qos.logback.core.OutputStreamAppender.writeOut(OutputStreamAppender.java:188) ch.qos.logback.core.FileAppender.writeOut(FileAppender.java:206) ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:212) ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:175) ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103) ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88) ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48) ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:272) ch.qos.logback.classic.Logger.callAppenders(Logger.java:259) ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:441) ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395) ch.qos.logback.classic.Logger.info(Logger.java:599) com.atlassian.stash.internal.request.DefaultRequestManager.logEndRequest(DefaultRequestManager.java:166) com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:79) com.atlassian.stash.internal.web.filters.RequestAttributeFilter.doFilterInternal(RequestAttributeFilter.java:46) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:54) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.40 logs. Apache Tomcat/7.0.40 {noformat} Also in catalina.out such events {noformat} java.util.logging.ErrorManager: 4: Unable to create [/home/common/atlassian-stash-2.8.2/logs] Exception in thread "scheduler_Worker-5" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439) at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395) at ch.qos.logback.classic.Logger.error(Logger.java:558) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Exception in thread "scheduler_Worker-2" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439) at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395) at ch.qos.logback.classic.Logger.error(Logger.java:558) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) {noformat} Other events {noformat} Nov 23, 2013 7:35:43 PM org.apache.catalina.core.StandardService stopInternal INFO: Stopping service Catalina Nov 23, 2013 7:35:44 PM org.apache.catalina.session.StandardManager doUnload SEVERE: IOException while saving persisted sessions: java.io.FileNotFoundException: /home/common/atlassian-stash-2.8.2/work/Catalina/localhost/_/SESSIONS.ser (No such file or directory) java.io.FileNotFoundException: /home/common/atlassian-stash-2.8.2/work/Catalina/localhost/_/SESSIONS.ser (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:110) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:386) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353) at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5569) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {noformat} User that running Stash has rights to create files in log folder and in other folders of stash home folder as well. Generally folder logs already created and Stash is able to write logs to it.

    Atlassian JIRA | 3 years ago | Oleksiy Ivanov
    java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
  2. 0

    After starting Stash I am usually able to use it for some time, several hours or less than hour in some cases. After that exception is shown when Stash accessed from web or via Git client. {noformat} HTTP Status 500 - Filter execution threw an exception type Exception report message Filter execution threw an exception description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Filter execution threw an exception org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) root cause java.lang.NoClassDefFoundError: ch/qos/logback/core/status/ErrorStatus ch.qos.logback.core.recovery.ResilientOutputStreamBase.postIOFailure(ResilientOutputStreamBase.java:101) ch.qos.logback.core.recovery.ResilientOutputStreamBase.write(ResilientOutputStreamBase.java:55) java.io.OutputStream.write(OutputStream.java:75) ch.qos.logback.core.encoder.LayoutWrappingEncoder.doEncode(LayoutWrappingEncoder.java:135) ch.qos.logback.core.OutputStreamAppender.writeOut(OutputStreamAppender.java:188) ch.qos.logback.core.FileAppender.writeOut(FileAppender.java:206) ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:212) ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:175) ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103) ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88) ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48) ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:272) ch.qos.logback.classic.Logger.callAppenders(Logger.java:259) ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:441) ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395) ch.qos.logback.classic.Logger.info(Logger.java:599) com.atlassian.stash.internal.request.DefaultRequestManager.logEndRequest(DefaultRequestManager.java:166) com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:79) com.atlassian.stash.internal.web.filters.RequestAttributeFilter.doFilterInternal(RequestAttributeFilter.java:46) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy.doFilter(BypassableDelegatingFilterProxy.java:54) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.40 logs. Apache Tomcat/7.0.40 {noformat} Also in catalina.out such events {noformat} java.util.logging.ErrorManager: 4: Unable to create [/home/common/atlassian-stash-2.8.2/logs] Exception in thread "scheduler_Worker-5" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439) at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395) at ch.qos.logback.classic.Logger.error(Logger.java:558) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) Exception in thread "scheduler_Worker-2" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439) at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395) at ch.qos.logback.classic.Logger.error(Logger.java:558) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560) {noformat} Other events {noformat} Nov 23, 2013 7:35:43 PM org.apache.catalina.core.StandardService stopInternal INFO: Stopping service Catalina Nov 23, 2013 7:35:44 PM org.apache.catalina.session.StandardManager doUnload SEVERE: IOException while saving persisted sessions: java.io.FileNotFoundException: /home/common/atlassian-stash-2.8.2/work/Catalina/localhost/_/SESSIONS.ser (No such file or directory) java.io.FileNotFoundException: /home/common/atlassian-stash-2.8.2/work/Catalina/localhost/_/SESSIONS.ser (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:110) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:386) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353) at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5569) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {noformat} User that running Stash has rights to create files in log folder and in other folders of stash home folder as well. Generally folder logs already created and Stash is able to write logs to it.

    Atlassian JIRA | 3 years ago | Oleksiy Ivanov
    java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
  3. 0

    java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

    Google Groups | 6 months ago | José Vilmar Estácio de Souza
    java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1106#187598182

    GitHub | 1 year ago | keinesorgen
    java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

  1. Andreas Häber 1 times, last 1 month ago
1 unregistered visitors

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    ch/qos/logback/classic/spi/ThrowableProxy

    at ch.qos.logback.classic.spi.LoggingEvent.<init>()
  2. Logback Classic Module
    Logger.error
    1. ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126)
    2. ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
    3. ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)
    4. ch.qos.logback.classic.Logger.error(Logger.java:558)
    4 frames
  3. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560)
    1 frame