Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-331

NullPointerException when initializing logging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.64
    • 0.63
    • main
    • None

      The following error happens when the Logger is GC'ed. As per the JUL javadoc, it should be tested if the logger is null.

      Caused by: java.lang.NullPointerException: null
      	at org.jboss.aesh.util.LoggerUtil.removeAllHandlers(LoggerUtil.java:129)
      	at org.jboss.aesh.util.LoggerUtil.doLog(LoggerUtil.java:122)
      	at org.jboss.aesh.console.settings.SettingsBuilder.create(SettingsBuilder.java:215)
      

            spederse@redhat.com Stale Pedersen
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: