csharpier icon indicating copy to clipboard operation
csharpier copied to clipboard

Cannot run Rider extension

Open dehlong opened this issue 7 months ago • 1 comments

Environments

  • IDE Version: Rider 2025.1
  • Extension Version: 2.1.2
  • CSharpier Version: 1.0.2 will NOT be the same as the extension version
  • Operating System: Arch Linux
  • .csharpierrc Settings: None
  • .editorconfig Settings: None

Log Output

2025-06-14 09:29:35,574 [ 252162] SEVERE - #c.i.c.CSharpierLogger - Process failed to start with java.io.UncheckedIOException: java.io.IOException: Stream closed
java.lang.Throwable: Process failed to start with java.io.UncheckedIOException: java.io.IOException: Stream closed
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:375)
	at com.intellij.csharpier.CSharpierProcessServer.lambda$startProcess$2(CSharpierProcessServer.java:88)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
	at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:914)
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)

Steps to reproduce Install the extension to rider. And have it installed globally via dotnet too.

Expected behavior Formats files.

Actual behavior Returns this error.

dehlong avatar Jun 14 '25 07:06 dehlong

The exception doesn't tell me much, but there is a file at a location similar to this which may contain more info.

/home/[User]/.cache/csharpier/1.0.2/.store/csharpier/1.0.2/csharpier/1.0.2/tools/net9.0/any/server.log

Otherwise the option for disable csharpier server will use the older style of communication with csharpier which has worked for some users.

belav avatar Jun 15 '25 15:06 belav

This issue is stale because it has been open 180 days with no activity and was not assigned a label or milestone. Leave a comment if this still needs to be addressed or this will be closed in 7 days.

github-actions[bot] avatar Dec 13 '25 01:12 github-actions[bot]