[ 
https://issues.apache.org/jira/browse/EAGLE-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190503#comment-15190503
 ] 

Hao Chen commented on EAGLE-198:
--------------------------------

Bad data will trigger this bug: https://github.com/wso2/siddhi/pull/120 and the 
fixing patch has been included in v3.0.5 
(http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/siddhi/siddhi-core/3.0.5/)
 while we are still using old v3.0.2. We could fix the reliability problem by 
upgrading to v3.0.5 


> integrate new Siddhi version so that thread should not die when event 
> evaluation fails
> --------------------------------------------------------------------------------------
>
>                 Key: EAGLE-198
>                 URL: https://issues.apache.org/jira/browse/EAGLE-198
>             Project: Eagle
>          Issue Type: Bug
>            Reporter: Edward Zhang
>
> Today when Siddhi engine evaluation thread has exception, the whole thread 
> will die which cause event processing halted, Siddhi already had fix on that, 
> we should integrate it.
> 2016-03-11T01:46:42.455+0000 o.a.s.z.s.NIOServerCnxnFactory [ERROR] Thread 
> Thread[Siddhi-2a19447c-c71d-44fe-a6b8-008e62c6d64a-executor-thread-0,5,main] 
> died
> java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String 
> cannot be cast to java.lang.Double
>         at 
> com.lmax.disruptor.FatalExceptionHandler.handleEventException(FatalExceptionHandler.java:45)
>  ~[disruptor-2.10.1.jar:na]
>         at 
> com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128) 
> ~[disruptor-2.10.1.jar:na]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  ~[na:1.7.0_79]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  ~[na:1.7.0_79]
>         at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_79]
> Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to 
> java.lang.Double
>         at 
> org.wso2.siddhi.core.executor.function.ConvertFunctionExecutor.execute(ConvertFunctionExecutor.java:104)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.executor.function.FunctionExecutor.execute(FunctionExecutor.java:94)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.executor.condition.compare.CompareConditionExpressionExecutor.execute(CompareConditionExpressionExecutor.java:36)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.executor.condition.compare.CompareConditionExpressionExecutor.execute(CompareConditionExpressionExecutor.java:23)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.executor.condition.AndConditionExpressionExecutor.execute(AndConditionExpressionExecutor.java:53)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.executor.condition.AndConditionExpressionExecutor.execute(AndConditionExpressionExecutor.java:24)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.query.processor.filter.FilterProcessor.process(FilterProcessor.java:49)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.query.input.ProcessStreamReceiver.processAndClear(ProcessStreamReceiver.java:93)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.query.input.ProcessStreamReceiver.receive(ProcessStreamReceiver.java:65)
>  ~[stormjar.jar:na]
>         at 
> org.wso2.siddhi.core.stream.StreamJunction.sendEvent(StreamJunction.java:114) 
> ~[stormjar.jar:na]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to