Claus Ibsen created CAMEL-6538:
----------------------------------

             Summary: NPE in validator component if no classpath prefix
                 Key: CAMEL-6538
                 URL: https://issues.apache.org/jira/browse/CAMEL-6538
             Project: Camel
          Issue Type: Bug
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.10.7, 2.11.2, 2.12.0


There is a potentail NPE in validator component
{code}
Caused by: java.lang.NullPointerException
        at 
org.apache.camel.component.validator.DefaultLSResourceResolver.resolveResource(DefaultLSResourceResolver.java:73)
        at 
com.sun.org.apache.xerces.internal.util.DOMEntityResolverWrapper.resolveEntity(DOMEntityResolverWrapper.java:109)
        at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1056)
...
{code}

When the resource loader tries to load the XSD, I get a null pointer exception 
thrown as there is no path before the file name and the 
DefaultLSResourceResolver trying to call intern() on a null value.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to