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

"Bailing out of neverEnding selector to avoid infinite loop" error when all PlanningEntity pinned and there are two @PlanningEntity classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • Undefined
    • NEW
    • NEW

    Description

      When "pin" feature of optaplanner used it throws"Bailing out of neverEnding selector (Filtering(FromSolutionEntitySelector(PersonAssignment))) to avoid infinite loop." error. This is checked both 7.32.0 final and also 7.44.0.Final versions.

      Domain model consists of two @PlanningEntity(PersonAssignment and HotelOccupancyPerSlot), customShadowVariable and also TimeGrain. Gives this warning when all of the PersonAssignment entity pinned. It just log this warning and then nothing happens.

      The problem is explained in more detail here: 

      https://stackoverflow.com/questions/64337004/how-to-solve-bailing-out-of-neverending-selector-to-avoid-infinite-loop-error 

      Attachments

        Activity

          People

            Unassigned Unassigned
            ahmetesat Ahmet Esat (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: