{"id":"e7b8ba7786965dae","repo":"junit-team/junit5","slug":"failed-to-close-file-system-for-jaruri","errorCode":null,"errorMessage":"Failed to close file system for ${jarUri}","messagePattern":"Failed to close 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":131,"sourceCode":"\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 {\n\t\t\t\tfileSystem.close();\n\t\t\t}\n\t\t\tcatch (IOException e) {\n\t\t\t\tthrow new UncheckedIOException(\"Failed to close file system for \" + jarUri, e);\n\t\t\t}\n\t\t}\n\t}\n\n\tinterface FileSystemProvider {\n\t\tFileSystem newFileSystem(URI uri) throws IOException;\n\t}\n}\n","sourceCodeStart":113,"sourceCodeEnd":140,"githubUrl":"https://github.com/junit-team/junit5/blob/956246301e03d757539f7b76dd5a91f298637563/junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java#L113-L140","documentation":"Error \"Failed to close 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:131 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}