java.lang.NullPointerException

QOS.ch JIRA | Anders Wallgren | 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.helper.SizeAndTimeBasedArchiveRemover.cleanByPeriodOffset()
    2. Logback Core Module
      AppenderAttachableImpl.appendLoopOnAppenders
      1. ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover.cleanByPeriodOffset(SizeAndTimeBasedArchiveRemover.java:41)
      2. ch.qos.logback.core.rolling.helper.DefaultArchiveRemover.clean(DefaultArchiveRemover.java:71)
      3. ch.qos.logback.core.rolling.TimeBasedRollingPolicy.rollover(TimeBasedRollingPolicy.java:166)
      4. ch.qos.logback.core.rolling.RollingFileAppender.rollover(RollingFileAppender.java:115)
      5. ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:148)
      6. ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103)
      7. ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)
      8. ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48)
      8 frames
    3. com.electriccloud.log
      AsyncAppender$Dispatcher.run
      1. com.electriccloud.log.AsyncAppender$Dispatcher.run(AsyncAppender.java:260)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame