Mikhail Pochatkin created IGNITE-20398:
------------------------------------------
Summary: Filter anyCfg for null values
Key: IGNITE-20398
URL: https://issues.apache.org/jira/browse/IGNITE-20398
Project: Ignite
Issue Type: Bug
Reporter: Mikhail Pochatkin
Currently
org.apache.ignite.internal.configuration.notifications.ConfigurationNotifier#notifyListeners
trying to access members for anyCfg but in case of polymorphic configuration
it may produce NPE because we didn't filter null values after members mapping.
{code:java}
Caused by: java.lang.NullPointerException
at
org.apache.ignite.internal.configuration.notifications.ConfigurationNotificationUtils.dynamicProperty(ConfigurationNotificationUtils.java:56)
at
org.apache.ignite.internal.configuration.notifications.ConfigurationNotifier$2.lambda$visitLeafNode$0(ConfigurationNotifier.java:374)
at
org.apache.ignite.internal.util.CollectionUtils$6$1.next(CollectionUtils.java:450)
at
org.apache.ignite.internal.util.CollectionUtils$4.hasNext(CollectionUtils.java:335)
at
org.apache.ignite.internal.util.CollectionUtils$3.hasNext(CollectionUtils.java:291)
at
org.apache.ignite.internal.configuration.notifications.ConfigurationNotifier.notifyPublicListeners(ConfigurationNotifier.java:482)
at
org.apache.ignite.internal.configuration.notifications.ConfigurationNotifier$2.visitLeafNode(ConfigurationNotifier.java:370)
at
org.apache.ignite.internal.configuration.notifications.ConfigurationNotifier$2.visitLeafNode(ConfigurationNotifier.java:366)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)