-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
spurious NullPointerException in ArrayByteBufferPool.release() #12623
Comments
Upgrade to Jetty 12.0.15 at least, and try again. |
Upgrading to Jetty 12.0.15 didn't help. Still seeing these errors frequently. |
@loetifuss Can you tell us anything else about the requests and responses? How are they read/generated? Are they big/small? Are they json/binary/??? Are you writing async or blocking? When it is not from the EventSourceServlet, where is it from? |
@lorban My reading of the code is that the entry can only have a null buffer if it has not yet been enabled, or was enabled but the pool was terminated @loetifuss Can you also tell us if you configure your buffer pool? If so then how? |
@gregw your reading is right if the entry was a |
Duplicated by #12790 |
Jetty version(s)
Jetty 12.0.15
Jetty Environment
core
Java version/vendor
(use: java -version)
JDK 17.0.12
OS type/version
RedHat Linux
Description
After upgrading from Jetty 9 to 12 we're experiencing intermittent NullPointerExceptions, mostly from EventSourceSevlet.
Jetty is running embedded in an OSGI environment.
How to reproduce?
Not yet reproducible, seems to occur mostly during daytime under load:
The text was updated successfully, but these errors were encountered: