Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
============
In TIBCO BusinessEvents 5.0, a NullPointerException is thrown when trying to start the Query engine.
Environment:
==========
TIBCO BusinessEvents Studio
TIBCO BusinessEvents QueryEngine
Symptoms:
=========
Following exception is thrown -
java.lang.NullPointerException
at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2.start(WorkerBasedControllerV2.java:254)
at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(RuleSessionImpl.java:298)
at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.start(RuleSessionManagerImpl.java:238)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startAll(RuleServiceProviderImpl.java:951)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:213)
Cause:
=====
The exception can come due to mis-configuration in CDD file.
Resolution:
==========
1). Check if Object Management(OM) is selected as "Cache" in the Cluster tab of the CDD file for the project.
2). Make sure that value for property "be.agent.query.console" is provided correctly in the Processing Unit tab for the query agent. Also, make sure that there are no spaces in the property name and value.
References:
==========
For more details, refer to Query Developers Guide in the Event Stream Processing section of BusinessEvents installation.