Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The javax.naming.event.ObjectChangeListener implementation for org.apache.activemq.artemis.core.server.impl.LegacyLDAPSecuritySettingPlugin has a hard-coded search for uid. This can cause a NullPointerException, e.g.:
Exception in thread "Thread-12" java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at org.apache.activemq.artemis.core.settings.impl.HierarchicalObjectRepository.getMatch(HierarchicalObjectRepository.java:207) at org.apache.activemq.artemis.core.server.impl.LegacyLDAPSecuritySettingPlugin.objectRemoved(LegacyLDAPSecuritySettingPlugin.java:490) at org.apache.activemq.artemis.core.server.impl.LegacyLDAPSecuritySettingPlugin.objectChanged(LegacyLDAPSecuritySettingPlugin.java:543) at org.apache.activemq.artemis.core.server.impl.LegacyLDAPSecuritySettingPlugin$LDAPNamespaceChangeListener.objectChanged(LegacyLDAPSecuritySettingPlugin.java:581) at javax.naming.event.NamingEvent.dispatch(NamingEvent.java:295) at com.sun.jndi.ldap.EventQueue.run(EventQueue.java:147) at java.lang.Thread.run(Thread.java:748)
Attachments
Issue Links
- links to