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

Jdk14Logger Throws NullPointerException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.1
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: