Error thrown while trying to append newly created temp in-memory concept to parent concept.

Error thrown while trying to append newly created temp in-memory concept to parent concept.

book

Article ID: KB0093968

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
Error thrown while trying to append newly created temp in-memory concept to parent concept.

Environment:
===========
All O/S and H/W
TIBCO BusinessEvents – All versions.

Symptoms:
========
Error: 2011 Jan 14 16:46:57:531 GMT -5 LtyR2-RealTime Error [$default.be.mt$.Worker.0] - [RuleFunction.Create.transaction] com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: com.tibco.cep.runtime.model.element.ContainedConceptException: Attempted to set Instance be.gen.Concepts.XML.RewardableTransaction@id=655852548&v=0 as the parent of Instance be.gen.Concepts.XML.Payment@id=655901696&v=0 while it has been set to Instance be.gen.Concepts.XML.RewardableTransaction@id=655852548&v=0
    at com.tibco.cep.runtime.model.element.impl.ConceptImpl.setParent(ConceptImpl.java:1005)
    at com.tibco.cep.runtime.model.element.impl.simple.PropertyAtomContainedConceptSimple.setCurrent(PropertyAtomContainedConceptSimple.java:203)
    at com.tibco.cep.runtime.model.element.impl.simple.PropertyAtomContainedConceptSimple.setContainedConcept(PropertyAtomContainedConceptSimple.java:233)
    at com.tibco.be.functions.property.PropertyArrayHelper.appendContainedConcept(PropertyArrayHelper.java:761)
    at be.gen.Functions.Create.nulltransaction$002fEvents$002fTransactionEvent$002fConcepts$002fAccount$002fAccount$.transaction(nulltransaction$002fEvents$002fTransactionEvent$002fConcepts$002fAccount$002fAccount$.java:35)
    at be.gen.Functions.Preprocessor.nulltransaction$002fEvents$002fTransactionEvent$.transaction(nulltransaction$002fEvents$002fTransactionEvent$.java:17)
    at be.gen.Functions.Preprocessor.transaction.invoke(transaction.java:9)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.preprocessPassthru(RuleSessionImpl.java:876)
    at com.tibco.cep.runtime.service.om.coherence.cluster.agents.ClusterTaskController.executeTask(ClusterTaskController.java:62)
    at com.tibco.cep.runtime.scheduler.impl.WorkerBasedController$WorkerTask.run(WorkerBasedController.java:317)
    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)

Cause/ Resolution:
===============
The temp concept is still refering to the actual concept and appending to the parent concept is duplicating the child concept in the parent concept which cannot be done.

Extension to SOL1-CIJ3SR

Issue/Introduction

Error thrown while trying to append newly created temp in-memory concept to parent concept.