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

foreach activity not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • BPEL Runtime
    • None
    • Windows XP with ODE 1.1 running in ServiceMix 3.1.1

    Description

      The configured foreach activity does not work. I believe it is configured correctly

      <bpws:forEach counterName="Counter" name="ForEach" parallel="no">
      <bpws:startCounterValue>1</bpws:startCounterValue>
      <bpws:finalCounterValue>10</bpws:finalCounterValue>
      <bpws:scope name="MyScope">
      <bpws:wait name="Wait">
      <bpws:for>'PT30S'</bpws:for>
      </bpws:wait>
      </bpws:scope>
      </bpws:forEach>

      The following error is returned when run:

      Caused by: java.lang.NullPointerException
      at org.apache.ode.bpel.runtime.ScopeFrame.resolve(ScopeFrame.java:84)
      at org.apache.ode.bpel.runtime.FOREACH.newChild(FOREACH.java:212)
      at org.apache.ode.bpel.runtime.FOREACH.run(FOREACH.java:99)
      at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:4
      51)
      ... 17 more

      Attachments

        Activity

          People

            mszefler Maciej Szefler
            mlui Mark Lui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: