java.lang.ClassCastException: org.chocosolver.solver.variables.events.IntEventType cannot be cast to org.chocosolver.solver.variables.events.RealEventType

GitHub | JiiTee | 4 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Real + int problem

    GitHub | 4 weeks ago | JiiTee
    java.lang.ClassCastException: org.chocosolver.solver.variables.events.IntEventType cannot be cast to org.chocosolver.solver.variables.events.RealEventType
  2. 0

    TwoBucketPropagationEngine doesn't work in 3.3.2

    GitHub | 1 year ago | gregy4
    org.chocosolver.solver.exception.SolverException: Cannot schedule coarse event for low priority propagator.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

      org.chocosolver.solver.variables.events.IntEventType cannot be cast to org.chocosolver.solver.variables.events.RealEventType

      at org.chocosolver.solver.variables.impl.scheduler.RealEvtScheduler.init()
    2. org.chocosolver.solver
      Solver.solve
      1. org.chocosolver.solver.variables.impl.scheduler.RealEvtScheduler.init(RealEvtScheduler.java:39)
      2. org.chocosolver.solver.propagation.hardcoded.SevenQueuesPropagatorEngine.onVariableUpdate(SevenQueuesPropagatorEngine.java:327)
      3. org.chocosolver.solver.variables.impl.AbstractVariable.notifyPropagators(AbstractVariable.java:313)
      4. org.chocosolver.solver.variables.impl.AbstractVariable.notifyViews(AbstractVariable.java:327)
      5. org.chocosolver.solver.variables.impl.AbstractVariable.notifyPropagators(AbstractVariable.java:314)
      6. org.chocosolver.solver.variables.impl.BitsetArrayIntVarImpl.instantiateTo(BitsetArrayIntVarImpl.java:391)
      7. org.chocosolver.solver.search.strategy.assignments.DecisionOperator$1.apply(DecisionOperator.java:71)
      8. org.chocosolver.solver.search.strategy.assignments.DecisionOperator$1.apply(DecisionOperator.java:67)
      9. org.chocosolver.solver.search.strategy.decision.IntDecision.apply(IntDecision.java:78)
      10. org.chocosolver.solver.search.strategy.decision.DecisionPath.apply(DecisionPath.java:106)
      11. org.chocosolver.solver.search.loop.propagate.PropagateBasic.execute(PropagateBasic.java:46)
      12. org.chocosolver.solver.Solver.searchLoop(Solver.java:298)
      13. org.chocosolver.solver.Solver.solve(Solver.java:265)
      13 frames
    3. chocoPropagationTest
      ChocoFloatCalc02.main
      1. chocoPropagationTest.ChocoFloatCalc02.main(Unknown Source)
      1 frame