Exception thrown when Concept created in PreProcessor and the Statemachine timeout has been set.

book

Article ID: KB0088905

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Exception thrown when Concept created in PreProcessor and the Statemachine timeout has been set.

Environment:
===========
TIBCO BusinessEvents 3.0.2
All Operating Systems


Symptoms:
=========
Exception:

Got exception [java.lang.RuntimeException: addAction [com.tibco.cep.runtime.service.om.coherence.cluster.services.StateTimeoutAction@1e43b71] not allowed in preprocessor] while executing preprocessor [void &ltPreprocessor Rule (com.tibco.cep.kernel.model.entity.Event e)] for event [&ltEvent>]
java.lang.RuntimeException: addAction [com.tibco.cep.runtime.service.om.coherence.cluster.services.StateTimeoutAction@&ltid>] not allowed in preprocessor

Cause:
======
Concept created in PreProcessor (started Statemachine)  - It is not allowed to set the Statemachine timeout in the preprocessor.

Resolution:
========
Creating the concept in a Rule instead of the preprocessor RuleFunction should solve this issue.

Issue/Introduction

Exception thrown when Concept created in PreProcessor and the Statemachine timeout has been set.