Exception thrown on SendEvent (PostRTC or after executing Event.Ext.sendEventExt() .

Exception thrown on SendEvent (PostRTC or after executing Event.Ext.sendEventExt() .

book

Article ID: KB0088751

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
Exception thrown on SendEvent (PostRTC or after executing Event.Ext.sendEventExt() .

Symptoms:
Exception in TIBCO BusinessEvents log file.
<timestamp> <agentname> Error [$default.be.mt$.Thread.<threadID>] - [runtime.service] [<agentkey>] Got runtime exception while executing <Rule/RuleFunction/Transition/StateTimeout>
com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: java.lang.NullPointerException: <no message>
                at com.tibco.cep.driver.jms.serializer.TextMessageSerializer.createMessage(SourceFile:39)
                at com.tibco.cep.driver.jms.serializer.MapMessageSerializer.serialize(SourceFile:116)
                at com.tibco.cep.driver.jms.JMSDestination.send(SourceFile:536)
                at com.tibco.cep.driver.jms.JMSDestination.send(SourceFile:666)
                at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.sendEvent(ChannelManagerImpl.java:153)
                at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.sendEvent(ChannelManagerImpl.java:144)
                at com.tibco.be.functions.event.EventHelper.sendEvent_Impl(SourceFile:102)
                at com.tibco.be.functions.event.ext.EventHelperExt.sendEventExt(SourceFile:46)
                at be.gen.<Rule/RuleFunction(null<Event>$oversizeName.java:36)
                at be.gen.<Rule/RuleFunction(<entityName>.java:557)


Cause:
mis-configuration
The default destination of the Event was disabled in CDD with properties:
be.channel.tibjms.queue.disabled = <destination URL>
be.channel.tibjms.topic.disabled = <destination URL>

Issue/Introduction

Exception thrown on SendEvent (PostRTC or after executing Event.Ext.sendEventExt() .

Resolution

Delete the CDD properties "be.channel.tibjms.queue.disabled" and/or "be.channel.tibjms.topic.disabled"  for the default destination of the Event to be able to send the Event to that destination. Both properties should be used only when the Agent should not handle input Events and the agent creates no output Events for those destinations.