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

DefaultSolutionManager NPE with DrlScoreDirector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: