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

@DeepPlanningClone does not like null map keys, if they are collections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 8.34.0.Final
    • 8.33.0.Final
    • optaplanner-core
    • None
    • 2023 Week 03-05 (from Jan 16)
    • 2
    • NEW
    • NEW

      Assume the following:

      @DeepPlanningClone
      private Map<List<String>, String> stringListToStringMap = new HashMap<>();
      

       If the key in such map is null, a NullPointerException ensues.

              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: