openesb
  1. openesb
  2. OPENESB-1

failure to copy complex types in assign

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      1

      Description

      I am using glassfish glassfish-v2-ur2-b03-patch-20080411. The server crashes
      with the following error. In debug mode, the GetResidenceDataOut variable is
      never initialized (even after attempting the copy).

      Error properties
      com.sun.jbi.crl.faultcode = Server
      com.sun.jbi.crl.faultstring = BPCOR-6135:A fault was not handled in the
      process scope; Fault Name is

      {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}

      systemFault; Fault Data is <?xml version="1.0" encoding="UTF-8"?><jbi:message
      xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorH
      andling" type="sxeh:faultMessage" version="1.0"
      xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part>Too many
      elements:

      {http://schemas.usaac.army.mil/commonbusiness/recruiting/v1}

      businessAddress</jbi:part></jbi:message>. Sending errors for the pending
      requests in the process scope before terminating the process instance
      com.sun.jbi.crl.faultactor = sun-bpel-engine
      com.sun.jbi.crl.faultdetail =
      BPCOR-6135:A fault was not handled in the process scope; Fault Name is

      {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}

      systemFault; Fault Data is <?xml version="1.0" encoding="UTF-8"?><jbi:message
      xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorH
      andling" type="sxeh:faultMessage" version="1.0"
      xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part>Too many
      elements:

      {http://schemas.usaac.army.mil/commonbusiness/recruiting/v1}

      businessAddress</jbi:part></jbi:message>. Sending errors for the pending
      requests in the process scope before terminating the process instance
      Caused by: BPCOR-7131:A fatal exception has occurred
      BPCOR-6129:Line Number is 81
      BPCOR-6130:Activity Name is Assign3
      Caused by: Too many elements:

      {http://schemas.usaac.army.mil/commonbusiness/recruiting/v1}

      businessAddress
      java.lang.Exception: BPCOR-6135:A fault was not handled in the process scope;
      Fault Name is

      {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}

      systemFault; Fault Data is <?xml version="1.0" encoding="UTF-8"?><jbi:message
      xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorH
      andling" type="sxeh:faultMessage" version="1.0"
      xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part>Too many
      elements:

      {http://schemas.usaac.army.mil/commonbusiness/recruiting/v1}

      businessAddress</jbi:part></jbi:message>. Sending errors for the pending
      requests in the process scope before terminating the process instance
      at
      com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doP
      rocesCompletionTasks(BPELProcessInstanceImpl.java:1176)
      at
      com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doR
      esumeAction(BPELProcessInstanceImpl.java:759)
      at
      com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.VirtualCatchAllUnit.doResum
      eAction(VirtualCatchAllUnit.java:112)
      at
      com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.doPassCont
      rolToParent(ActivityUnitImpl.java:251)
      at
      com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.VirtualRethrowUnit.doThrowA
      ction(VirtualRethrowUnit.java:63)
      at
      com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.AbstractThrowUnitImpl.doAct
      ion(AbstractThrowUnitImpl.java:47)
      at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute
      (BPELInterpreter.java:148)
      at
      com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute
      (BusinessProcessInstanceThread.java:98)
      at
      com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process
      (BPELProcessManagerImpl.java:1001)
      at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process
      (EngineImpl.java:342)
      at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process
      (EngineImpl.java:1313)
      at com.sun.jbi.engine.bpel.BPELSEInOutThread.processResponse
      (BPELSEInOutThread.java:530)
      at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx
      (BPELSEInOutThread.java:278)
      at com.sun.jbi.engine.bpel.BPELSEInOutThread.run
      (BPELSEInOutThread.java:191)
      Caused by: com.sun.jbi.engine.bpel.core.bpel.exception.SystemException: BPCOR-
      7131:A fatal exception has occurred

      variables section:

      <variables>
      <variable name="GetResidenceDataIn"
      messageType="rsdnc:getResidenceDataRequest"/>
      <variable name="GetResidenceDataOut"
      messageType="rsdnc:getResidenceDataResponse"/>
      <variable name="GetAddressDataIn"
      messageType="cntct:getAddressDataRequest"/>
      <variable name="GetAddressDataOut"
      messageType="cntct:getContactDataResponse"/>
      <variable name="GetReferenceDataIn"
      messageType="rfrnc:getAddressReferenceDataRequest"/>
      <variable name="GetReferenceDataOut"
      messageType="rfrnc:getReferenceDataResponse"/>
      <variable name="NumberOfAddresses" type="xsd:int"/>
      <variable name="CurrentAddressSequenceId" type="xsd:int"/>
      </variables>

      ..... skipping the invokes . . .

      <forEach counterName="addressCounter" parallel="no">
      <startCounter Value>
      1
      </startCounterValue>
      <finalCounterValue>
      count
      ($GetAddressDataOut.response/contactData/ns1:businessAddress)
      </finalCounterValue>
      <scope name="Scope1">
      <sequence>
      <assign name="Assign3">
      <copy>
      <from>$GetAddressDataOut.response/contactData
      [$addressCounter]/ns1:businessAddress/addressSeqNo</from>
      <to>$CurrentAddressSequenceId</to>
      </copy>
      <copy ignoreMissingFromData="yes">
      <from>$GetAddressDataOut.response/contactData
      [$addressCounter]/ns1:businessAddress</from>
      <to>$GetResidenceDataOut.response/residenceData
      [$addressCounter]/ns1:businessAddress</to>
      </copy>
      </assign>
      <forEach counterName="referenceCounter" parallel="no">
      <startCounterValue>
      1
      </startCounterValue>
      <finalCounterValue>
      count($GetReferenceDataOut.response/referenceData)
      </finalCounterValue>
      <scope>
      <if>
      <condition>$CurrentAddressSequenceId =
      $GetReferenceDataOut.response/referenceData
      [$referenceCounter]/addressSeqNo</condition>
      <assign>
      <copy>
      <from>$GetReferenceDataOut.response/referenceData
      [$referenceCounter]</from>
      <to>$GetResidenceDataOut.response/residenceData
      [$addressCounter]/ns2:reference</to>
      </copy>
      </assign>
      </if>
      </scope>
      </forEach>
      </sequence>
      </scope>
      </forEach>

        Activity

        Hide
        smcalpin01 added a comment -

        Created an attachment (id=1)
        NetBeans project

        Show
        smcalpin01 added a comment - Created an attachment (id=1) NetBeans project

          People

          • Assignee:
            openesb-issues
            Reporter:
            smcalpin01
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: