• Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • core
    • None
    • Windows Server 2016 Version 1607

      I'm currently running Jenkins version 2.319.3. I tried to update it to the new version (2.332.1). Jenkins wasn't able to start up due to an exception so I needed to roll back.

      I didn't see an recent similar exception so I created an issue

       

       Fehler Fehlerjava.nio.file.InvalidPathException: Illegal char <:>
      at index 85: C:\Users\sys.dev\AppData\Local\Temp\Jenkins-doCheckRawBuildsDir3388964007079715611foo:bar
      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.io.File.toPath(File.java:2329)
      at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3360)Caused: jenkins.model.InvalidBuildsDir: D:/builds/${ITEM_FULLNAME} contains ${ITEM_FULLNAME} but your system does not support it (JENKINS-12251). Use ${ITEM_FULL_NAME} instead
      at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3362)
      at jenkins.model.Jenkins.loadConfig(Jenkins.java:3296)Caused: java.io.IOException
      at jenkins.model.Jenkins.loadConfig(Jenkins.java:3299)
      at jenkins.model.Jenkins.access$1200(Jenkins.java:340)
      at jenkins.model.Jenkins$12.run(Jenkins.java:3394)
      at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:175)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
      at jenkins.model.Jenkins$5.runTask(Jenkins.java:1156)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:222)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121)
      at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)Caused: org.jvnet.hudson.reactor.ReactorException
      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:291)
      at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
      at jenkins.model.Jenkins.executeReactor(Jenkins.java:1191)
      at jenkins.model.Jenkins.<init>(Jenkins.java:981)
      at hudson.model.Hudson.<init>(Hudson.java:86)
      at hudson.model.Hudson.<init>(Hudson.java:82)
      at hudson.WebAppMain$3.run(WebAppMain.java:247)Caused: hudson.util.HudsonFailedToLoad
      at hudson.WebAppMain$3.run(WebAppMain.java:264)

          [JENKINS-68093] InvalidPathException after Update to 2.332.1

          Christian Caldera created issue -
          Christian Caldera made changes -
          Description Original: I'm currently running Jenkins version 2.319.3. I tried to update it to the new version (2.332.1). Jenkins wasn't able to start up due to an exception so I needed to roll back.

          I didn't see an recent similar exception so I created an issue

           

           Fehler Fehlerjava.nio.file.InvalidPathException: Illegal char <:> at index 85: C:\Users\sys.dev\AppData\Local\Temp\Jenkins-doCheckRawBuildsDir3388964007079715611foo:bar 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.io.File.toPath(File.java:2329) at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3360)Caused: jenkins.model.InvalidBuildsDir: D:/builds/${ITEM_FULLNAME} contains ${ITEM_FULLNAME} but your system does not support it (JENKINS-12251). Use ${ITEM_FULL_NAME} instead at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3362) at jenkins.model.Jenkins.loadConfig(Jenkins.java:3296)Caused: java.io.IOException at jenkins.model.Jenkins.loadConfig(Jenkins.java:3299) at jenkins.model.Jenkins.access$1200(Jenkins.java:340) at jenkins.model.Jenkins$12.run(Jenkins.java:3394) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1156) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:222) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)Caused: org.jvnet.hudson.reactor.ReactorException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:291) at jenkins.InitReactorRunner.run(InitReactorRunner.java:49) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1191) at jenkins.model.Jenkins.<init>(Jenkins.java:981) at hudson.model.Hudson.<init>(Hudson.java:86) at hudson.model.Hudson.<init>(Hudson.java:82) at hudson.WebAppMain$3.run(WebAppMain.java:247)Caused: hudson.util.HudsonFailedToLoad at hudson.WebAppMain$3.run(WebAppMain.java:264)
          New: I'm currently running Jenkins version 2.319.3. I tried to update it to the new version (2.332.1). Jenkins wasn't able to start up due to an exception so I needed to roll back.

          I didn't see an recent similar exception so I created an issue

           

          {{{quote} Fehler Fehlerjava.nio.file.InvalidPathException: Illegal char <:>
          at index 85: C:\Users\sys.dev\AppData\Local\Temp\Jenkins-doCheckRawBuildsDir3388964007079715611foo:bar
          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.io.File.toPath(File.java:2329)
          at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3360)Caused: jenkins.model.InvalidBuildsDir: D:/builds/${ITEM_FULLNAME} contains ${ITEM_FULLNAME} but your system does not support it (JENKINS-12251). Use ${ITEM_FULL_NAME} instead
          at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3362)
          at jenkins.model.Jenkins.loadConfig(Jenkins.java:3296)Caused: java.io.IOException
          at jenkins.model.Jenkins.loadConfig(Jenkins.java:3299)
          at jenkins.model.Jenkins.access$1200(Jenkins.java:340)
          at jenkins.model.Jenkins$12.run(Jenkins.java:3394)
          at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:175)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:1156)
          at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:222)
          at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121)
          at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:834)Caused: org.jvnet.hudson.reactor.ReactorException
          at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:291)
          at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
          at jenkins.model.Jenkins.executeReactor(Jenkins.java:1191)
          at jenkins.model.Jenkins.<init>(Jenkins.java:981)
          at hudson.model.Hudson.<init>(Hudson.java:86)
          at hudson.model.Hudson.<init>(Hudson.java:82)
          at hudson.WebAppMain$3.run(WebAppMain.java:247)Caused: hudson.util.HudsonFailedToLoad
          at hudson.WebAppMain$3.run(WebAppMain.java:264){quote}}}
          Christian Caldera made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: update-sites-manager-plugin [ 17576 ]

          Mark Waite added a comment -

          That message indicates that your system is configured to use a form of workspace directory name that will include a ':' but Jenkins knows that Windows will not allow a workspace directory to include a ':' character in its name. Search your configuration for ITEM_FULLNAME and replace it with ITEM_FULL_NAME as indicated in JENKINS-12251

          Mark Waite added a comment - That message indicates that your system is configured to use a form of workspace directory name that will include a ':' but Jenkins knows that Windows will not allow a workspace directory to include a ':' character in its name. Search your configuration for ITEM_FULLNAME and replace it with ITEM_FULL_NAME as indicated in JENKINS-12251

          Christian Caldera added a comment - - edited

          Thanks for some reason I was in the impression jenkins tries to create a workspace directory according to the builds - and we don't have foo or bar builds. 

          Christian Caldera added a comment - - edited Thanks for some reason I was in the impression jenkins tries to create a workspace directory according to the builds - and we don't have foo or bar builds. 
          Christian Caldera made changes -
          Resolution New: Done [ 10000 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Christian Caldera made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            Unassigned Unassigned
            vulcano Christian Caldera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: