camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5860) Regression in validator component in 2.10.3
Date Mon, 10 Dec 2012 14:23:21 GMT
David J. M. Karlsen created CAMEL-5860:
------------------------------------------

             Summary: Regression in validator component in 2.10.3
                 Key: CAMEL-5860
                 URL: https://issues.apache.org/jira/browse/CAMEL-5860
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.3
         Environment: schema on classpath in src/main/resources
            Reporter: David J. M. Karlsen


I get:
{noformat}
CaughtExceptionType:java.lang.NullPointerException, CaughtExceptionMessage:null, StackTrace:java.lang.NullPointerException
 at org.apache.camel.converter.jaxp.XmlConverter.toStreamSource(XmlConverter.java:516)   at
org.apache.camel.converter.jaxp.XmlConverter.toSAXSource(XmlConverter.java:399)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)     at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:923)
      at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:66)
  at org.apache.camel.support.TypeConverterSupport.convertTo(TypeConverterSupport.java:34)
       at org.apache.camel.processor.validation.ValidatingProcessor.getSource(ValidatingProcessor.java:343)
   at org.apache.camel.processor.validation.ValidatingProcessor.process(ValidatingProcessor.java:100)
     at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:101)   
   at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71) at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
  at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)    
at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:122) at
org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:298)        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:117)
    at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)  
  at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
       

{noformat}

when I upgrade camel to 2.10.3 and use the validator component:

{noformat}
					<camel:to
						uri="validator:META-INF/xsd/transactiongatetransfertransaction.xsd" />

{noformat}

this did not happen in 2.10.2 or versions before that.

--
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

Mime
View raw message