ServiceRegistryJpaImpl.updated() will NPE on null properties

Steps to reproduce

The code:

public void updated(Dictionary properties) throws ConfigurationException {
String maxAttempts = StringUtils.trimToNull((String) properties.get(MAX_ATTEMPTS_CONFIG_KEY));

Will NPE if the properties object that is passed in is null.

Status

Assignee

Lukas Rohner

Reporter

Christopher Brooks

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Affects versions

Priority

Major
Configure