camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6128) JAXB fallbackConveter unmarshal falls with XStreamReader
Date Tue, 05 Mar 2013 11:51:12 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang resolved CAMEL-6128.
---------------------------------

    Resolution: Fixed

Applied patch into trunk and 2.10.x-fixes branch.
                
> JAXB fallbackConveter unmarshal falls with XStreamReader
> --------------------------------------------------------
>
>                 Key: CAMEL-6128
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6128
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.10.0, 2.10.1, 2.10.2, 2.10.3, 2.10.4
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.10.5, 2.11.0
>
>
> 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

Mime
View raw message