Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.3
-
None
-
schema on classpath in src/main/resources
-
Unknown
-
Regression
Description
I get:
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)
\
when I upgrade camel to 2.10.3 and use the validator component:
<camel:to uri="validator:META-INF/xsd/transactiongatetransfertransaction.xsd" />
this did not happen in 2.10.2 or versions before that.
Attachments
Issue Links
- is broken by
-
CAMEL-5864 Pre-XSLT and Validator Type Conversions from byte[] may easily fail
- Resolved
-
CAMEL-5866 Pass Exchange param to TypeConverter.convertTo calls where possible
- Resolved