Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3839

TextProviderHelper causes NPE when "msg" null and WARN log level enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.7
    • None
    • None

    Description

      TextProviderHelper causes a NPE at line 97, when testing "msg.equals(defaultMessage)" with null "msg" (which is always true, see line 81 !) for logging WARN message.

      --> Need to change the log level on this class to pass through.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            akewea Damien Hazard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: