java.lang.NullPointerException

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

    Log4j2 RollingFile with daily rotation

    Stack Overflow | 1 month ago | Kirill Rakhman
    java.lang.NullPointerException
  2. 0

    How to resolve exception(s) thrown when log4j2 rolling file appender triggers?

    Stack Overflow | 5 months ago | R Dub
    java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/impl/Log4jLogEvent$Builder
  3. 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 org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy.getEligibleFiles()
    2. Apache Log4j Core
      Logger.logMessage
      1. org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy.getEligibleFiles(AbstractRolloverStrategy.java:107)
      2. org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy.getEligibleFiles(AbstractRolloverStrategy.java:96)
      3. org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy.getEligibleFiles(AbstractRolloverStrategy.java:89)
      4. org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.purgeAscending(DefaultRolloverStrategy.java:212)
      5. org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.purge(DefaultRolloverStrategy.java:199)
      6. org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.rollover(DefaultRolloverStrategy.java:326)
      7. org.apache.logging.log4j.core.appender.rolling.RollingFileManager.rollover(RollingFileManager.java:310)
      8. org.apache.logging.log4j.core.appender.rolling.RollingFileManager.rollover(RollingFileManager.java:227)
      9. org.apache.logging.log4j.core.appender.rolling.RollingFileManager.checkRollover(RollingFileManager.java:207)
      10. org.apache.logging.log4j.core.appender.RollingFileAppender.append(RollingFileAppender.java:267)
      11. org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
      12. org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
      13. org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
      14. org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
      15. org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:448)
      16. org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:433)
      17. org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:417)
      18. org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:403)
      19. org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:63)
      20. org.apache.logging.log4j.core.Logger.logMessage(Logger.java:146)
      20 frames
    3. Apache Log4j API
      AbstractLogger.info
      1. org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2091)
      2. org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1988)
      3. org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1960)
      4. org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1297)
      4 frames
    4. my.package
      MainKt.main
      1. my.package.MainKt.main(Main.kt:48)
      1 frame