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 ...

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by DuncanDoyle
    ,
  • Stack trace

    • 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>(WorkingMemorySimulationRepository.java:58)[jbpm-simulation-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.simulation.SimulationRunner.runSimulation(SimulationRunner.java:78)[jbpm-simulation-6.4.0.Final.jar:6.4.0.Final] at org.jbpm.simulation.SimulationRunner.runSimulation(SimulationRunner.java:73)[jbpm-simulation-6.4.0.Final.jar:6.4.0.Final]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.