An Odd YUI Error
August 17, 2006 – 21:36 | java, web-designYUI Connection Manager throws this error when the ajax url passed to it is invalid (invalid as in, like, “I forgot to set the value!”). What makes it more obscure is it prints out the page url, which often looks alike, if not the same, the ajax url:
uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]” nsresult: “0×80070057 (NS_ERROR_ILLEGAL_VALUE)” location: “JS frame :: http://localhost:8080/myapp/foo.do :: anonymous :: line 0″ data: no]
