NullPointerException
thrown when MessageSourceSupport#formatMessage
is invoked with a null
Locale
#34751
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: invalid
An issue that we don't feel is valid
If you use
org.springframework.context.MessageSource#getMessage(java.lang.String, java.lang.Object[], java.lang.String, java.util.Locale)
and locale is null. When theorg.springframework.context.support.MessageSourceSupport#formatMessage
method is executed, theConcurrentHashMap
is used as the cache and the locale is null. As a result, the null pointer is generated when usenull
as the key.The text was updated successfully, but these errors were encountered: