Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-DAS-beta1
-
None
-
Vista/Linux (Edgy Edge). Oracle 10g.
Description
When trying to update a DataObject, I'm getting this error:
Exception in thread "main" java.lang.NullPointerException
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.copyFault(PassByValueInterceptor.java:125)
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:115)
at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:108)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
at $Proxy7.findOrganizationBugOne(Unknown Source)
at org.soa.test.runners.OrganizationServiceCompositeRunner.main(OrganizationServiceCompositeRunner.java:51)
On another test case, the returned DataObject has a null dataGraph (resulting an a npe)
Exception in thread "main" java.lang.NullPointerException
uncomment line 51 in OrganizationServiceCompositeTestRunner to reproduce first error.
uncomment lines 56-58 to reproduce second error.
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.copyFault(PassByValueInterceptor.java:125)
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:115)
at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:108)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
at $Proxy7.updateOrganization(Unknown Source)
at org.soa.test.runners.OrganizationServiceCompositeRunner.main(OrganizationServiceCompositeRunner.java:58)