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

DefaultSolutionManager NPE with DrlScoreDirector

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 8.37.0.Final
    • 8.35.0.Final
    • optaplanner-core
    • None
    • Hide

      See attached files.

      Try to use a SolutionManager which has a DrlScoreDirector to explain a score on a Solution type.

      Show
      See attached files. Try to use a SolutionManager which has a DrlScoreDirector to explain a score on a Solution type.
    • NEW
    • NEW

      When using an OptaPlanner implementation which still uses Drools scoring, DefaultSolutionManager::callScoreDirector (through "explain") throws a NullPointerException` due to the DrlScoreDirector having never called resetScoreHolder.

              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              ryanmoser Ryan Moser (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: