Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1753

NPE in logback classic module (1.2.11)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 1.2.11
    • logback-classic
    • None
    • OS: CentOS 7
      JDK: 11
      Spring boot: 2.3.6.RELEASE
      Spring web/MVC : 5.2.20.RELEASE
      Tomcat: tomcat-embed-core-9.0.39.jar

    Description

      Getting NullPointerException exceptions from Logback classic module. Is it very hard to tell what might be causing it. Also, issues gets fix after the application restart, and again it starts occurring after an interval. Below are the logs

      java.lang.NullPointerException: null at ch.qos.logback.classic.Logger.callAppenders(Logger.java:264)
      at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421)
      at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)
      at ch.qos.logback.classic.Logger.info(Logger.java:579)
      

      Attachments

        Activity

          People

            logback-dev Logback dev list
            charit.saini Charit Saini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: