Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
A NullPointerException occurs while performing BusinessEvents Cache initialization and the engine stops. The stack trace indicates that project CDD has wrong/invalid configuration in the Domain Object configuration section.
Here is the Error message:
2016 Apr 20 13:19:42:911 GMT -4 CacheEngine Debug [main] - [runtime.session] Error performing initCluster()
java.lang.NullPointerException
at com.tibco.cep.runtime.service.om.api.EntityDaoConfigCreator.create(EntityDaoConfigCreator.java:151)
at com.tibco.cep.runtime.service.om.api.EntityDaoConfigCreator.createAndPutIfAbsent(EntityDaoConfigCreator.java:48)
at com.tibco.cep.runtime.service.cluster.system.MetadataCache.initEntityDaoConfiguration(MetadataCache.java:107)
at com.tibco.cep.runtime.service.cluster.system.MetadataCache.init(MetadataCache.java:95)
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.init(MultiAgentCluster.java:114)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServiceProviderImpl.java:759)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:291)
at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:161)
at com.tibco.cep.container.standalone.BEMain.main(SourceFile:70)
The CDD -> Domain Objects --> Default --> <pre-load-fetch-size/> was not set and causes the NullPointerException during the Cluster initialization process. Set the default value (0) <pre-load-fetch-size>0</pre-load-fetch-size> to avoid the NullPointerException.