junit-team/junit5 · error · UncheckedIOException

Failed to close file system for ${jarUri}

Error message

Failed to close file system for ${jarUri}

What it means

Error "Failed to close file system for ${jarUri}" thrown in junit-team/junit5.

Source

Thrown at junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java:131

		private ManagedFileSystem retain() {
			referenceCount.incrementAndGet();
			return this;
		}

		private @Nullable ManagedFileSystem release() {
			if (referenceCount.decrementAndGet() == 0) {
				close();
				return null;
			}
			return this;
		}

		private void close() {
			try {
				fileSystem.close();
			}
			catch (IOException e) {
				throw new UncheckedIOException("Failed to close file system for " + jarUri, e);
			}
		}
	}

	interface FileSystemProvider {
		FileSystem newFileSystem(URI uri) throws IOException;
	}
}

View on GitHub (pinned to 956246301e)

When it happens

Trigger: Thrown at junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java:131 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of junit-team/junit5@956246301e (2026-08-04). Data as JSON: /data/errors/e7b8ba7786965dae.json. Report an issue: GitHub.