Description
SessionStats getAttribute is implemented as below. The variable k is not increment which leads to null being set in array value which causes issue later
public String[] getSessionAttributes() { String[] atts = new String[attributes.size()]; int k = 0; for (Entry<String, Object> attribute : attributes.entrySet()) { atts[k] = attribute.getKey() + '=' + attribute.getValue(); } return atts; }