Exception if error is located at line 0

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Minor
    • Component/s: warnings-ng-plugin
    • None

       
      If CPPCheck found "unmatchedSuppression" it tags them at Line 0.
      The plugin does not handle this because it tries to link to line 0

      [CPPCheck-v2.41] Searching for all files in 'E:******' that match the pattern '*/*/cppcheck-result.xml'
      [CPPCheck-v2.41] -> found 1 file
      [CPPCheck-v2.41] Successfully parsed file E:*******\cppcheck-result.xml
      [CPPCheck-v2.41] -> found 13 issues (skipped 0 duplicates)
      [CPPCheck-v2.41] [-ERROR-] Can't create fingerprints for some files:
      [CPPCheck-v2.41] [-ERROR-] - '/*/*/*/*.h', IO exception has been thrown: java.nio.file.InvalidPathException: Illegal char <> at index 0: /*/*/*/**.h
      [CPPCheck-v2.41] [-ERROR-] - '/*/*/*/*.h', IO exception has been thrown: java.nio.file.InvalidPathException: Illegal char <> at index 0: /*/*/*/**.h

            Assignee:
            Ulli Hafner
            Reporter:
            Martin Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: