Commons Digester
  1. Commons Digester
  2. DIGESTER-111

Null InputStream leads to MalformedURLExceptions under JDK 1.5

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1, 2.0
    • Labels:
      None

      Description

      Passing a null InputStream to Digester.parse(InputStream) causes a confusing java.net.MalformedURLException under JDK 1.5

      Would be more user friendly to trap this condition and throw an appropriate exception and message.

      This came up as an issue in Commons Validator - see VALIDATOR-226

        Activity

        Rahul Akolkar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Rahul Akolkar made changes -
        Fix Version/s 2.0 [ 12313572 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Henri Yandell made changes -
        Field Original Value New Value
        Fix Version/s 1.8.1 [ 12312580 ]
        Niall Pemberton created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Niall Pemberton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development