Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3871

NoSuchFileException for a project that has a name with a space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0, 4.7.6
    • 4.8.0, 4.7.3
    • None
    • None
    • 4.8.0 M6

      the name of the project includes an space example "Mairie Aubervilliers", "Agglo CAPI" this generates directories like:

      D:\Dev\Sources\Agglo%20Montpellier\cms\web\WEB-INF\lib\
      D:\Dev\projects\Capi%20intranet\cms\web\WEB-INF\lib\
      

      When previewing pages, the skin jar is not found :

      Caused by: java.nio.file.NoSuchFileException: D:\Dev\projects\Capi%20intranet\cms\web\WEB-INF\lib\ametys-skin-intranet-cards-1.13.0.20230912-2342-b292-SNAPSHOT.jar
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:166)
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125)
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:106)
      	at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:339)
      
       Caused by: java.nio.file.NoSuchFileException: D:\Dev\Sources\Agglo%20Montpellier\cms\web\WEB-INF\lib\ametys-skin-intranet-cards-1.9.0.jar
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:166)
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125)
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:106)
      
      Caused by: java.nio.file.NoSuchFileException: D:\Dev\Sources\Mairie%20Aubervilliers\cms\web\WEB-INF\lib\ametys-skin-intranet-1.2.0RC1.jar
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:166)
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125)
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:106)
      
      

      => the display is broken

            raphael Raphaƫl Franchet
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: