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

Getting Illegal char InvalidPathException for Git plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • git-plugin
    • Jenkins 2.332.2
      Git plugin 4.11.2

    Description

      I am receiving this error when trying to clone from git repository after the latest update

       

      FATAL: Illegal char <:> at index 4: http://domain/git
      java.nio.file.InvalidPathException: Illegal char <:> at index 4: http://domain/git
          at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
          at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
          at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
          at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
          at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
          at java.base/java.nio.file.Path.of(Path.java:147)
          at java.base/java.nio.file.Paths.get(Paths.java:69)
          at hudson.plugins.git.GitSCM.abortIfSourceIsLocal(GitSCM.java:1399)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1282)
          at hudson.scm.SCM.checkout(SCM.java:540)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1215)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:645)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:517)
          at hudson.model.Run.execute(Run.java:1896)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
          at hudson.model.ResourceController.execute(ResourceController.java:101)
          at hudson.model.Executor.run(Executor.java:442)

      Attachments

        Issue Links

          Activity

            markewaite Mark Waite added a comment -

            Sorry about that bug. Fixed in git plugin 4.11.3. Check for updates and install the release that was created about 10 hours ago.

            markewaite Mark Waite added a comment - Sorry about that bug. Fixed in git plugin 4.11.3. Check for updates and install the release that was created about 10 hours ago.
            navchandar naveen sty added a comment -

            Thanks much for the quick update!

            navchandar naveen sty added a comment - Thanks much for the quick update!

            People

              markewaite Mark Waite
              navchandar naveen sty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: