Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-291

External variable fails when using sequence generator in keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • BPEL Runtime
    • None

    Description

      When attempting to use a sequence generator within an external variable's keys, the process fails. Error indicates that the key was not returned.

      Stack Trace:

      10:19:38,484 ERROR [ASSIGN] Exception while initializing external variable
      org.apche.ode.bpel.evar.IncompleteKeyException: Attempt to read external variable with an incomplete compoung key. The following components were missing: [generatedKey]
      at org.apache.ode.bpel.extvar.jdbc.JdbcExternalVariableModule.execSelect(JdbcExternalVariableModule.java:351)
      at org.apache.ode.bpel.extvar.jdbc.JdbcExternalVariableModule.readValue(JdbcExternalVariableModule.java:291)
      at org.apache.ode.bpel.engine.extvar.ExternalVariableManager.read(ExternalVariableManager.java:139)
      at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.readExtVar(BpelRuntimeContextImpl.java:1350)
      at org.apache.ode.bpel.runtime.ScopeFrame.initializeVariable(ScopeFrame.java:233)
      at org.apache.ode.bpel.runtime.ACTIVITY.initializeVariable(ACTIVITY.java:164)
      at org.apache.ode.bpel.runtime.ASSIGN.evalLValue(ASSIGN.java:125)
      at org.apache.ode.bpel.runtime.ASSIGN.copy(ASSIGN.java:348)
      at org.apache.ode.bpel.runtime.ASSIGN.run(ASSIGN.java:80)
      at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
      at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
      at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:831)
      at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
      at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
      at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
      at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
      at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
      at com.intalio.pxe.csched.SimpleScheduler$4$1.call(SimpleScheduler.java:297)
      at com.intalio.pxe.csched.SimpleScheduler$4$1.call(SimpleScheduler.java:296)
      at com.intalio.pxe.csched.SimpleScheduler.execTransaction(SimpleScheduler.java:135)
      at com.intalio.pxe.csched.SimpleScheduler$4.call(SimpleScheduler.java:295)
      at com.intalio.pxe.csched.SimpleScheduler$4.call(SimpleScheduler.java:292)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        Activity

          People

            Unassigned Unassigned
            boisvert Alex Boisvert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: