[ 
https://issues.apache.org/jira/browse/ODE-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519892
 ] 

Nicolas Modrzyk commented on ODE-176:
-------------------------------------

the error can be reproduced by making a clean build. One example of the error 
would be:

    [junit] Testcase: testListProcessCustom took 0.463 sec
    [junit]     Caused an ERROR
    [junit] Too many release() calls.
    [junit] java.lang.IllegalStateException: Too many release() calls.
    [junit]     at 
org.apache.ode.bpel.engine.NStateLatch.release(NStateLatch.java:112)
    [junit]     at 
org.apache.ode.bpel.engine.BpelProcess.getEndpointToMyRoleMap(BpelProcess.java:568)
    [junit]     at 
org.apache.ode.bpel.engine.BpelProcess.initMyRoleMex(BpelProcess.java:191)
    [junit]     at 
org.apache.ode.bpel.engine.BpelEngineImpl.createMessageExchange(BpelEngineImpl.java:128)
    [junit]     at 
org.apache.ode.bpel.engine.BpelEngineImpl.createMessageExchange(BpelEngineImpl.java:135)
    [junit]     at 
org.apache.ode.bpel.runtime.MockBpelServer.invoke(MockBpelServer.java:118)
    [junit]     at 
org.apache.ode.bpel.runtime.ProcessManagementTest.execute(ProcessManagementTest.java:117)
    [junit]     at 
org.apache.ode.bpel.runtime.ProcessManagementTest.setUp(ProcessManagementTest.java:99)
    [junit] 
    [junit] TEST org.apache.ode.bpel.runtime.ProcessManagementTest FAILED


> r565968 surfaced issue with latch release count
> -----------------------------------------------
>
>                 Key: ODE-176
>                 URL: https://issues.apache.org/jira/browse/ODE-176
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.1
>         Environment: tip (r566042)
>            Reporter: Paul R. Brown
>             Fix For: 1.1
>
>         Attachments: counter.tbz2
>
>
> Looks like the change in r565968 surfaced some issues with the NStateLatch:
> ERROR - GeronimoLog.error(108) | Exception occured while invoking ODE
> java.lang.IllegalStateException: Too many release() calls.
>         at 
> org.apache.ode.bpel.engine.NStateLatch.release(NStateLatch.java:112)
> To reproduce:
> 1) Deploy the AXIS2 WAR in Jetty (or Tomcat).
> 2) Unpack the deployment bundle in counter.tbz2.
> 3) Hit http://localhost:8080/ode/processes/counter/initialize?counterName=foo

-- 
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