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

NPE in Nearby distance matrix cache and multiple phases

XMLWordPrintable

    • 2023 Week 15-17 (from Apr 10)
    • 3
    • NEW
    • NEW

      If nearby is enabled on two subsequent local searches, an NPE ensues.

      java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "this.cachedEntityList" is null
      	at org.optaplanner.core.impl.heuristic.selector.entity.FromSolutionEntitySelector.getSize(FromSolutionEntitySelector.java:106)
      

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

                Created:
                Updated:
                Resolved: