Uploaded image for project: 'XWork'
  1. XWork
  2. XW-655

DefaultTextProvider : nullpointer if defaultMessage is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.2
    • 2.1.2
    • None
    • None
    • weblogic10 & struts 2.1.3-SNAPSHOT
    • Patch

    Description

      MessageFormat format = new MessageFormat(defaultValue);

      if defaultValue is null, then MessageFormat will throw a NPE ...

      I will include a patch that sets the defaultMessage to the (unfound) key.

      Attachments

        Activity

          People

            rainerh Rainer Hermanns
            beaumkr kris beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: