Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1775

java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:location-mapping.rdf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jena 3.14.0
    • None
    • None

    Description

      Report from users on 2019-10-29

       This is on Java13, on MS Windows.

      ...
      
      Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:location-mapping.rdf
      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/jdk.internal.module.Resources.toSafeFilePath(Resources.java:143)
      at java.base/jdk.internal.module.Resources.toFilePath(Resources.java:97)
      at java.base/jdk.internal.module.ModuleReferences$ExplodedModuleReader.find(ModuleReferences.java:382)
      at java.base/jdk.internal.loader.BuiltinClassLoader$2.run(BuiltinClassLoader.java:430)
      at java.base/jdk.internal.loader.BuiltinClassLoader$2.run(BuiltinClassLoader.java:425)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findMiscResource(BuiltinClassLoader.java:424)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findResource(BuiltinClassLoader.java:311)
      at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1400)
      at java.base/java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1736)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.LocatorClassLoader.open(LocatorClassLoader.java:63)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.FileManager.openNoMapOrNull(FileManager.java:523)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.FileManager.openNoMap(FileManager.java:506)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.LocationMapper.initFromPath(LocationMapper.java:141)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.LocationMapper.get(LocationMapper.java:70)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.FileManager.makeGlobal(FileManager.java:130)
      at org.apache.jena.core@3.13.1/org.apache.jena.util.FileManager.get(FileManager.java:96)
      at org.apache.jena.arq@3.13.1/org.apache.jena.riot.system.IO_JenaReaders.wireIntoJena(IO_JenaReaders.java:40)
      at org.apache.jena.arq@3.13.1/org.apache.jena.riot.IO_Jena.wireIntoJena(IO_Jena.java:34)
      at org.apache.jena.arq@3.13.1/org.apache.jena.riot.RIOT.init(RIOT.java:79)
      at org.apache.jena.arq@3.13.1/org.apache.jena.riot.system.InitRIOT.start(InitRIOT.java:29)
      at org.apache.jena.core@3.13.1/org.apache.jena.sys.JenaSystem.lambda$init$2(JenaSystem.java:117)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1507)
      at org.apache.jena.core@3.13.1/org.apache.jena.sys.JenaSystem.forEach(JenaSystem.java:192)
      at org.apache.jena.core@3.13.1/org.apache.jena.sys.JenaSystem.forEach(JenaSystem.java:169)
      at org.apache.jena.core@3.13.1/org.apache.jena.sys.JenaSystem.init(JenaSystem.java:115)
      at org.apache.jena.core@3.13.1/org.apache.jena.rdf.model.ModelFactory.<clinit>(ModelFactory.java:49)
      ... 59 more
      
      

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m