TIBCO BusinessEvents (BE) 5.1.2 engine reports java.lang.RuntimeException: com.tibco.as.space.ASException: INCOMPATIBLE_TUPLE (unknown_field - field name=extId)

TIBCO BusinessEvents (BE) 5.1.2 engine reports java.lang.RuntimeException: com.tibco.as.space.ASException: INCOMPATIBLE_TUPLE (unknown_field - field name=extId)

book

Article ID: KB0089339

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
The inference engine runs but reports the above error.

Symptoms:
Full error stack follows:

2014 Mar 19 10:02:48:923 GMT -7 MenloCEPOperational-Inference-MenloCEPOperational-Inference-01 Error [$default.be.mt$.Thread.6] - [runtime.service] [inference-class] Error occurred in [DefaultDistributedCacheBasedStore]. Quorum check will be performed.
java.lang.RuntimeException: com.tibco.as.space.ASException: INCOMPATIBLE_TUPLE (unknown_field - field name=extId)
    at com.tibco.cep.as.kit.map.SpaceMap.traceAsException(SourceFile:97)
    at com.tibco.cep.as.kit.map.SpaceMap$SpaceMapEntrySet.iterator(SourceFile:415)
    at com.tibco.cep.runtime.managed.DataGridSNManagedObjectSpi.fetchByExtIdUsingBrowser(SourceFile:153)
    at com.tibco.cep.runtime.managed.DataGridSNManagedObjectSpi.fetchByExtId(SourceFile:54)
    at com.tibco.cep.runtime.model.element.impl.ManagedObjectManager.fetchByExtId(ManagedObjectManager.java:91)
    at com.tibco.cep.runtime.service.cluster.om.DefaultDistributedCacheBasedStore.getElementFromStore(DefaultDistributedCacheBasedStore.java:1352)
    at com.tibco.cep.runtime.service.cluster.om.DefaultDistributedCacheBasedStore.getElement(DefaultDistributedCacheBasedStore.java:1696)
    at com.tibco.be.functions.cluster.DataGridFunctionsProvider.loadConceptUsingExtId(SourceFile:315)
    at com.tibco.be.functions.cluster.DataGridFunctionsProvider.cacheLoadConceptByExtIdByUri(SourceFile:581)
    at com.tibco.be.functions.cluster.DataGridFunctions.CacheLoadConceptByExtIdByUri(SourceFile:449)
    at be.gen.Projects.MenloCEPOperational.RuleFunctions.HelperFunctions.booleanLockAndLoadProcessContext$oversizeName.LockAndLoadProcessContext(booleanLockAndLoadProcessContext$oversizeName.java:16)
    at be.gen.Projects.MenloCEPOperational.RuleFunctions.PreProcessors.nullMenloCanonicalMsgPreProcessor$oversizeName.MenloCanonicalMsgPreProcessor(nullMenloCanonicalMsgPreProcessor$oversizeName.java:48)
    at be.gen.Projects.MenloCEPOperational.RuleFunctions.PreProcessors.MenloCanonicalMsgPreProcessor.invoke(MenloCanonicalMsgPreProcessor.java:13)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl$4.doTxnWork(RuleSessionImpl.java:1072)
    at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:141)
    at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:101)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.preprocessPassthru(RuleSessionImpl.java:1064)
    at com.tibco.cep.runtime.service.cluster.ClusterTaskController$1.doTxnWork(ClusterTaskController.java:73)
    at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:156)
    at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:101)
    at com.tibco.cep.runtime.service.cluster.ClusterTaskController.executeTask(ClusterTaskController.java:61)
    at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2$WorkerTask.run(WorkerBasedControllerV2.java:466)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at com.tibco.cep.runtime.util.CustomBEManagedThread.run(CustomBEManagedThread.java:24)
Caused by: com.tibco.as.space.ASException: INCOMPATIBLE_TUPLE (unknown_field - field name=extId)
    at Native.visit(IdentifierNode.cpp:18)
    at Native.visit(RangeNode.cpp:53)
    at Native.validate(SpaceFilter.cpp:36)
    at Native.initialize(SpaceBrowserListener.cpp:58)
    at Native.initialize(SpaceBrowser.cpp:42)
    at Native.Api_Browser_Initialize(ApiBrowser.cpp:73)
    at Native.Api_Browser_Initialize(ApiBrowser.cpp:27)
    at Native.Java_com_tibco_as_space_impl_NativeImpl_spaceCreateQueryBrowser(JBrowser.cpp:41)
    at com.tibco.as.space.impl.NativeImpl.spaceCreateQueryBrowser(Native Method)
    at com.tibco.as.space.impl.ASSpace.browse(ASSpace.java:500)
    at com.tibco.cep.as.kit.map.SpaceMap$SpaceMapEntrySet.iterator(SourceFile:411)
    ... 23 more

Cause:
The CDD is incorrect in defining persistence as Shared Nothing.
 
(<backing-store>
                <persistence-option>Shared Nothing</persistence-option>)
but having explicit tuple set to false
(<explicit-tuple>false</explicit-tuple>)

Issue/Introduction

TIBCO BusinessEvents (BE) 5.1.2 engine reports java.lang.RuntimeException: com.tibco.as.space.ASException: INCOMPATIBLE_TUPLE (unknown_field - field name=extId)

Resolution

Edit the CDD with a file editor to have <explicit-tuple>true</explicit-tuple> and redeploy.