External variable fails when using sequence generator in keys
-------------------------------------------------------------

                 Key: ODE-291
                 URL: https://issues.apache.org/jira/browse/ODE-291
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.1.1
            Reporter: Alex Boisvert
             Fix For: 1.2


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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to