[ https://issues.apache.org/jira/browse/IO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082309#comment-17082309 ]
Michael Osipov commented on IO-665: ----------------------------------- Strongly support this! [~ggregory] > 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)