-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When running a benchmark on a very slow machine (virtual machine), hard and soft part of the score might remain uninitialized for long time (might be related to JBRULES-3413). This discovered an issue in the compareTo() method.
Caused by: java.lang.NullPointerException
at org.drools.planner.core.score.buildin.hardandsoft.DefaultHardAndSoftScore.compareTo(DefaultHardAndSoftScore.java:125)
at org.drools.planner.core.score.buildin.hardandsoft.DefaultHardAndSoftScore.compareTo(DefaultHardAndSoftScore.java:27)
at org.drools.planner.benchmark.core.ProblemBenchmark.determineWinningResult(ProblemBenchmark.java:180)
at org.drools.planner.benchmark.core.ProblemBenchmark.benchmarkingEnded(ProblemBenchmark.java:173)
at org.drools.planner.benchmark.core.DefaultPlannerBenchmark.benchmarkingEnded(DefaultPlannerBenchmark.java:201)
at org.drools.planner.benchmark.core.DefaultPlannerBenchmark.benchmark(DefaultPlannerBenchmark.java:135)
at org.drools.planner.examples.tournaments.Benchmark.main(Benchmark.java:25)
... 6 more
- is related to
-
PLANNER-12 NPE during benchmark when no solution found so far
- Resolved
- relates to
-
PLANNER-46 getBestSolution() should be able to return partially initialized Solution (or even a completely uninitialized solution) if the CH haven't finished (or started) yet
- Resolved