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

NullPointerException in AbstractConnection #9522

Closed
markkolich opened this issue Mar 21, 2023 · 2 comments
Closed

NullPointerException in AbstractConnection #9522

markkolich opened this issue Mar 21, 2023 · 2 comments
Labels
Bug For general bugs on Jetty side End-of-Life release

Comments

@markkolich
Copy link

Jetty version(s)
9.4.51.v20230217

Does not reproduce with 9.4.50.v20221201

((Yes, I know Jetty 9 is end of community support...reporting anyways))

Java version/vendor (use: java -version)
openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Raspbian-1deb10u1)
OpenJDK Server VM (build 11.0.18+10-post-Raspbian-1deb10u1, mixed mode)

OS type/version
Raspbian and macOS

Description

2023-03-21T05:19:49,639Z WARN [jetty-onyx-18] o.e.j.i.AbstractConnection:96 -
java.lang.NullPointerException: null
        at org.eclipse.jetty.io.AbstractConnection.lambda$failedCallback$0(AbstractConnection.java:92)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
        at java.base/java.lang.Thread.run(Thread.java:829)

How to reproduce?
Not sure - just using my application which appears to function normally sans the NPE warning spew:

https://github.com/eclipse/jetty.project/blob/837a073ffe5ef2ba9f2bfaa133194c71086caaa8/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java#L90-L97

The same usage on 9.4.50.v20221201 does not result in these NPE warns.

@markkolich markkolich added the Bug For general bugs on Jetty side label Mar 21, 2023
@joakime
Copy link
Contributor

joakime commented Mar 21, 2023

Duplicate of #9476

@joakime joakime marked this as a duplicate of #9476 Mar 21, 2023
@markkolich
Copy link
Author

Tracking duplicate #9476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side End-of-Life release
Projects
None yet
Development

No branches or pull requests

2 participants