Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67293

Exception if error is located at line 0

    XMLWordPrintable

Details

    Description

       
      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

      Attachments

        Activity

          drulli Ulli Hafner added a comment -

          Can you please attach the cppcheck XML file that causes the problem? It seems that the filename is not extracted correctly.

          It also looks like a wrong file name and not a broken line number.

          drulli Ulli Hafner added a comment - Can you please attach the cppcheck XML file that causes the problem? It seems that the filename is not extracted correctly. It also looks like a wrong file name and not a broken line number.

          People

            drulli Ulli Hafner
            martinbauer Martin Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: