Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null PollSelectionKey attachment causes IllegalStateException in jetty #84

Open
mpuncel opened this issue May 17, 2020 · 1 comment
Open

Comments

@mpuncel
Copy link

mpuncel commented May 17, 2020

Apologies if the description is inaccurate.

We use unix sockets with Jetty, which are powered by jnr-unixsocket. I filed an issue on the jetty project about seeing hundreds of exceptions related to a single connection (jetty/jetty.project#4865)

It seems that the maintainers think there is an issue in jnr-unixsocket that is causing the UnixSocketEndPoint attachment to the PollSelectionKey to be null?

Let me know if there is any additional information I can provide, I appreciate any help with this issue

@headius
Copy link
Member

headius commented Sep 1, 2020

@mpuncel I wonder if jetty is attempting to use a JDK-provided selector with one of our channels? The selector used for the unix socket should come from jnr-enxio, and not use the system-level provider since it doesn't know about the internals of the jnr-enxio slectors.

Is there any way you can provide a small repository that reproduces this? Ideally something that drives jnr-unixsocket alone (so we can be sure it's purely a jnr-unixsocket bug) but at least something that sets up a simple jetty example and drives it to errors.

Sorry for missing this bug over the summer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants