[jboss-jira] [JBoss JIRA] Updated: (JBMICROCONT-233) SchemaResolverDeployer.parse(VFSDeploymentUnit unit, VirtualFile file, T root) needs to validate file InputStream
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Thu Feb 28 08:55:42 EST 2008
[ http://jira.jboss.com/jira/browse/JBMICROCONT-233?page=all ]
Adrian Brock updated JBMICROCONT-233:
-------------------------------------
Component/s: Deployment
Fix Version/s: JBossMC-2.0.0.CR1
> 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
> Components: Deployment
> Affects Versions: JBossMC-2.0.0.Beta10
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossMC-2.0.0.CR1
>
>
> 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