Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-76

Jdk14Logger Throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.0.1
    • None
    • Operating System: All
      Platform: All

    • 10737

    Description

      When passed a null reference to all of the logging methods, a NullPointer
      exception will result at the .toString() method call. I changed all of the

      message.toString()

      to

      String.valueOf(message)

      This was obsfucating another error in Struts.

      Attachments

        Activity

          People

            Unassigned Unassigned
            glm@hilbertinc.com Gary Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: