Willem Jiang created CAMEL-6128:
-----------------------------------
Summary: JAXB fallbackConveter unmarshal falls with XStreamReader
Key: CAMEL-6128
URL: https://issues.apache.org/jira/browse/CAMEL-6128
Project: Camel
Issue Type: Bug
Reporter: Willem Jiang
Assignee: Willem Jiang
When using Get the request object from the CxfPayload Message, we will get this
kind of error.
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[javax.xml.bind.UnmarshalException: Namespace URIs and local names to the
unmarshaller needs to be interned.]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:425)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:332)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
org.apache.camel.converter.jaxb.FallbackTypeConverter.unmarshal(FallbackTypeConverter.java:253)[236:org.apache.camel.camel-jaxb:2.10.0]
at
org.apache.camel.converter.jaxb.FallbackTypeConverter.unmarshall(FallbackTypeConverter.java:165)[236:org.apache.camel.camel-jaxb:2.10.0]
at
org.apache.camel.converter.jaxb.FallbackTypeConverter.convertTo(FallbackTypeConverter.java:90)[236:org.apache.camel.camel-jaxb:2.10.0]
... 48 more
Caused by: javax.xml.bind.UnmarshalException: Namespace URIs and local names to
the unmarshaller needs to be interned.
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:249)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:114)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1049)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:478)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:242)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360)[158:org.apache.servicemix.bundles.jaxb-impl:2.2.1.1_2]
... 52 more
--
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