java.lang.RuntimeException: Error while building knowledge base: Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=ActivitySimulationEvent]] ]] simulation/Rule_Calculate_average_duration_for_activity912964658AccumulateExpression2Invoker.java (19:831) : Cannot cast from long to Long simulation/Rule_Calculate_average_duration_for_activity912964658AccumulateExpression2Invoker.java (19:831) : Type mismatch: cannot convert from Long to long ... Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=HTAggregatedSimulationEvent]] ]] simulation/Rule_Calculate_human_activity_summary927771080AccumulateExpression3Invoker.java (19:834) : Cannot cast from double to Double etc. ... Rule Compilation error : [Rule name='Calculate activity summary'] simulation/Rule_Calculate_activity_summary1795396102.java (43:3092) : The constructor AggregatedActivitySimulationEvent(String, String, Double, Double, Double, long, String) is undefined ... Rule Compilation error : [Rule name='Calculate end event summary'] simulation/Rule_Calculate_end_event_summary1338519770.java (43:3124) : The constructor AggregatedEndEventSimulationEvent(String, String, Double, Double, Double, long, String) is undefined ...

Google Groups | Rafi | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    jBPM Simulation Compilation Errors after Clean Install

    Google Groups | 9 months ago | Rafi
    java.lang.RuntimeException: Error while building knowledge base: Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=ActivitySimulationEvent]] ]] simulation/Rule_Calculate_average_duration_for_activity912964658AccumulateExpression2Invoker.java (19:831) : Cannot cast from long to Long simulation/Rule_Calculate_average_duration_for_activity912964658AccumulateExpression2Invoker.java (19:831) : Type mismatch: cannot convert from Long to long ... Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=HTAggregatedSimulationEvent]] ]] simulation/Rule_Calculate_human_activity_summary927771080AccumulateExpression3Invoker.java (19:834) : Cannot cast from double to Double etc. ... Rule Compilation error : [Rule name='Calculate activity summary'] simulation/Rule_Calculate_activity_summary1795396102.java (43:3092) : The constructor AggregatedActivitySimulationEvent(String, String, Double, Double, Double, long, String) is undefined ... Rule Compilation error : [Rule name='Calculate end event summary'] simulation/Rule_Calculate_end_event_summary1338519770.java (43:3124) : The constructor AggregatedEndEventSimulationEvent(String, String, Double, Double, Double, long, String) is undefined ...

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error while building knowledge base: Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=ActivitySimulationEvent]] ]] simulation/Rule_Calculate_average_duration_for_activity912964658AccumulateExpression2Invoker.java (19:831) : Cannot cast from long to Long simulation/Rule_Calculate_average_duration_for_activity912964658AccumulateExpression2Invoker.java (19:831) : Type mismatch: cannot convert from Long to long ... Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=HTAggregatedSimulationEvent]] ]] simulation/Rule_Calculate_human_activity_summary927771080AccumulateExpression3Invoker.java (19:834) : Cannot cast from double to Double etc. ... Rule Compilation error : [Rule name='Calculate activity summary'] simulation/Rule_Calculate_activity_summary1795396102.java (43:3092) : The constructor AggregatedActivitySimulationEvent(String, String, Double, Double, Double, long, String) is undefined ... Rule Compilation error : [Rule name='Calculate end event summary'] simulation/Rule_Calculate_end_event_summary1338519770.java (43:3124) : The constructor AggregatedEndEventSimulationEvent(String, String, Double, Double, Double, long, String) is undefined ...

      at org.jbpm.simulation.impl.WorkingMemorySimulationRepository.<init>()
    2. jBPM Simulation
      SimulationRunner.runSimulation
      1. org.jbpm.simulation.impl.WorkingMemorySimulationRepository.<init>(WorkingMemorySimulationRepository.java:58)[jbpm-simulation-6.4.0.Final.jar:6.4.0.Final]
      2. org.jbpm.simulation.SimulationRunner.runSimulation(SimulationRunner.java:78)[jbpm-simulation-6.4.0.Final.jar:6.4.0.Final]
      3. org.jbpm.simulation.SimulationRunner.runSimulation(SimulationRunner.java:73)[jbpm-simulation-6.4.0.Final.jar:6.4.0.Final]
      3 frames