Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc1
    • Fix Version/s: 2.0-rc2
    • Component/s: Appenders
    • Labels:
      None

      Description

      Our production environment suffers from

      java.lang.NullPointerException at org.apache.logging.log4j.core.async.AsyncLogger.log(AsyncLogger.java:273)
          at org.apache.logging.log4j.spi.AbstractLoggerWrapper.log(AbstractLoggerWrapper.java:121)
          at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1006) 
          at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:873) 
          at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:809)
      

      It looks like something in our app is still logging despite the AsyncLogger having been stopped (and the disruptor field set to null).

      The logger could print out a more informative message in this situation.

        Activity

        Remko Popma made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.0-rc2 [ 12326292 ]
        Resolution Fixed [ 1 ]
        Remko Popma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Remko Popma made changes -
        Assignee Remko Popma [ remkop@yahoo.com ]
        mck made changes -
        Field Original Value New Value
        Description Our production environment suffers from
        {noformat}
        java.lang.NullPointerException at org.apache.logging.log4j.core.async.AsyncLogger.log(AsyncLogger.java:273) at org.apache.logging.log4j.spi.AbstractLoggerWrapper.log(AbstractLoggerWrapper.java:121) at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1006) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:873) at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:809)
        {noformat}

        It looks like something in our app is still logging despite the AsyncLogger having been stopped (and the disruptor field set to null).

        The logger could print out a more informative message in this situation.
        Our production environment suffers from
        {noformat}
        java.lang.NullPointerException at org.apache.logging.log4j.core.async.AsyncLogger.log(AsyncLogger.java:273)
            at org.apache.logging.log4j.spi.AbstractLoggerWrapper.log(AbstractLoggerWrapper.java:121)
            at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1006)
            at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:873)
            at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:809)
        {noformat}

        It looks like something in our app is still logging despite the AsyncLogger having been stopped (and the disruptor field set to null).

        The logger could print out a more informative message in this situation.
        mck created issue -

          People

          • Assignee:
            Remko Popma
            Reporter:
            mck
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development