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 | 6 months ago
  1. 0

    jBPM Simulation Compilation Errors after Clean Install

    Google Groups | 6 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

    Error During Startup KIE-WB

    Google Groups | 2 weeks ago | Anand Parthiban
    java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=ReleaseProject.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object The operator && is undefined for the argument type(s) boolean, Boolean], Message [id=2, level=ERROR, path=ApproveOperation.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object The method setVariable(String, Object) in the type ProcessContext is not applicable for the arguments (String, boolean)], Message [id=3, level=ERROR, path=ExecuteOperation.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=4, level=ERROR, path=BuildProject.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object The operator && is undefined for the argument type(s) boolean, Boolean Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=5, level=ERROR, path=PromoteAssets.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=6, level=ERROR, path=ConfigureRepository.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=7, level=ERROR, path=approve-rules.drl, line=41, column=0 text=Rule Compilation error The method setVariable(String, Object) in the type WorkflowProcessInstance is not applicable for the arguments (String, boolean) The method setVariable(String, Object) in the type WorkflowProcessInstance is not applicable for the arguments (String, boolean)]]
  3. 0

    Error During Startup KIE-WB

    Google Groups | 2 weeks ago | Anand Parthiban
    java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=ReleaseProject.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object The operator && is undefined for the argument type(s) boolean, Boolean], Message [id=2, level=ERROR, path=ApproveOperation.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object The method setVariable(String, Object) in the type ProcessContext is not applicable for the arguments (String, boolean)], Message [id=3, level=ERROR, path=ExecuteOperation.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=4, level=ERROR, path=BuildProject.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object The operator && is undefined for the argument type(s) boolean, Boolean Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=5, level=ERROR, path=PromoteAssets.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=6, level=ERROR, path=ConfigureRepository.bpmn2, line=-1, column=0 text=Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object], Message [id=7, level=ERROR, path=approve-rules.drl, line=41, column=0 text=Rule Compilation error The method setVariable(String, Object) in the type WorkflowProcessInstance is not applicable for the arguments (String, boolean) The method setVariable(String, Object) in the type WorkflowProcessInstance is not applicable for the arguments (String, boolean)]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to build Kie session when using dsl and dslr files?

    Stack Overflow | 1 year ago | Yatin Grover
    java.lang.RuntimeException: Build Errors: Error Messages: Message [id=1, level=ERROR, path=MyDslr.dslr, line=17, column=0 text=[17] No mapping entries for expanding: Person is at least 21 and car is "duster"] Message [id=2, level=ERROR, path=MyDslr.dslr, line=17, column=0 text=[17] Unable to expand: Person is at least 21 and car is "duster"] Message [id=3, level=ERROR, path=MyDslr.dslr, line=19, column=0 text=[19] No mapping entries for expanding: Log : "hello world"] Message [id=4, level=ERROR, path=MyDslr.dslr, line=19, column=0 text=[19] Unable to expand: Log : "hello world"] Message [id=5, level=ERROR, path=MyDslr.dslr, line=17, column=0 text=[ERR 102] Line 17:15 mismatched input 'is' in rule "My First Rule"] --- Warning Messages: --- Info Messages:
  6. 0

    ClassCastException when using Spark Dataset API+case class+Spark Job Server

    Stack Overflow | 2 months ago | Adelave
    java.lang.RuntimeException: Error while encoding: java.lang.ClassCastException: org.lala.Country cannot be cast to org.lala.Country staticinvoke(class org.apache.spark.unsafe.types.UTF8String,StringType,fromString,invoke(input[0, ObjectType(class org.lala.Country)],code,ObjectType(class java.lang.String)),true) AS code#10 +- staticinvoke(class org.apache.spark.unsafe.types.UTF8String,StringType,fromString,invoke(input[0, ObjectType(class org.lala.Country)],code,ObjectType(class java.lang.String)),true) +- invoke(input[0, ObjectType(class org.lala.Country)],code,ObjectType(class java.lang.String)) +- input[0, ObjectType(class org.lala.Country)]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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