Issue Details (XML | Word | Printable)

Key: DIGESTER-111
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Niall Pemberton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Digester

Null InputStream leads to MalformedURLExceptions under JDK 1.5

Created: 26/Feb/07 05:17 PM   Updated: 05/Jan/09 04:10 PM
Return to search
Component/s: None
Affects Version/s: 1.8
Fix Version/s: 1.8.1, 2.0

Time Tracking:
Not Specified

Resolution Date: 23/Dec/08 05:46 AM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Henri Yandell made changes - 18/Jul/07 09:23 PM
Field Original Value New Value
Fix Version/s 1.8.1 [ 12312580 ]
Rahul Akolkar made changes - 23/Dec/08 05:46 AM
Fix Version/s 2.0 [ 12313572 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Rahul Akolkar made changes - 05/Jan/09 04:10 PM
Status Resolved [ 5 ] Closed [ 6 ]