Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-94

NPE in Validator.java after upgrading to Struts 1.1b3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 16045

    Description

      on line 502, and (484)

      StringTokenizer st = new StringTokenizer(field.getDepends(), ",");

      if field.getDepends() ever returns a null, a null pointer is thrown by the
      StringTokenizer resulting in an error.

      Should be an easy fix.

      Thanks,

      -Jeremy

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeremytan@scualum.com Jeremy Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: