[ 
https://issues.apache.org/jira/browse/IO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082517#comment-17082517
 ] 

Otto Fowler commented on IO-665:
--------------------------------

[~ggregory] can you add me as an io contributor, I'll do a pr

> XmlStreamReader throws IOException stream closed on null input stream
> ---------------------------------------------------------------------
>
>                 Key: IO-665
>                 URL: https://issues.apache.org/jira/browse/IO-665
>             Project: Commons IO
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Minor
>
> Had to go into the debugger because when some code passed null into the 
> org.apache.commons.io.input.XmlStreamReader constructor it threw an 
> IOException with the message "Stream closed". 
>  
> This is not accurate. There was no stream. It was null. If a 
> NullPointerException had been thrown instead, this would have been easier to 
> debug.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to