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 | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    jBPM Simulation Compilation Errors after Clean Install

    Google Groups | 12 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 ...
  2. 0

    GitHub comment 23#282000489

    GitHub | 3 months ago | DuncanDoyle
    java.lang.RuntimeException: Unable to calculate paths of the process - max size (100) of paths exceeded

    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