-
Bug
-
Resolution: Done
-
Major
-
8.25.0.Final, 8.28.0.Final
-
None
-
2022 Week 38-40 (from Sept 19)
-
3
-
-
NEW
-
NEW
Uncaught exception when previously generated report was using problem statistic of type CONSTRAINT_MATCH_TOTAL_BEST_SCORE:
Exception in thread "main" java.lang.NoSuchMethodError: org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore.ConstraintMatchTotalBestScoreSubSingleStatistic.<init>() at com.sun.xml.bind.v2.ClassFactory.tryGetDeclaredConstructor(ClassFactory.java:115) at com.sun.xml.bind.v2.ClassFactory.create0(ClassFactory.java:76) at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.createInstance(ClassBeanInfoImpl.java:254) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(UnmarshallingContext.java:671) at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:158) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:546) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:525) at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:45) at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:137) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:214) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:220) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:220) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:220) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251) at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:220) at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:97) at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:80) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:341) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:322) at org.optaplanner.core.impl.io.jaxb.GenericJaxbIO.readOverridingNamespace(GenericJaxbIO.java:200) at org.optaplanner.core.impl.io.jaxb.GenericJaxbIO.readOverridingNamespace(GenericJaxbIO.java:184) at org.optaplanner.benchmark.impl.result.BenchmarkResultIO.read(BenchmarkResultIO.java:93) at org.optaplanner.benchmark.impl.result.BenchmarkResultIO.readPlannerBenchmarkResult(BenchmarkResultIO.java:75) at org.optaplanner.benchmark.impl.result.BenchmarkResultIO.readPlannerBenchmarkResultList(BenchmarkResultIO.java:61) at org.optaplanner.benchmark.impl.aggregator.swingui.BenchmarkAggregatorFrame.initPlannerBenchmarkResultList(BenchmarkAggregatorFrame.java:241) at org.optaplanner.benchmark.impl.aggregator.swingui.BenchmarkAggregatorFrame.init(BenchmarkAggregatorFrame.java:140) at org.optaplanner.benchmark.impl.aggregator.swingui.BenchmarkAggregatorFrame.createAndDisplay(BenchmarkAggregatorFrame.java:109) at org.optaplanner.benchmark.impl.aggregator.swingui.BenchmarkAggregatorFrame.createAndDisplayFromXmlResource(BenchmarkAggregatorFrame.java:74) at pl.medaxtrans.pre.benchmark.BenchmarkAggregatorMy.main(BenchmarkAggregatorMy.java:8) Caused by: java.lang.NoSuchMethodException: org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore.ConstraintMatchTotalBestScoreSubSingleStatistic.<init>() at java.base/java.lang.Class.getConstructor0(Class.java:3585) at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2754) at com.sun.xml.bind.v2.ClassFactory.tryGetDeclaredConstructor(ClassFactory.java:107) ... 31 more
On the other hand the report is fine when opened with a browser with index.html.
Also this is happening only when report was generated with CONSTRAINT_MATCH_TOTAL_BEST_SCORE single statistic type on.
I attach the report. I don't think the benchmark config has anything to do with it. As the documentation states it reads only benchmark dir, which is correct (there would be a different error) and benchmark report which is default with locale pl_PL
- relates to
-
PLANNER-2925 Benchmark aggregator uncaught exception when problemStatisticType STEP_SCORE used
- Open