I seem to be having some type of issue with the DataElementUtils.convertDataMapToSet () method. It throws an Exception sometimes with null Objects in the passed in Map < String, Object >.
I have not been able to figure out if this is the set complaining about multiple null's or the set complaining about any other multiple same values.
For now, in order for me to get this to work reliably, I never pass in a key and value pair if the value is null for the Object in the Map < String, Object >. Unfortunately, this causes the key to be missing in the Context Service Object. What I would really like is to be able to always pass in all keys, regardless of the value.
I'll post more information when I get some more insight.