-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.2.2
-
Component/s: None
-
Labels:None
-
Similar issues:
-
Epic Link:
-
Processed by team:Pulsar
-
Sprint:Platform sprint 131
The problem:
In HstSiteMapItemService parameters are stored in a HashMap : A HashMap allows null as key or value
In LocationMapTreeComponentDocuments an iteration through HstSiteMapItemService parameters is done as follows:
final Properties siteMapItemParameters = new Properties(); for (Map.Entry<String, String> param : siteMapItem.getParameters().entrySet()) { siteMapItemParameters.put(param.getKey(), param.getValue()); }
problem now is that Properties is a subclass op Hashtable which does throw an NPE on a null key or value.
- clones
-
HSTTWO-3692 LocationMapTreeComponentDocuments#add2LocationMap throws NPE when sitemap parameters object contains a null key or value
-
- Closed
-