Complete Error trace follows: +++++++++++++++++ java.lang.ArrayIndexOutOfBoundsException: -1001 at com.tibco.cep.runtime.service.om.coherence.cluster.TopicRegistry.isRegisteredForChange(TopicRegistry.java:84) at com.tibco.cep.runtime.service.om.coherence.cluster.agents.RtcTransaction.recordNewEvent(RtcTransaction.java:207) at com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAgent.applyChanges_SimpleEvent(InferenceAgent.java:2386) at com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAgent.applyChanges(InferenceAgent.java:2564) at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.applyChanges(CoherenceStore.java:936) at com.tibco.cep.kernel.core.base.WorkingMemoryImpl.processRecorded(WorkingMemoryImpl.java:408) at com.tibco.cep.kernel.core.rete.ReteWM.executeRules(ReteWM.java:1353) at com.tibco.cep.runtime.session.impl.RuleSessionImpl.preprocessPassthru(RuleSessionImpl.java:889) at com.tibco.be.functions.engine.EngineFunctions$AssertEventAsyncTask.run(EngineFunctions.java:605) at com.tibco.cep.runtime.session.BEManagedThread.execute(BEManagedThread.java:459) at com.tibco.cep.runtime.session.BEManagedThread.run_from_queue(BEManagedThread.java:401) at com.tibco.cep.runtime.session.BEManagedThread.run(BEManagedThread.java:302) +++++++++++++++++
In addition to above error, following warning message is seen during startup: +++++++ Warning [AgentMgr-<Agent_Name>-0] - TypeId not found for class be.gen.Events.XXX +++++++
The trace indicates TYPE id event mapping is missing for this event in CLASSREGISTRY table in DB.
Resolution: ======== The entries in ClassRegistry table are created by Cache Agents. Most probable cause for entries in Cache Servers go missing is that one has not re-deployed Cache Engines with new EAR containing new additional Event. One needs to re-deploy cache-nodes with new ear, restart them and make sure there is an entry for this class in the classregistry table. ArrayIndexOutOfBoundsException should be resolved now.
Same applies for BE 5.x, only the line numbers and/or package names in error trace will be different.
Issue/Introduction
Error [java.lang.ArrayIndexOutOfBoundsException: -1001] seen during Inference Engine startup.