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

NPE in NestedExceptionUtils.getMostSpecificCause #44532

Closed
williamwjs opened this issue Mar 4, 2025 · 1 comment
Closed

NPE in NestedExceptionUtils.getMostSpecificCause #44532

williamwjs opened this issue Mar 4, 2025 · 1 comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue

Comments

@williamwjs
Copy link

williamwjs commented Mar 4, 2025

This happens only on 3.4.3. (Reverting back to 3.4.2 solved the issue, so should be just a regression)

The stack trace is:

[AsyncContextImpl] onError() call failed for listener of type [org.apache.catalina.core.AsyncListenerWrapper]
java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.getMessage()" because the return value of "org.springframework.core.NestedExceptionUtils.getMostSpecificCause(java.lang.Throwable)" is null
at org.springframework.web.util.DisconnectedClientHelper.isClientDisconnectedException(DisconnectedClientHelper.java:120)
at org.springframework.web.context.request.async.WebAsyncManager.lambda$startDeferredResultProcessing$6(WebAsyncManager.java:450)
at org.springframework.web.context.request.async.StandardServletAsyncWebRequest.lambda$onError$0(StandardServletAsyncWebRequest.java:195)
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 4, 2025
@nosan
Copy link
Contributor

nosan commented Mar 4, 2025

Duplicate of spring-projects/spring-framework#34533

@bclozel bclozel closed this as completed Mar 4, 2025
@bclozel bclozel added status: duplicate A duplicate of another issue for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants