Uploaded image for project: 'Eagle (Retired)'
  1. Eagle (Retired)
  2. EAGLE-198

integrate new Siddhi version so that thread should not die when event evaluation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • v0.3.0
    • v0.3.0
    • None
    • None

    Description

      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]

      Attachments

        Activity

          People

            haoch Hao Chen
            yonzhang2012 Edward Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: