Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2525

npe on oracle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-DAS-beta1
    • Java-SCA-1.x, Java-DAS-Next
    • Java DAS RDB
    • 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)

      Attachments

        1. Organization-Service-Composite.zip
          200 kB
          Abraham Elmahrek

        Activity

          People

            lresende Luciano Resende
            abe Abraham Elmahrek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: