Hi,
Goto ST22 if you find any dump, then goto exact source code. It might take you to the method GET_NAME of class ZCL_MSS_ELM_WF_ATTRIBS. From overview it seem like inside this class the object is just declared and then dereferenced. Probably you missed out to create object instance.