Jump to content

How are the causes and solutions to error handling related to notify activity


tr v c

Recommended Posts

Hi all,

Currently I am using notify activity to configure the process to run single thread. I have fully configured for notify activity but sometimes when running the process on tea server, the process error is as follows:

process [citadletter_send_response_to_cm.Process] instance faulted, JobId [bw0a102bmjq], ProcessInstanceId [bw0a102bmjq], ParentProcessInstanceId [-], Module [CitadOut_Letter_Send_Response_To_CM:1.0.0.20210219123408], Application [CitadOut_Letter_Send_Response_To_CM.application:1.0].

TIBCO-BW-CORE-500064: Activity [Notify] error.

com.tibco.bx.core.faults.BxException: java.lang.NullPointerException

java.lang.NullPointerException

-{ActivityName=Notify}.

...

com.tibco.bx.core.faults.BxException: java.lang.NullPointerException

at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.prepareException(BxActivityBaseBehavior.java:1637)

at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.eval(BxActivityBaseBehavior.java:973)

at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.eval(BxActivityBaseBehavior.java:1)

at com.tibco.pvm.infra.api.impl.util.director.IpmEventDirectorBase.handleModelEvent(IpmEventDirectorBase.java:195)

at com.tibco.pvm.infra.api.impl.util.director.IpmEventDirectorBase.handleEvent(IpmEventDirectorBase.java:111)

at com.tibco.pvm.infra.support.work.impl.WorkItemAbstract.execute(WorkItemAbstract.java:177)

at com.tibco.pvm.im.rt.xm.util.work.ImxSTWorkRunnable.doWorkBlock(ImxSTWorkRunnable.java:170)

at com.tibco.pvm.infra.services.engine.impl.STWorkRunnable.run(STWorkRunnable.java:50)

at com.tibco.pvm.im.rt.xm.util.work.ImxSTWorkRunnable.run(ImxSTWorkRunnable.java:62)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.NullPointerException

 

2021-04-29 15:03:21.414 ERROR [bwEngThread:In-Memory Process Worker-6] com.tibco.bw.core - TIBCO-BW-CORE-500050: The BW process [citadletter_send_response_to_cm.Process] instance faulted, JobId [bw0a102bmjr], ProcessInstanceId [bw0a102bmjr], ParentProcessInstanceId [-], Module [CitadOut_Letter_Send_Response_To_CM:1.0.0.20210219123408], Application [CitadOut_Letter_Send_Response_To_CM.application:1.0].

TIBCO-BW-CORE-500064: Activity [Notify] error.

com.tibco.bx.core.faults.BxException: java.lang.NullPointerException

java.lang.NullPointerException

-{ActivityName=Notify}.

...

com.tibco.bx.core.faults.BxException: java.lang.NullPointerException

at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.prepareException(BxActivityBaseBehavior.java:1637)

at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.eval(BxActivityBaseBehavior.java:973)

at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.eval(BxActivityBaseBehavior.java:1)

at com.tibco.pvm.infra.api.impl.util.director.IpmEventDirectorBase.handleModelEvent(IpmEventDirectorBase.java:195)

at com.tibco.pvm.infra.api.impl.util.director.IpmEventDirectorBase.handleEvent(IpmEventDirectorBase.java:111)

at com.tibco.pvm.infra.support.work.impl.WorkItemAbstract.execute(WorkItemAbstract.java:177)

at com.tibco.pvm.im.rt.xm.util.work.ImxSTWorkRunnable.doWorkBlock(ImxSTWorkRunnable.java:170)

at com.tibco.pvm.infra.services.engine.impl.STWorkRunnable.run(STWorkRunnable.java:50)

at com.tibco.pvm.im.rt.xm.util.work.ImxSTWorkRunnable.run(ImxSTWorkRunnable.java:62)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.NullPointerException

On the appnode outside the process CitadOut_Letter_Send_Response_To_CM, there are 2 more processes. Does sharing processes using notify activity in the same appnode have any effect Please tell me the cause and how to fix it. I am using Tibco Bussiness Work 6. Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...