2 Replies Latest reply on May 23, 2013 9:26 AM by user243865

    WavesetException:  Couldn't find method toHashMap() ...

    user243865
      I got that message when trying to call toHashMap on a WSUser object
      The docs clearly states that there is a public toHashMap in a WSUser object

      Why wont it find it?

      com.waveset.util.WavesetException: Couldn't find method toHashMap() in class com.waveset.object.WSUser ==> java.lang.NoSuchMethodException: com.waveset.object.WSUser.toHashMap()
                                    <set name='myGenericUserObj'>
                                      <invoke name='toHashMap'>
                                        <invoke name='getObject'>
                                          <select>
                                            <ref>context</ref>
                                            <ref>:display.session</ref>
                                            <invoke name='getLighthouseContext'>
                                              <ref>WF_CONTEXT</ref>
                                            </invoke>
                                          </select>
                                          <s>User</s>
                                          <ref>id_to_look_for</ref>
                                        </invoke>
                                      </invoke>
                                    </set>
      with only the getObject it picks the WSUser object out and displays it correctly in the debugger