[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-233) SchemaResolverDeployer.parse(VFSDeploymentUnit unit, VirtualFile file, T root) needs to validate file InputStream
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Thu Jan 31 01:34:59 EST 2008
SchemaResolverDeployer.parse(VFSDeploymentUnit unit, VirtualFile file, T root) needs to validate file InputStream
-----------------------------------------------------------------------------------------------------------------
Key: JBMICROCONT-233
URL: http://jira.jboss.com/jira/browse/JBMICROCONT-233
Project: JBoss MicroContainer
Issue Type: Bug
Affects Versions: JBossMC-2.0.0.Beta10
Reporter: Scott M Stark
Assigned To: Scott M Stark
Its possible that the file passed into parse fails to return a non-null InputStream. This produces this type of uninformative error:
... 25 more
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:189)
... 29 more
The file InputStream needs to be validated for null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list