Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 4671 invoked from network); 21 Oct 2008 00:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 00:27:07 -0000 Received: (qmail 15363 invoked by uid 500); 21 Oct 2008 00:27:09 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 15347 invoked by uid 500); 21 Oct 2008 00:27:09 -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 15336 invoked by uid 99); 21 Oct 2008 00:27:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Oct 2008 17:27:08 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 00:26:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 71F69234C237 for ; Mon, 20 Oct 2008 17:26:44 -0700 (PDT) Message-ID: <462612981.1224548804465.JavaMail.jira@brutus> Date: Mon, 20 Oct 2008 17:26:44 -0700 (PDT) From: "Benson Margulies (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-1878) Databinding HashMap of HashMap of a complex Object In-Reply-To: <1425243989.1224508546585.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benson Margulies reassigned CXF-1878: ------------------------------------- Assignee: Benson Margulies > Databinding HashMap of HashMap of a complex Object > --------------------------------------------------- > > Key: CXF-1878 > URL: https://issues.apache.org/jira/browse/CXF-1878 > Project: CXF > Issue Type: Bug > Components: Aegis Databinding > Affects Versions: 2.0.7 > Environment: Linux and Windows with JDK Sun 1.6.0_05 - 1.6.0_06 (it has been seen also on other jdk) > Reporter: tomas darbois > Assignee: Benson Margulies > Attachments: GenericBean.java, SimpleInDataBean.java > > > Hello, in the project I'm working on (a project based partly on CXF with aegis), I've got trouble with complex databinding. The developer, who has configured the cxf part, told me to send an email on the CXF mailing list about the problem we had in order to see where and why it happens. > We want to be able to manage method with complex parameter like MyObject > * MyObject with class attributes > * String > * String > * ArrayList > * MySecondObject with class attributes > * String > * String > * ArrayList > But we have the following issue "org.apache.cxf.aegis.DatabindingException: Couldn't instantiate class. null. Nested exception is java.lang.InstantiationException: null org.apache.cxf.binding.soap.SoapFault:" since ArrayList is not NULL. > I have simplified my example and I have the same issue with an HashMap of HashMap of SimpleInDataBean (composed of two String parameters). > //KO > public void manageHashMapOfHashMapOfSimpleInDataBean(HashMap> myComplexData); > //OK > public void manageHashMapOfSimpleInDataBean(HashMap myComplexData); > Here is the error stack trace I got: > org.apache.cxf.aegis.DatabindingException: Couldn't instantiate class. null. Nested exception is java.lang.InstantiationException: null org.apache.cxf.binding.soap.SoapFault: org.apache.cxf.aegis.DatabindingException: Couldn't instantiate class. null. Nested exception is java.lang.InstantiationException: null > at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70) > at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) > at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96) > at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:65) > at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:429) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1996) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1832) > at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) > at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:591) > at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222) > at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68) > at $Proxy12.manageHashMapOfHashMapOfSimpleInDataBean(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.objectweb.fractal.bf.AbstractRemoteServiceCaller.invoke(AbstractRemoteServiceCaller.java:64) > at $Proxy12.manageHashMapOfHashMapOfSimpleInDataBean(Unknown Source) at org.objectweb.fractal.julia.generated.Cba88d802_0.manageHashMapOfHashMapOfSimpleInDataBean(INTERCEPTOR[WebService1Service]) > at org.objectweb.fractal.julia.generated.C345d7387_0.manageHashMapOfHashMapOfSimpleInDataBean(INTERFACE[WebService1Service]) > at com.edifixio.ecommerce.exemple.binding.service.webservice1.WebService1ServiceFcOutItf.manageHashMapOfHashMapOfSimpleInDataBean(WebService1ServiceFcOutItf.java:78) > at com.edifixio.ecommerce.exemple.binding.service.webservice1.WebService1ServiceFcSR.manageHashMapOfHashMapOfSimpleInDataBean(WebService1ServiceFcSR.java:62) > at com.edifixio.ecommerce.exemple.binding.application.binding.BindingApplicationImpl.manageHashMapOfHashMapOfSimpleInDataBean(BindingApplicationImpl.java:106) > at com.edifixio.ecommerce.exemple.binding.application.binding.BindingApplicationInterceptorLCSCACCIntent.manageHashMapOfHashMapOfSimpleInDataBean(BindingApplicationInterceptorLCSCACCIntent.java:529) > at com.edifixio.ecommerce.exemple.binding.application.binding.BindingApplicationFcItf.manageHashMapOfHashMapOfSimpleInDataBean(BindingApplicationFcItf.java:94) > at com.edifixio.ecommerce.exemple.binding.test.service.webservice1.ManageHashMapOfHashMapOfSimpleInDataBeanTest.testManageHashMapOfHashMapOfSimpleInDataBean_SimpleInDataBeanEmpty(ManageHashMapOfHashMapOfSimpleInDataBeanTest.java:87) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at junit.framework.TestCase.runTest(TestCase.java:154) > Do not hesitate if you need more details -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.