NPE on updating the serviceProperties in ConfigUtil

Description

org.amdatu.security.authentication.util.ConfigUtil.updateServiceProperties() does not properly handle a return of null from comp.getServiceProperties() - which is a valid return according to the spec when there is no service property.

This fails on dm-4.4.1

Activity

Show:
Jan Willem Janssen
December 5, 2017, 10:40 AM

This issue is solved in the latest DM, which is not yet released atm. No need to fix anything in this project.

Pierre DE ROP
November 30, 2017, 11:06 PM

ok Bram, I will do it this week end.

Bram Pouwelse
November 30, 2017, 10:22 PM

Thanks, and you're right. We're on a snapshot build that has the fix for FELIX-5683 now. A new release would be nice.

Think it's safe to close this issue

Pierre DE ROP
November 30, 2017, 10:03 PM

A fixed has been commited in the felix trunk in order to never return null from comp.getServiceProperties(), see FELIX-5683.
Let me know if you want a new dm release ? thanks.

Won't Fix

Assignee

Marian Grigoras

Reporter

Marian Grigoras