Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-80

NPE when submitting null commands map to CatalogBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None

    Description

      The command relies on Map.putAll() to populate CatalogBase when passed into the constructor, but as the javadocs specify at http://docs.oracle.com/javase/6/docs/api/java/util/Map.html#putAll(java.util.Map), this throws an NPE. The constructor requires a guard inside to protect it from null objects being passed as an argument

      Attachments

        1. CHAIN-80-patch.txt
          3 kB
          Steve Westwood

        Activity

          People

            simone.tripodi Simone Tripodi
            hexsaw Steve Westwood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: