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

warnings-ng-plugin: Exception when creating relative paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: warnings-ng-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.222
      Warnings Next Generation 8.0.0
    • Similar Issues:

      Description

      Since the update to Warnings Next Generation 8.0.0, all C# projects in our environment fail because of the following exception:

      [MSBuild] -> found 147 issues (skipped 1481 duplicates)ERROR: Build step failed with exceptionjava.lang.IllegalArgumentException: 'other' has different root at sun.nio.fs.WindowsPath.relativize(WindowsPath.java:392) at 

      The full stack trace is in the attachment.

      This seems to be a result of the following improvement:

      JENKINS-58538  JENKINS-57556  Replace absolute paths with relative paths for issues (#358@uhafner

      Perhaps this jdk bug is also relevant:

      https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6226081

        Attachments

          Issue Links

            Activity

            bernd_rausch Bernd Rausch created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-61295 [ JENKINS-61295 ]
            Show
            drulli Ulli Hafner added a comment - Fixed in https://github.com/jenkinsci/plugin-util-api-plugin/releases/tag/plugin-util-api-1.0.2
            drulli Ulli Hafner made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            bernd_rausch Bernd Rausch made changes -
            Description Since the update to Warnings Next Generation 8.0.0, all C# projects in our environment fail because of the following exception:

            [MSBuild] -> found 147 issues (skipped 1481 duplicates)[MSBuild] -> found 147 issues (skipped 1481 duplicates)ERROR: Build step failed with exceptionjava.lang.IllegalArgumentException: 'other' has different root at sun.nio.fs.WindowsPath.relativize(WindowsPath.java:392) at 

            The full stack trace is in the attachment.

            This seems to be a result of the following improvement:

            JENKINS-58538 - JENKINS-57556 - Replace absolute paths with relative paths for issues ([#358|https://github.com/jenkinsci/warnings-ng-plugin/pull/358]) [@uhafner|https://github.com/uhafner]

            Perhaps this jdk bug is also relevant:

            [https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6226081]
            Since the update to Warnings Next Generation 8.0.0, all C# projects in our environment fail because of the following exception:

            {{[MSBuild] -> found 147 issues (skipped 1481 duplicates)}}{{ERROR: Build step failed with exceptionjava.lang.IllegalArgumentException: 'other' has different root at sun.nio.fs.WindowsPath.relativize(WindowsPath.java:392) at }}

            The full stack trace is in the attachment.

            This seems to be a result of the following improvement:

            JENKINS-58538  -JENKINS-57556-  Replace absolute paths with relative paths for issues ([#358|https://github.com/jenkinsci/warnings-ng-plugin/pull/358]) [@uhafner|https://github.com/uhafner]

            Perhaps this jdk bug is also relevant:

            [https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6226081]

              People

              Assignee:
              drulli Ulli Hafner
              Reporter:
              bernd_rausch Bernd Rausch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: