You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Edward Zhang (JIRA)" <ji...@apache.org> on 2016/03/11 04:53:40 UTC

[jira] [Created] (EAGLE-198) integrate new Siddhi version so that thread should not die when event evaluation fails

Edward Zhang created EAGLE-198:
----------------------------------

             Summary: 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)