You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Zhao Sam (JIRA)" <ji...@apache.org> on 2010/03/07 07:41:27 UTC

[jira] Issue Comment Edited: (ODE-697) Versioning doesn't Works and NPE occured.

    [ https://issues.apache.org/jira/browse/ODE-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842367#action_12842367 ] 

Zhao Sam edited comment on ODE-697 at 3/7/10 6:41 AM:
------------------------------------------------------

I submit 2 testcase in file TestCorrelationRetire.zip.
2 testcase for getting NullPointer exception when retired process receiving a request.

The test sequence is: (Steps to retire process 0)
1) deploy bpel in HelloWorld-1.
2) submit a request to it.
   Now a new process 0 is created and
   will hang up waiting a continue request.
3) Sleep 20 seconds to wait step 1 and step 2 complete.
4) start a new thread:
   deploy bpel in HelloWorld-2.
   Now process 0 is retired.

Now testcase 1 does 1 step:
1) submits a continue request to process 0.
>From the debug log, I found a NullPointer exception.


Testcase 2 does 2 steps:
1) submit a request to active process created in step 4.
   This step is success using source APACHE_ODE_1.X and but fails using source 1.3.3.
2) submit a continue request to retired process 0.
   This step fails using source APACHE_ODE_1.X and without reportingany error. Retired process 0 is still running and not terminates.

   This step fails using source 1.3.3 and reports NullPointer error.



      was (Author: zhaowd2001):
    2 testcase for getting NullPointer exception when retired process receiving a request.

The test sequence is:
1) deploy bpel in HelloWorld-1.
2) submit a request to it.
   Now a new process 0 is created and
   will hang up waiting a continue request.
3) Sleep 20 seconds to wait step 1 and step 2 complete.
4) start a new thread:
   deploy bpel in HelloWorld-2.
   Now process 0 is retired.

Now testcase 1 does 1 step:
1) submits a continue request to process 0.
>From the debug log, I found a NullPointer exception.


Testcase 2 does 2 steps:
1) submit a request to active process created in step 4.
   This step is success using source APACHE_ODE_1.X and but fails using source 1.3.3.
2) submit a continue request to retired process 0.
   This step fails using source APACHE_ODE_1.X and without reportingany error. Retired process 0 is still running and not terminates.

   This step fails using source 1.3.3 and reports NullPointer error.


  
> Versioning doesn't Works and NPE occured.
> -----------------------------------------
>
>                 Key: ODE-697
>                 URL: https://issues.apache.org/jira/browse/ODE-697
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.3
>         Environment: Windows
>            Reporter: Rick.Todo
>            Assignee: Sean Ahn
>         Attachments: incomplete.patch, TestCorrelationRetire.zip
>
>
> I deployed new versions of processes via deployment web service, older process became "RETIRED"
> but When I sended request to start the process, NullPointerException occured.
> 2009-11-11 14:33:20.640+0900,ERROR,,localhost,,,,,null,"java.lang.NullPointerException
> 	at org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:162)
> 	at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
> 	at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:63)
> 	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
> 	at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:269)
> 	at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
> 	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Thread.java:619)
> Both new ACTIVE process and older RETIRED process are in target list in MessageExchange.
> Should ode send request to only ACTIVE request?
> and it appears that BrokeredMyRoleMessageExchangeImpl#getOperation always return null.

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