You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sean Ahn (JIRA)" <ji...@apache.org> on 2009/01/06 00:21:44 UTC

[jira] Created: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

OPickReceive and OEventHandler do not properly migrate correlation data
-----------------------------------------------------------------------

                 Key: ODE-476
                 URL: https://issues.apache.org/jira/browse/ODE-476
             Project: ODE
          Issue Type: Bug
            Reporter: Sean Ahn


OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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


[jira] Commented: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661222#action_12661222 ] 

Matthieu Riou commented on ODE-476:
-----------------------------------

One more :)

09:43:31,490 ERROR [SimpleScheduler] Error while executing transaction
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.NullPointerException
	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
	at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
	at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:386)
	at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:380)
	at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
	at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:379)
	at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:376)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
	at org.apache.ode.bpel.o.OPartnerLink.getJoinningCorrelationSetsForOperation(OPartnerLink.java:137)
	at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.computeCorrelationKeys(PartnerLinkMyRoleImpl.java:298)
	at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.findRoute(PartnerLinkMyRoleImpl.java:122)
	at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:203)
	at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:383)
	at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)


> OPickReceive and OEventHandler do not properly migrate correlation data
> -----------------------------------------------------------------------
>
>                 Key: ODE-476
>                 URL: https://issues.apache.org/jira/browse/ODE-476
>             Project: ODE
>          Issue Type: Bug
>            Reporter: Sean Ahn
>
> OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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


[jira] Updated: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Ahn updated ODE-476:
-------------------------

    Attachment: ode-476.1x.patch

> OPickReceive and OEventHandler do not properly migrate correlation data
> -----------------------------------------------------------------------
>
>                 Key: ODE-476
>                 URL: https://issues.apache.org/jira/browse/ODE-476
>             Project: ODE
>          Issue Type: Bug
>            Reporter: Sean Ahn
>         Attachments: ode-476.1x.patch
>
>
> OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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


[jira] Issue Comment Edited: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661712#action_12661712 ] 

seanahn edited comment on ODE-476 at 1/7/09 1:20 PM:
------------------------------------------------------

Fix for the third NullPointerException is missing. Mattieu, can you apply the attached patch?

Thanks.

      was (Author: seanahn):
    Fix for the third NullPointerException is missing.
  
> OPickReceive and OEventHandler do not properly migrate correlation data
> -----------------------------------------------------------------------
>
>                 Key: ODE-476
>                 URL: https://issues.apache.org/jira/browse/ODE-476
>             Project: ODE
>          Issue Type: Bug
>            Reporter: Sean Ahn
>         Attachments: ode-476.1x.patch
>
>
> OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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


[jira] Resolved: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Ahn resolved ODE-476.
--------------------------

    Resolution: Fixed

r736076 | seanahn | 2009-01-20 11:36:49 -0800 (Tue, 20 Jan 2009) | 1 line
Changed paths:
   M /ode/branches/APACHE_ODE_1.X/bpel-obj/src/main/java/org/apache/ode/bpel/o/OPartnerLink.java


> OPickReceive and OEventHandler do not properly migrate correlation data
> -----------------------------------------------------------------------
>
>                 Key: ODE-476
>                 URL: https://issues.apache.org/jira/browse/ODE-476
>             Project: ODE
>          Issue Type: Bug
>            Reporter: Sean Ahn
>         Attachments: ode-476.1x.patch
>
>
> OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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


[jira] Resolved: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Ahn resolved ODE-476.
--------------------------

    Resolution: Fixed

Matthieu,

thanks for fixing it.

r732195 | mriou | 2009-01-06 18:00:47 -0800 (Tue, 06 Jan 2009) | 1 line
Migration to using names in place of omodel ids in correlation and partner link references from both the database and the runtime. Problem was that omodel ids tend to change a lot as soon as the process gets even slightly updated. And then past instances can't complete anymore.

> OPickReceive and OEventHandler do not properly migrate correlation data
> -----------------------------------------------------------------------
>
>                 Key: ODE-476
>                 URL: https://issues.apache.org/jira/browse/ODE-476
>             Project: ODE
>          Issue Type: Bug
>            Reporter: Sean Ahn
>
> OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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


[jira] Reopened: (ODE-476) OPickReceive and OEventHandler do not properly migrate correlation data

Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Ahn reopened ODE-476:
--------------------------


Fix for the third NullPointerException is missing.

> OPickReceive and OEventHandler do not properly migrate correlation data
> -----------------------------------------------------------------------
>
>                 Key: ODE-476
>                 URL: https://issues.apache.org/jira/browse/ODE-476
>             Project: ODE
>          Issue Type: Bug
>            Reporter: Sean Ahn
>         Attachments: ode-476.1x.patch
>
>
> OPickReceive and OEventHandler will fail when old process definition is restored for newer code since the joinCorrelations member could be null after de-serialization.

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