0
私は、文字列を受け取っRECEIVERを持っている:エラー - WSO2
Eventtype=2
Machineuserid={e5abyyef-t0dc-8wve-udxp-593z3swpbs10}
Datetime=2016-7-15 9:30:57.000 -0500
Licensekey=WxyzChXjhJ-dgjfZfHnL9-bWd4e2vxjD-eIs5hDu0To-VOxL111BAj
Version=4.1.3
Data=http://www.easysol.net/|53.70.16.07
Extradata=NA
OS=win64
OSVersion=6.1
私のストリームは、文字列型のatributteがあります
{
"name": "DATOS",
"version": "1.0.0",
"nickName": "",
"description": "",
"metaData": [
{
"name": "DATA",
"type": "STRING"
}
]
}
私は定期的にexpresionを使用しています私のストリームDATOSのatributteのデータの電荷を私の文字列のために。
<?xml version="1.0" encoding="UTF-8"?>
<eventReceiver name="httpdatos" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
<from eventAdapterType="http">
<property name="transports">all</property>
</from>
<mapping customMapping="enable" type="text">
<property>
<from regex="([^;]+)"/>
<to name="meta_DATA" type="string"/>
</property>
</mapping>
<to streamName="DATOS" version="1.0.0"/>
</eventReceiver>
しかし、私は負荷テストを行い、200件のスレッドの後、私は次のエラーを取得するときに私の問題は、次のとおりです:
org.wso2.siddhi.core.exception.ExecutionPlanRuntimeException: Cannot Execute Insert/Update. Null value detected for attributemeta_DATA
を、私の定期的なexpresionは「(+ [^])」の横にあります私を助けてください。