Hello all,
I'm trying to run following execution plan on CEP.

*<?xml version="1.0" encoding="UTF-8"?>*
*<executionPlan name="notify_High" statistics="disable" trace="disable"
xmlns="http://wso2.org/carbon/eventprocessor
<http://wso2.org/carbon/eventprocessor>">*
*  <description/>*
*  <siddhiConfiguration>*
*    <property
name="siddhi.persistence.snapshot.time.interval.minutes">0</property>*
*    <property name="siddhi.enable.distributed.processing">false</property>*
*  </siddhiConfiguration>*
*  <importedStreams>*
*    <stream as="sums" name="currentsums" version="1.0.0"/>*
*  </importedStreams>*
*  <queryExpressions><![CDATA[from sums[bandwidth>10000]*
*select SrcIp*
*insert into shouldNotify;]]></queryExpressions>*
*  <exportedStreams>*
*    <stream name="shouldNotify" passthroughFlow="enable"*
*      valueOf="shouldNotify" version="1.0.0"/>*
*  </exportedStreams>*
*</executionPlan>*

But when I'm sending events to CEP, it says that

*ERROR - {EventJunction}  Error while dispatching events*
*java.lang.ArrayIndexOutOfBoundsException*

I have set both input stream and output stream properly.

*currentsums - *
StreamDefinition{ streamId='currentsums:1.0.0', name='currentsums',
version='1.0.0', nickName='', description='', tags=null, metaData=null,
correlationData=null, payloadData=[Attribute{name='SrcIp', type=STRING},
Attribute{name='bandwidth', type=LONG}], }

*shouldNotify - *
StreamDefinition{ streamId='shouldNotify:1.0.0', name='shouldNotify',
version='1.0.0', nickName='', description='', tags=null, metaData=null,
correlationData=null, payloadData=[Attribute{name='SrcIp', type=STRING}], }

What is the reason for this error?

Thank You.


-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to