java.lang.NullPointerException

QOS.ch JIRA | Chiiwen Liou | 4 years ago
  1. 0

    Creating an OutputstreamAppender for Logback

    Stack Overflow | 3 years ago | mguymon
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy.isTriggeringEvent()
    2. Logback Core Module
      AppenderAttachableImpl.appendLoopOnAppenders
      1. ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy.isTriggeringEvent(SizeBasedTriggeringPolicy.java:59)
      2. ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:143)
      3. ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103)
      4. ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)
      5. ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48)
      5 frames
    3. Logback Classic Module
      Logger.info
      1. ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:280)
      2. ch.qos.logback.classic.Logger.callAppenders(Logger.java:267)
      3. ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:449)
      4. ch.qos.logback.classic.Logger.filterAndLog_2(Logger.java:440)
      5. ch.qos.logback.classic.Logger.info(Logger.java:615)
      5 frames