Issue is when trying to create a SmResponseAttr object using the constructor
SmResponseAttr(java.lang.String value)
Implementation.
The problem with your code is you are creating a new object of type SmResponseAttr instead of retrieving the existing object and modifying it. See https://communities.ca.com/thread/241762337.