jagrosh / jagrosh/DiscordIPC

java.io.FileNotFoundException: \\?\pipe\discord-ipc-0 (The system cannot find the file specified)

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
149
Forks
60
PR merge metrics
No merged PRs in 30d

Description

I get the error
```
java.lang.RuntimeException: java.io.FileNotFoundException: \\?\pipe\discord-ipc-0 (The system cannot find the file specified)
at knot/com.jagrosh.discordipc.entities.pipe.WindowsPipe.(WindowsPipe.java:45) ~[DiscordIPC-a8d6631cc9.jar:?]
at knot/com.jagrosh.discordipc.entities.pipe.Pipe.createPipe(Pipe.java:158) ~[DiscordIPC-a8d6631cc9.jar:?]
at knot/com.jagrosh.discordipc.entities.pipe.Pipe.openPipe(Pipe.java:67) ~[DiscordIPC-a8d6631cc9.jar:?]
at knot/com.jagrosh.discordipc.IPCClient.connect(IPCClient.java:116) ~[DiscordIPC-a8d6631cc9.jar:?]
at knot/io.github.skyarchon.skyarchonmod.discord.DiscordActivity.run(DiscordActivity.java:36) ~[main/:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.io.FileNotFoundException: \\?\pipe\discord-ipc-0 (The system cannot find the file specified)
at java.base/java.io.RandomAccessFile.open0(Native Method) ~[?:?]
at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:356) ~[?:?]
at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:273) ~[?:?]
at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:223) ~[?:?]
at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:137) ~[?:?]
at knot/com.jagrosh.discordipc.entities.pipe.WindowsPipe.(WindowsPipe.java:43) ~[DiscordIPC-a8d6631cc9.jar:?]
... 5 more
```
(using the example)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with entities/pipe/WindowsPipe.java:45 and the callers in Pipe.java:158, Pipe.java:67, and IPCClient.java:116, then compare the example's setup with the reported Windows named-pipe failure. Reproduce the stack trace with the example; the issue does not specify a requested code change or acceptance condition, so clarify the expected behavior before implementing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.