ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lui" <dr.mark....@gmail.com>
Subject Problems with foreach activity
Date Tue, 13 Nov 2007 16:35:10 GMT
I am not sure if this message got through before so I am trying again.
 I apologies if this is a duplicate.

I am having problems with the foreach activity.  I keep getting a null
pointer exception using using ODE 1.1 running in ServiceMix  3.1.1.  I
believe I have it configured correctly and all my web searches have
turn up nothing.  Here is how it is used in the BPEL file:

       <bpws:forEach counterName="myCount" name="ForEach" parallel="no">
           <bpws:scope name="MyScope">
                   <bpws:variable name="myVariable" type="xsd:unsignedInt"/>
               <bpws:wait name="Wait">

Here is the exception:

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
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:4
       ... 17 more

Any help and/or insight would be appreciated.



View raw message