Exception occured while executing a business process instance

View: New views
5 Messages — Rating Filter:   Alert me  

Exception occured while executing a business process instance

by zidboy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello:

I have the following problem using NetBeans 5.5 with Enterproce pack, Ubuntu Linux 7.10, I have a bpel asicronico which works well until the time that you turn on persistence in the Service Engine, there empesaron my problems.

Active continuing to recover the process that has been implemented so far by aulguna fall server or energy, and so on. This never probe so far I am with the date of passage into production very close, I worked very well and smoothly without activating persistence.

I leave those in the log I get my console:
       
[#|2007-12-31T11:09:08.162-0300|SEVERE|sun-appserver-pe9.0|com.sun.jbi.component.com.sun.bpelse-1.0-2com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter|_ThreadID=21;_ThreadName=BPELSEInOutThread2;_RequestID=3af1fe85-6baa-4c6d-bae7-f829de5661c1;|Exception occured while executing a business process instance.
java.lang.NullPointerException
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.updateState(PickUnitImpl.java:192)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.doAction(PickUnitImpl.java:151)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction(StructuredActivityUnitImpl.java:83)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SequenceUnitImpl.doAction(SequenceUnitImpl.java:77)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction(StructuredActivityUnitImpl.java:83)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.RepeatUntilUnitImpl.doRepeatUntil(RepeatUntilUnitImpl.java:162)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.RepeatUntilUnitImpl.doAction(RepeatUntilUnitImpl.java:98)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.continueEnclActAction(StructuredActivityUnitImpl.java:112)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.continueEnclActAction(ActivityUnitImpl.java:220)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.processStatus(ReplyUnitImpl.java:155)
at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.doAction(ReplyUnitImpl.java:90)
at com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter.interpret1(BPELInterpreter.java:292)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:650)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:236)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:577)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.processDone(EngineImpl.java:170)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:290)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:171)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:138)
|#]
Besides them ceases bpel my files and wsdl for that can take a look and if you have any problems please tell me.

If anyone can help me, please.


EntregaServicio.bpel
EntregaServicio.wsdl

Re: Exception occured while executing a business process instance

by Kiran Bhumana-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 From the stack's line numbers it doesn't match with the current code.
The lines are not even close, perhaps you have quite a bit of old code?
Is it possible for you to update to the latest BPEL-SE code?

zidboy wrote:

> Hello:
>
> I have the following problem using NetBeans 5.5 with Enterproce pack, Ubuntu
> Linux 7.10, I have a bpel asicronico which works well until the time that
> you turn on persistence in the Service Engine, there empesaron my problems.
>
> Active continuing to recover the process that has been implemented so far by
> aulguna fall server or energy, and so on. This never probe so far I am with
> the date of passage into production very close, I worked very well and
> smoothly without activating persistence.
>
> I leave those in the log I get my console:
>
> [#|2007-12-31T11:09:08.162-0300|SEVERE|sun-appserver-pe9.0|com.sun.jbi.component.com.sun.bpelse-1.0-2com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter|_ThreadID=21;_ThreadName=BPELSEInOutThread2;_RequestID=3af1fe85-6baa-4c6d-bae7-f829de5661c1;|Exception
> occured while executing a business process instance.
> java.lang.NullPointerException
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.updateState(PickUnitImpl.java:192)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.doAction(PickUnitImpl.java:151)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction(StructuredActivityUnitImpl.java:83)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SequenceUnitImpl.doAction(SequenceUnitImpl.java:77)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction(StructuredActivityUnitImpl.java:83)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.RepeatUntilUnitImpl.doRepeatUntil(RepeatUntilUnitImpl.java:162)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.RepeatUntilUnitImpl.doAction(RepeatUntilUnitImpl.java:98)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.continueEnclActAction(StructuredActivityUnitImpl.java:112)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.continueEnclActAction(ActivityUnitImpl.java:220)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.processStatus(ReplyUnitImpl.java:155)
> at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.doAction(ReplyUnitImpl.java:90)
> at
> com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter.interpret1(BPELInterpreter.java:292)
> at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:650)
> at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:236)
> at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:577)
> at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.processDone(EngineImpl.java:170)
> at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:290)
> at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:171)
> at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:138)
> |#]
> Besides them ceases bpel my files and wsdl for that can take a look and if
> you have any problems please tell me.
>
> If anyone can help me, please.
>
>
> http://www.nabble.com/file/p14668781/EntregaServicio.bpel
> EntregaServicio.bpel
> http://www.nabble.com/file/p14668781/EntregaServicio.wsdl
> EntregaServicio.wsdl
>  

--
Kiran Bhumana
Open ESB Community (http://open-esb.org)

Re: Exception occured while executing a business process instance

by zidboy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Krian:

I think the problem is not going by there when compile and deploy with Netbeans I do not have any problem, I do not think that is the reason for the failure.

Create a draft very simple but which satisfies a buildup and a closure of my business. It is a bpel asynchronous, which did exactly the example that exists in the Blueprint 4, and gives me the same mistake:

Exception occured while executing a business process instance.            
java.lang.NullPointerException
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.updateState(PickUnitImpl.java:192)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.doAction(PickUnitImpl.java:151)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.continueEnclActAction(StructuredActivityUnitImpl.java:112)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.continueEnclActAction(ActivityUnitImpl.java:220)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.processStatus(ReplyUnitImpl.java:155)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.doAction(ReplyUnitImpl.java:90)
        at com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter.interpret1(BPELInterpreter.java:292)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:650)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:236)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:577)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.processDone(EngineImpl.java:170)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:290)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:171)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:138)

I am seriously thinking that it is a bug, why not read and anyone who has a persistent echo bpel return to power and resume the session of the same, when it is the system.

Krian, I need to know if I am doing things right, because both read and article, blueprint, post comments, and so on. Which really only gives me is that mess.

We did leave the project to see what time and whether any abnormality please avisame. It would be very helpful to me.

Greetings.

BpelModule1.zip
CompositeApp1.zip

Re: Exception occured while executing a business process instance

by Kiran Bhumana-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You are using old BPEL and WSDL extension for BPEL namespaces.

For example the following two in BPEL
    xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"

should be,
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable".

Now that makes me wonder what version of editors and runtimes are you
using? Why don't you try the latest versions of NB and Runtimes. The
latest editor also points out more validation issues and helps you
correct your BPELs.

-Kiran.

zidboy wrote:

> Krian:
>
> I think the problem is not going by there when compile and deploy with
> Netbeans I do not have any problem, I do not think that is the reason for
> the failure.
>
> Create a draft very simple but which satisfies a buildup and a closure of my
> business. It is a bpel asynchronous, which did exactly the example that
> exists in the Blueprint 4, and gives me the same mistake:
>
> Exception occured while executing a business process instance.            
> java.lang.NullPointerException
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.updateState(PickUnitImpl.java:192)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.doAction(PickUnitImpl.java:151)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.continueEnclActAction(StructuredActivityUnitImpl.java:112)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.continueEnclActAction(ActivityUnitImpl.java:220)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.processStatus(ReplyUnitImpl.java:155)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.doAction(ReplyUnitImpl.java:90)
>         at
> com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter.interpret1(BPELInterpreter.java:292)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:650)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:236)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:577)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.processDone(EngineImpl.java:170)
>         at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:290)
>         at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:171)
>         at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:138)
>
> I am seriously thinking that it is a bug, why not read and anyone who has a
> persistent echo bpel return to power and resume the session of the same,
> when it is the system.
>
> Krian, I need to know if I am doing things right, because both read and
> article, blueprint, post comments, and so on. Which really only gives me is
> that mess.
>
> We did leave the project to see what time and whether any abnormality please
> avisame. It would be very helpful to me.
>
> Greetings.
>
> http://www.nabble.com/file/p14715684/BpelModule1.zip BpelModule1.zip
> http://www.nabble.com/file/p14715684/CompositeApp1.zip CompositeApp1.zip
>  

--
Kiran Bhumana
Open ESB Community (http://open-esb.org)

Re: Exception occured while executing a business process instance

by zidboy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Krian:

This I am correct in using Netbeans 5.5 and Enterprise Pack and there is a difference between Netbeans 6.0, which will switch to this IDE at the moment is very expensive.

What I want to know in the end is like having good practices when creating a Bepl with Correlation and persistence, for that not to cut the lifecycle Bpel by any external event.

There is a lot of documentation on how to create a Bpel, creating a Composite, Deploy Composite, etc..
But I think that there is no explanation as to have good practices with the correlation and persistence.

Researching the only thing I do is more confused and I was trying to draw my own conclusions, but also requeire time and I need to have solutions now.

Returning to the theme of the correlation think that goes hand in hand with much WSDL and construction of Webservices outside, but as I say I am not clear.

If I any documentation on how to have a good correlation with the practice and the continuing serious really happy.

Thanks anyway to answer my concerns.
       
               

Kiran Bhumana-2 wrote:
You are using old BPEL and WSDL extension for BPEL namespaces.

For example the following two in BPEL
    xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"

should be,
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable".

Now that makes me wonder what version of editors and runtimes are you
using? Why don't you try the latest versions of NB and Runtimes. The
latest editor also points out more validation issues and helps you
correct your BPELs.

-Kiran.

zidboy wrote:
> Krian:
>
> I think the problem is not going by there when compile and deploy with
> Netbeans I do not have any problem, I do not think that is the reason for
> the failure.
>
> Create a draft very simple but which satisfies a buildup and a closure of my
> business. It is a bpel asynchronous, which did exactly the example that
> exists in the Blueprint 4, and gives me the same mistake:
>
> Exception occured while executing a business process instance.            
> java.lang.NullPointerException
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.updateState(PickUnitImpl.java:192)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.PickUnitImpl.doAction(PickUnitImpl.java:151)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities(CodeReUseHelper.java:60)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities(StructuredActivityUnitImpl.java:148)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.continueEnclActAction(StructuredActivityUnitImpl.java:112)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ActivityUnitImpl.continueEnclActAction(ActivityUnitImpl.java:220)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.processStatus(ReplyUnitImpl.java:155)
>         at
> com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReplyUnitImpl.doAction(ReplyUnitImpl.java:90)
>         at
> com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.BPELInterpreter.interpret1(BPELInterpreter.java:292)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:650)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:236)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:577)
>         at
> com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.processDone(EngineImpl.java:170)
>         at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:290)
>         at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:171)
>         at
> com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:138)
>
> I am seriously thinking that it is a bug, why not read and anyone who has a
> persistent echo bpel return to power and resume the session of the same,
> when it is the system.
>
> Krian, I need to know if I am doing things right, because both read and
> article, blueprint, post comments, and so on. Which really only gives me is
> that mess.
>
> We did leave the project to see what time and whether any abnormality please
> avisame. It would be very helpful to me.
>
> Greetings.
>
> http://www.nabble.com/file/p14715684/BpelModule1.zip BpelModule1.zip
> http://www.nabble.com/file/p14715684/CompositeApp1.zip CompositeApp1.zip
>  

--
Kiran Bhumana
Open ESB Community (http://open-esb.org)