Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 42840 invoked from network); 25 May 2010 19:10:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 19:10:49 -0000 Received: (qmail 67965 invoked by uid 500); 25 May 2010 19:10:49 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 67786 invoked by uid 500); 25 May 2010 19:10:49 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 67722 invoked by uid 99); 25 May 2010 19:10:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 19:10:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 19:10:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4PJAOq2027447 for ; Tue, 25 May 2010 19:10:24 GMT Message-ID: <31323442.41341274814624575.JavaMail.jira@thor> Date: Tue, 25 May 2010 15:10:24 -0400 (EDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2492) NPE in DatatypeConverter after updating to 2.2.4 In-Reply-To: <602640785.1256288579538.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2492. ------------------------------ Assignee: Daniel Kulp Fix Version/s: 2.2.9 Resolution: Fixed Upgraded to JAXB 2.1.13. > NPE in DatatypeConverter after updating to 2.2.4 > ------------------------------------------------ > > Key: CXF-2492 > URL: https://issues.apache.org/jira/browse/CXF-2492 > Project: CXF > Issue Type: Bug > Components: JAXB Databinding > Affects Versions: 2.2.4 > Environment: Java 1.5 > Reporter: Dennis Kieselhorst > Assignee: Daniel Kulp > Priority: Critical > Fix For: 2.2.9 > > > Updated from 2.2.3 to 2.2.4. Now a NullPointer occurs if a nil date is in the soap response: > > Caused by: org.apache.cxf.interceptor.Fault: Unmarshalling Error: java.lang.NullPointerException > at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:661) > at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:533) > at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:128) > at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:99) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:664) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2160) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2040) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1965) > at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) > at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627) > at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:478) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:308) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:260) > at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) > ... 79 more > Caused by: javax.xml.bind.UnmarshalException > - with linked exception: > [javax.xml.bind.UnmarshalException: java.lang.NullPointerException > - with linked exception: > [com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException]] > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:425) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339) > at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:646) > ... 96 more > Caused by: javax.xml.bind.UnmarshalException: java.lang.NullPointerException > - with linked exception: > [com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException] > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642) > at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254) > at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.handleGenericException(Loader.java:241) > at com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader$Single.onNil(XsiNilLoader.java:111) > at com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader.selectLoader(XsiNilLoader.java:69) > at com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader.startElement(ProxyLoader.java:53) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:481) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459) > at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:242) > at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176) > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360) > ... 98 more > Caused by: javax.xml.bind.UnmarshalException: java.lang.NullPointerException > - with linked exception: > [com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException] > ... 109 more > Caused by: com.sun.xml.bind.api.AccessorException: java.lang.NullPointerException > at com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.set(AdaptedAccessor.java:83) > at com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader$Single.onNil(XsiNilLoader.java:108) > ... 105 more > Caused by: java.lang.NullPointerException > at javax.xml.bind.WhiteSpaceProcessor.trim(WhiteSpaceProcessor.java:63) > at javax.xml.bind.DatatypeConverterImpl._parseDateTime(DatatypeConverterImpl.java:310) > at javax.xml.bind.DatatypeConverterImpl.parseDateTime(DatatypeConverterImpl.java:306) > at javax.xml.bind.DatatypeConverter.parseDateTime(DatatypeConverter.java:282) > at de.ewetel.easynet.core.dao.easytel.soap.stub.manageaccountlink.Adapter1.unmarshal(Adapter1.java:13) > at de.ewetel.easynet.core.dao.easytel.soap.stub.manageaccountlink.Adapter1.unmarshal(Adapter1.java:7) > at com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.set(AdaptedAccessor.java:81) > ... 106 more > Binding config: > xmlType="xs:dateTime" > parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime" > printMethod="javax.xml.bind.DatatypeConverter.printDateTime" /> > Since the jaxb dependencies didn't change, I assume that this is a cxf issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.