Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-2850

Fix regression: NPE in VisualStudioCoverageSensor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.15
    • Fix Version/s: 6.15.1, 6.16
    • Component/s: Code Coverage
    • Labels:
      None

      Description

      Regression introduced while getting rid of Guava Multimap, which for get() method was returning an empty collection when key was not present, HashMap returns null introducing NPE.

      Note that when containsKey(key) is false, this returns an empty collection, not null .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                massimo.paladin Massimo PALADIN
                Reporter:
                massimo.paladin Massimo PALADIN
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: