Uploaded image for project: 'RiftSaw'
  1. RiftSaw
  2. RIFTSAW-326

Cannot copy from a partnerLink EPR

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      Create a BPEL workflow that contains the following. The exception occurs when the <copy> operation is performed.

      <bpel:partnerLinks>
      <bpel:partnerLink name="SafariFusionOssLink"
      partnerLinkType="sfWsdl:FusionOssLinkType"
      partnerRole="fusionOssService"
      initializePartnerRole="yes"/>
      </bpel:partnerLinks>

      <bpel:variables>
      <bpel:variable name="epRef" element="sref:service-ref"/>
      </bpel:variables>

      <bpel:assign name="createFusionCreateRqst">
      <bpel:copy>
      <bpel:from partnerLink="SafariFusionOssLink" endpointReference="partnerRole"/>
      <bpel:to variable="epRef"/>
      </bpel:copy>
      </bpel:assign>

      Show
      Create a BPEL workflow that contains the following. The exception occurs when the <copy> operation is performed. <bpel:partnerLinks> <bpel:partnerLink name="SafariFusionOssLink" partnerLinkType="sfWsdl:FusionOssLinkType" partnerRole="fusionOssService" initializePartnerRole="yes"/> </bpel:partnerLinks> <bpel:variables> <bpel:variable name="epRef" element="sref:service-ref"/> </bpel:variables> <bpel:assign name="createFusionCreateRqst"> <bpel:copy> <bpel:from partnerLink="SafariFusionOssLink" endpointReference="partnerRole"/> <bpel:to variable="epRef"/> </bpel:copy> </bpel:assign>

      Description

      According to the BPEL spec (http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html#_Toc164738498) it is possible to copy from a partnerLink EPR. When attempting this in Riftsaw I get numerous exceptions, starting with the following. This operates correctly on ODE 1.3.4 running on Tomcat 6.0.

      18:35:50,479 ERROR [JacobVPU] Method "run" in class "org.apache.ode.bpel.runtime.ASSIGN" threw an unexpected exception.
      java.lang.NullPointerException
      at org.apache.ode.bpel.epr.URLEndpoint.accept(URLEndpoint.java:54)
      at org.apache.ode.bpel.epr.EndpointFactory.createEndpoint(EndpointFactory.java:62)
      at org.apache.ode.bpel.epr.EndpointFactory.convert(EndpointFactory.java:92)
      at org.jboss.soa.bpel.runtime.engine.ode.EndpointReferenceContextImpl.convertEndpoint(EndpointReferenceContextImpl.java:48)
      at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.convertEndpointReference(BpelRuntimeContextImpl.java:494)
      at org.apache.ode.bpel.runtime.ASSIGN.copy(ASSIGN.java:430)
      at org.apache.ode.bpel.runtime.ASSIGN.run(ASSIGN.java:86)
      ...

      18:35:50,484 ERROR [BpelEngineImpl] Scheduled job failed; jobDetail=JobDetails( instanceId: null mexId: hqejbhcnphr5t6osf154pd processId:

      {http://cpc.com/safariview/bpel}

      Converged-0 type: INVOKE_INTERNAL channel: null correlatorId: null correlationKeySet: null retryCount: null inMem: false detailsExt: {})
      java.lang.RuntimeException: java.lang.NullPointerException
      at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
      at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
      at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:959)
      at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:208)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  objectiser Gary Brown
                  Reporter:
                  wdarby William Darby
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: