Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1340

Failing tests with multithreaded solving on JDK 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.17.0.Final
    • 7.14.0.Final
    • optaplanner-core
    • None

      Failing tests:
      org.optaplanner.examples.examination.app.ExaminationPerformanceTest.solveComp_set5FastAssert
      org.optaplanner.examples.examination.app.ExaminationPerformanceTest.solveComp_set5
      org.optaplanner.examples.taskassigning.app.TaskAssigningPerformanceTest.solveModel_50tasks_5employees

      Caused by:
      java.util.ConcurrentModificationException: null
      at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
      at org.drools.core.impl.KnowledgeBaseImpl.getOrCreateExactTypeDeclaration(KnowledgeBaseImpl.java:1458)
      at org.drools.core.common.NamedEntryPoint.update(NamedEntryPoint.java:324)
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.update(StatefulKnowledgeSessionImpl.java:1570)
      at org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.update(DroolsScoreDirector.java:254)

              rsynek@redhat.com Radovan Synek (Inactive)
              rsynek@redhat.com Radovan Synek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: