I use OtpaPlanner to optimize a vehicles routing extension. I have got hard and soft scores but when i try to display constraints Match details i got this message:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.getConstraintMatchTotals(DroolsScoreDirector.java:98)
at org.optaplanner.examples.common.business.SolutionBusiness.getConstraintMatchTotalList(SolutionBusiness.java:239)
the line of error can be this: kieSession.fireAllRules();