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

Benchmarker on Quarkus throws when <inheritedSolverBenchmark /> is used

    XMLWordPrintable

Details

    Description

      When I add the following to my solverBenchmarkConfig.xml:

        <inheritedSolverBenchmark>
          <solver>
            <termination>
              <unimprovedMinutesSpentLimit>30</unimprovedMinutesSpentLimit>
            </termination>
          </solver>
        </inheritedSolverBenchmark>
      

      I get the following exception:

      2022-01-10 08:35:14,003 ERROR [io.qua.run.Application] (Quarkus Main Thread) Failed to start application (with profile dev): java.lang.NullPointerException: Cannot invoke "org.optaplanner.benchmark.config.ProblemBenchmarksConfig.setProblemStatisticTypeList(java.util.List)" because the return value of "org.optaplanner.benchmark.config.SolverBenchmarkConfig.getProblemBenchmarksConfig()" is null

      Attachments

        Activity

          People

            cchianel Christopher Chianelli
            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: