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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by JiiTee
, 9 months ago
org.chocosolver.solver.variables.events.IntEventType cannot be cast to org.chocosolver.solver.variables.events.RealEventType
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(RealEvtScheduler.java:39)
at org.chocosolver.solver.propagation.hardcoded.SevenQueuesPropagatorEngine.onVariableUpdate(SevenQueuesPropagatorEngine.java:327)
at org.chocosolver.solver.variables.impl.AbstractVariable.notifyPropagators(AbstractVariable.java:313)
at org.chocosolver.solver.variables.impl.AbstractVariable.notifyViews(AbstractVariable.java:327)
at org.chocosolver.solver.variables.impl.AbstractVariable.notifyPropagators(AbstractVariable.java:314)
at org.chocosolver.solver.variables.impl.BitsetArrayIntVarImpl.instantiateTo(BitsetArrayIntVarImpl.java:391)
at org.chocosolver.solver.search.strategy.assignments.DecisionOperator$1.apply(DecisionOperator.java:71)
at org.chocosolver.solver.search.strategy.assignments.DecisionOperator$1.apply(DecisionOperator.java:67)
at org.chocosolver.solver.search.strategy.decision.IntDecision.apply(IntDecision.java:78)
at org.chocosolver.solver.search.strategy.decision.DecisionPath.apply(DecisionPath.java:106)
at org.chocosolver.solver.search.loop.propagate.PropagateBasic.execute(PropagateBasic.java:46)
at org.chocosolver.solver.Solver.searchLoop(Solver.java:298)
at org.chocosolver.solver.Solver.solve(Solver.java:265)
at chocoPropagationTest.ChocoFloatCalc02.main(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.