{"id":"64d5f4e2d6b43323","repo":"junit-team/junit5","slug":"failed-to-create-file-system-for-jaruri","errorCode":null,"errorMessage":"Failed to create file system for ${jarUri}","messagePattern":"Failed to create file system for (.+?)","errorType":"exception","errorClass":"UncheckedIOException","httpStatus":null,"severity":"error","filePath":"junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java","lineNumber":109,"sourceCode":"\tpublic void close() throws IOException {\n\t\tif (closed.compareAndSet(false, true)) {\n\t\t\tdelegate.close();\n\t\t}\n\t}\n\n\tprivate static class ManagedFileSystem {\n\n\t\tprivate final AtomicInteger referenceCount = new AtomicInteger(1);\n\t\tprivate final FileSystem fileSystem;\n\t\tprivate final URI jarUri;\n\n\t\tManagedFileSystem(URI jarUri, FileSystemProvider fileSystemProvider) {\n\t\t\tthis.jarUri = jarUri;\n\t\t\ttry {\n\t\t\t\tfileSystem = fileSystemProvider.newFileSystem(jarUri);\n\t\t\t}\n\t\t\tcatch (IOException e) {\n\t\t\t\tthrow new UncheckedIOException(\"Failed to create file system for \" + jarUri, e);\n\t\t\t}\n\t\t}\n\n\t\tprivate ManagedFileSystem retain() {\n\t\t\treferenceCount.incrementAndGet();\n\t\t\treturn this;\n\t\t}\n\n\t\tprivate @Nullable ManagedFileSystem release() {\n\t\t\tif (referenceCount.decrementAndGet() == 0) {\n\t\t\t\tclose();\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\n\t\tprivate void close() {\n\t\t\ttry {","sourceCodeStart":91,"sourceCodeEnd":127,"githubUrl":"https://github.com/junit-team/junit5/blob/956246301e03d757539f7b76dd5a91f298637563/junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java#L91-L127","documentation":"Error \"Failed to create file system for ${jarUri}\" thrown in junit-team/junit5.","triggerScenarios":"Thrown at junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java:109 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"956246301e03d757539f7b76dd5a91f298637563","analyzedAt":"2026-08-04T19:25:17.049Z","schemaVersion":2}