[
http://jira.jboss.com/jira/browse/JBDEPLOY-1?page=all ]
Ales Justin reassigned JBDEPLOY-1:
----------------------------------
Assignee: Ales Justin (was: Scott M Stark)
SchemaResolverDeployer.parse(VFSDeploymentUnit unit, VirtualFile
file, T root) needs to validate file InputStream
-----------------------------------------------------------------------------------------------------------------
Key: JBDEPLOY-1
URL:
http://jira.jboss.com/jira/browse/JBDEPLOY-1
Project: JBoss Deployers
Issue Type: Bug
Components: parsing
Reporter: Scott M Stark
Assigned To: Ales Justin
Fix For: JBDEPLOY-2.0.0.Beta11
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