0 Replies Latest reply: Nov 18, 2011 2:36 PM by lholmquist RSS

Seam 3 Remoting + Cannot read property 'tagName'

lholmquist Newbie

So kept getting this error and i wasn't sure why when passing back my object:


Fri Nov 18 2011 14:20:06 GMT-0500 (Eastern Standard Time): Cannot read property 'tagName' of null : TypeError: Cannot read property 'tagName' of null
    at Object.unmarshalValue (http://localhost:8080/lms2/seam/resource/remoting/resource/remote.js?compress=false:700:18)
    at Object.unmarshalRefs (http://localhost:8080/lms2/seam/resource/remoting/resource/remote.js?compress=false:692:34)
    at Object.processCallResponse (http://localhost:8080/lms2/seam/resource/remoting/resource/remote.js?compress=false:545:21)
    at Object.handler (http://localhost:8080/lms2/seam/resource/remoting/resource/remote.js?compress=false:527:14)
    at http://localhost:8080/lms2/seam/resource/remoting/resource/remote.js?compress=false:642:32
    at XMLHttpRequest.onreadystatechange (http://localhost:8080/lms2/seam/resource/remoting/resource/remote.js?compress=false:444:13)



I was parsing an xml file an putting those values into a bean to pass to my client.  One of the variables in the bean was named qText .  as soon as i changed the the name to qext the problem went away.


 
looks like the work Text can't be in a variable name(Bug?)


just putting that out there incase anyone else runs into this problem.