cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: dateTime Unmarshall error
Date Mon, 23 Jul 2012 15:58:53 GMT
On Wednesday, July 18, 2012 11:19:31 AM johngalt wrote:
> I'm now getting this error on the server side with using requests with
> elements of xsd dateTime in.
> Nothing in the wsdl or xsd changed.  I'm sending the dateTime as
> CCYY-MM-DDThh:mm:ss same as before.
> I haven't change the version of any other libraries I use.
> 
> Any idea why this would pop up all the sudden?

Did you change the JDK at all?    This error is coming from the Xerces stuff 
built into the JDK.  We have seen very different behavior in the 
XMLGregorianCalendarImpl stuff between JDK versions which could account for 
this.  :-(

Dan



> 
> Thanks
> 
> WARNING: Interceptor for
> {http://dg.ingest.com/Arrival}TranscodeService#{http://dg.ingest.com/Arriv
> al}transcode has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Unmarshalling Error:
> 	at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:
> 823) at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:
> 644) at
> org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:157) at
> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLitera
> lInInterceptor.java:200) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorCha
> in.java:262) at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiation
> Observer.java:122) at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPD
> estination.java:211) at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Servl
> etController.java:213) at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletControlle
> r.java:193) at
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringSe
> rvlet.java:129) at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstrac
> tHTTPServlet.java:187) at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPSe
> rvlet.java:110) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPS
> ervlet.java:166) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> onFilterChain.java:305) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> Chain.java:210) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> java:225) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> java:169) at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBa
> se.java:472) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> 68) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:9
> 8) at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja
> va:118) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407
> ) at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Pro
> cessor.java:999) at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstr
> actProtocol.java:565) at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.jav
> a:1812) at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
> java:886) at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> :908) at java.lang.Thread.run(Thread.java:662)
> Caused by: javax.xml.bind.UnmarshalException
>  - with linked exception:
> [javax.xml.bind.UnmarshalException:
>  - with linked exception:
> [java.lang.IllegalArgumentException: ]]
> 	at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamExce
> ption(UnmarshallerImpl.java:425) at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unmar
> shallerImpl.java:362) at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unmars
> hallerImpl.java:339) at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java
> :784) at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.access$100(JAXBEncoderDecoder.java:
> 97) at
> org.apache.cxf.jaxb.JAXBEncoderDecoder$1.run(JAXBEncoderDecoder.java:812)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:
> 810) ... 29 more
> Caused by: javax.xml.bind.UnmarshalException:
>  - with linked exception:
> [java.lang.IllegalArgumentException: ]
> 	at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(
> UnmarshallingContext.java:642) at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(
> UnmarshallingContext.java:671) at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(
> UnmarshallingContext.java:667) at
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$12.parse(Runtime
> BuiltinLeafInfoImpl.java:574) at
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$12.parse(Runtime
> BuiltinLeafInfoImpl.java:651) at
> com.sun.xml.bind.v2.runtime.FilterTransducer.parse(FilterTransducer.java:8
> 0) at
> com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransduced
> AccessorImpl.parse(TransducedAccessor.java:243) at
> com.sun.xml.bind.v2.runtime.unmarshaller.LeafPropertyLoader.text(LeafPrope
> rtyLoader.java:61) at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(Unmarsh
> allingContext.java:494) at
> com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.processText(S
> tAXStreamConnector.java:334) at
> com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleEndElem
> ent(StAXStreamConnector.java:212) at
> com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXSt
> reamConnector.java:181) at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unmar
> shallerImpl.java:360) ... 35 more
> Caused by: javax.xml.bind.UnmarshalException:
>  - with linked exception:
> [java.lang.IllegalArgumentException: ]
> 	... 48 more
> Caused by: java.lang.IllegalArgumentException:
> 	at
> com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$
> Parser.parseAndSetYear(XMLGregorianCalendarImpl.java:2850) at
> com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$
> Parser.parse(XMLGregorianCalendarImpl.java:2737) at
> com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.
> <init>(XMLGregorianCalendarImpl.java:433) at
> com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl.newXM
> LGregorianCalendar(DatatypeFactoryImpl.java:532) at
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$12.parse(Runtime
> BuiltinLeafInfoImpl.java:572) ... 44 more
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/dateTime-Unmarshall-error-tp5711258.html
> Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Mime
View raw message