Exception thrown when TIBCO Business Event agent executes catalog function Instance.updateInstanceFromXML().

Exception thrown when TIBCO Business Event agent executes catalog function Instance.updateInstanceFromXML().

book

Article ID: KB0090635

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Exception thrown when TIBCO Business Event agent executes catalog function Instance.updateInstanceFromXML().

Environment:
===========
TIBCO BusinessEvents 5.1
All Operating Systems

Symptoms:
=========
Exception in logfile:

java.lang.RuntimeException: org.xml.sax.SAXException: Unknown Type &lttype>
    at com.tibco.be.functions.object.ObjectHelper.updateInstanceFromXML(SourceFile:1024)
    at be.gen.RuleFunctions.CRUD.nullupdateQueueStatsV2$oversizeName.updateQueueStatsV2(nullupdateQueueStatsV2$oversizeName.java:20)
    at be.gen.Rules.ProcessStats.updateQueueStatsV2$updateQueueStatsV2_a.execute(updateQueueStatsV2.java:97)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:310)
    at com.tibco.cep.kernel.core.rete.ReteWM$7.doTxnWork(SourceFile:1473)
    at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:131)
    at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:91)
    at com.tibco.cep.kernel.core.rete.ReteWM.executeRules(SourceFile:1380)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl$5.doTxnWork(RuleSessionImpl.java:1078)
    at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:131)
    at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:91)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.preprocessPassthru(RuleSessionImpl.java:1057)
    at com.tibco.cep.runtime.service.cluster.ClusterTaskController$1.doTxnWork(ClusterTaskController.java:82)
    at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:146)
    at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:91)
    at com.tibco.cep.runtime.service.cluster.ClusterTaskController.executeTask(ClusterTaskController.java:69)
    at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2$WorkerTask.run(WorkerBasedControllerV2.java:466)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at com.tibco.cep.runtime.util.CustomBEManagedThread.run(CustomBEManagedThread.java:24)

Cause:
======
Catalog function Instance.updateInstanceFromXML() loads the concept referred to the ExtID in the XML and updates the concept based using the XML string. The exception will be thrown when the loaded concept  does not match the concept type (schema) referred in the XML (different properties).

Resolution:
========
Update your code to  guarantee that the schema is the same for the loaded concept.

Issue/Introduction

Exception thrown when TIBCO Business Event agent executes catalog function Instance.updateInstanceFromXML().