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

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

    XMLWordPrintable

Details

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

    Description

      Assume the following:

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

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: