jagrosh / jagrosh/DiscordIPC

throws org.newsclub.net.unix.AFUNIXSocketException in macOS High Sierra

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

Description

Exception in thread "main" java.lang.RuntimeException: org.newsclub.net.unix.AFUNIXSocketException: Cannot find method "setCreated" in java.net.Socket. Unsupported JVM?
at com.jagrosh.discordipc.entities.pipe.Pipe.createPipe(Pipe.java:167)
at com.jagrosh.discordipc.entities.pipe.Pipe.openPipe(Pipe.java:67)
at com.jagrosh.discordipc.IPCClient.connect(IPCClient.java:116)
at Main.main(Main.java:22)
Caused by: org.newsclub.net.unix.AFUNIXSocketException: Cannot find method "setCreated" in java.net.Socket. Unsupported JVM?
at org.newsclub.net.unix.NativeUnixSocket.setCreated(Native Method)
at org.newsclub.net.unix.AFUNIXSocket.(AFUNIXSocket.java:36)
at org.newsclub.net.unix.AFUNIXSocket.newInstance(AFUNIXSocket.java:54)
at com.jagrosh.discordipc.entities.pipe.UnixPipe.(UnixPipe.java:45)
at com.jagrosh.discordipc.entities.pipe.Pipe.createPipe(Pipe.java:163)
... 3 more

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with com.jagrosh.discordipc.entities.pipe.Pipe.createPipe at Pipe.java:167 and trace the UnixPipe constructor at UnixPipe.java:45, then inspect the AFUNIXSocket failure reported by NativeUnixSocket.setCreated. Reproduce or investigate the failure on macOS High Sierra with the JVM in use; done means IPC connection no longer throws the reported unsupported-JVM exception.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.