-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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 thrown for nonexistent default-destroy-method
in XML config
#30301
Comments
default-destroy-method
in XML config
Hi @edfeff, Thanks for raising the issue and providing the sample application. It turns out that we already have a test in our own test suite which demonstrates the If we run
|
default-destroy-method
in XML configdefault-destroy-method
in XML config
default-destroy-method
in XML configdefault-destroy-method
in XML config
This appears to have been a regression introduced in 6.0.x and has been fixed for inclusion in 6.0.8. |
Reopening to investigate a potentially more suitable fix for the regression. |
Affects: v6.0.7
When I configure the
default-destroy-method
in XML config and there is a bean that does not have a destroy method, aNullPointerException
is thrown when closing theApplicationContext
.Example Config and Code
Exception
Related Issues
The text was updated successfully, but these errors were encountered: