Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3082

Incomplete error message when failing to create a form bean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.8
    • 1.3.10, 1.4.0
    • Tag Libraries
    • None
    • Windows XP (but will happen everywhere)

    Description

      Failure to create a form bean results in an incomplete error message.

      Struts 1.3.8, taglib component.

      Class org.apache.struts.taglib.html.FormTag,
      method initFormBean()
      Lines 514-516: Throwing a JspException using the "formTag.create" message.

      The "formTag.create" message receives two arguments, however on lines 514-516 it is given only one argument, resulting in a message such as:

      Exception creating bean of class <class-name>:

      {1}

      Attachments

        Activity

          People

            pbenedict Paul Benedict
            isaac_s Isaac Shabtay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: