TIBCO BusinessEvents reports, "Exception while performing user-defined exception handler: TransactionErrorHandler java.lang.RuntimeException: RuleFunction ;name; does not exist.

TIBCO BusinessEvents reports, "Exception while performing user-defined exception handler: TransactionErrorHandler java.lang.RuntimeException: RuleFunction ;name; does not exist.

book

Article ID: KB0085532

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
Inference Agent throws an Exception when processing a user-defined exception handler.

Symptoms:
Exception in log file:


<timestamp> Error [WorkPool.Thread.<id>] - [runtime.service] Retrying Action: com.tibco.be.functions.event.EventHelper$SendEventAction@58697d
Exception while performing user-defined exception handler: TransactionErrorHandler
java.lang.RuntimeException: RuleFunction <URL-RuleFunction> does not exist
        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.getRuleFunction(RuleSessionImpl.java:619)
        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:676)
        at com.tibco.cep.runtime.service.cluster.txn.RtcTransactionManager.handleException(RtcTransactionManager.java:1176)
        at com.tibco.cep.runtime.service.cluster.txn.RtcTransactionManager.runActions(RtcTransactionManager.java:309)
        at com.tibco.cep.runtime.service.cluster.txn.RtcTransactionManager.applyTransactionToActions(RtcTransactionManager.java:465)
        at com.tibco.cep.runtime.service.cluster.txn.RtcTransactionManager$TxnTask_Actions.run(RtcTransactionManager.java:606)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

Cause:
Incorrect URL for Transaction Error Handler Rule Function of your project.

Resolution

Update the CDD property be.engine.txn.error.function (The URL must start with a forward slash).

Example:

<property name="be.engine.txn.error.function" value="/RuleFunctions/TransactionErrorHandler"/>

Issue/Introduction

TIBCO BusinessEvents reports, "Exception while performing user-defined exception handler: TransactionErrorHandler java.lang.RuntimeException: RuleFunction ;name; does not exist.