Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

selectSingleNode not found

  • 1 svar
  • 6 har dette problem
  • 33 visninger
  • Seneste svar af cor-el

more options

Hi,

I am developing a web app using General Interface web toolkit. It makes heavy use of selectSingleNode and selectNodes. I am on Firefox 3.5.1 on Ubuntu 10.04 64 bit. There is another guy on the general interface forum with the same problem as me on Ubuntu 10.04 and Firefox 3.6.10. But a commiter on general interface on Kubuntu 10.04 and Firefox 3.6.13 does NOT get this problem. Below is my exception, running in -safe-mode with everything turned off.

As an aside, I have Firefox to update to the latest 3.6, but it always remains on 3.5.1, no idea why.

onError:Error {

 message:"objXML.selectSingleNode is not a function", 
 fileName:"http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/xml/CDF.js", 
 lineNumber:614, 
 stack:"("")@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/xml/CDF.js:614
   ("",2)@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:1268
   ([object Object])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:1073
   ([object Object])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:740
   ([object Object])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/util/EventDispatcher.js:165
   ("UserImpl",[object Array])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/app/Cache.js:322
   ([object Array],null)@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:244
   ("23","0",[object Array])@http://localhost:8081/secm/dwr/engine.js:654
   ("\n//#DWR-INSERT\n//#DWR-REPLY\ndwr.engine.remote.handleCallback(\"23\",\"0\",[{email:null,firstName:\"Super\",id:1,lastLogin:null,loginName:\"admin7\",password:\"t*****\",phone:null,salutation:null,surname:\"User\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:null},{email:\"\",firstName:\"\",id:2,lastLogin:null,loginName:\"d*****\",password:\"9*****\",phone:\"\",salutation:\"\",surname:\"\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:new Date(1236038400000)}]);\n")@http://localhost:8081/secm/dwr/engine.js:548
   ("\n//#DWR-INSERT\n//#DWR-REPLY\ndwr.engine.remote.handleCallback(\"23\",\"0\",[{email:null,firstName:\"Super\",id:1,lastLogin:null,loginName:\"admin7\",password:\"t*****\",phone:null,salutation:null,surname:\"User\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:null},{email:\"\",firstName:\"\",id:2,lastLogin:null,loginName:\"d*****\",password:\"9*****\",phone:\"\",salutation:\"\",surname:\"\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:new Date(1236038400000)}]);\n")@http://localhost:8081/secm/dwr/engine.js:545
   ([object Object])@http://localhost:8081/secm/dwr/engine.js:1355
   ([object Event])@http://localhost:8081/secm/dwr/engine.js:1205
   ", 
 name:"TypeError"

}

objXML is a wrapped Document. See the code here http://www.generalinterface.org/fisheye/browse/GI/trunk/gi/JSX/js/jsx3/xml/Document.js#r813

Any ideas on why this is happening and how to prevent it?

Hi, I am developing a web app using General Interface web toolkit. It makes heavy use of selectSingleNode and selectNodes. I am on Firefox 3.5.1 on Ubuntu 10.04 64 bit. There is another guy on the general interface forum with the same problem as me on Ubuntu 10.04 and Firefox 3.6.10. But a commiter on general interface on Kubuntu 10.04 and Firefox 3.6.13 does NOT get this problem. Below is my exception, running in -safe-mode with everything turned off. As an aside, I have Firefox to update to the latest 3.6, but it always remains on 3.5.1, no idea why. onError:Error { message:"objXML.selectSingleNode is not a function", fileName:"http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/xml/CDF.js", lineNumber:614, stack:"("")@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/xml/CDF.js:614 ("",2)@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:1268 ([object Object])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:1073 ([object Object])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:740 ([object Object])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/util/EventDispatcher.js:165 ("UserImpl",[object Array])@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/app/Cache.js:322 ([object Array],null)@http://localhost:8081/secm/TibcoGI/JSX/js/jsx3/package.js:244 ("23","0",[object Array])@http://localhost:8081/secm/dwr/engine.js:654 ("\n//#DWR-INSERT\n//#DWR-REPLY\ndwr.engine.remote.handleCallback(\"23\",\"0\",[{email:null,firstName:\"Super\",id:1,lastLogin:null,loginName:\"admin7\",password:\"t*****\",phone:null,salutation:null,surname:\"User\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:null},{email:\"\",firstName:\"\",id:2,lastLogin:null,loginName:\"d*****\",password:\"9*****\",phone:\"\",salutation:\"\",surname:\"\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:new Date(1236038400000)}]);\n")@http://localhost:8081/secm/dwr/engine.js:548 ("\n//#DWR-INSERT\n//#DWR-REPLY\ndwr.engine.remote.handleCallback(\"23\",\"0\",[{email:null,firstName:\"Super\",id:1,lastLogin:null,loginName:\"admin7\",password:\"t*****\",phone:null,salutation:null,surname:\"User\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:null},{email:\"\",firstName:\"\",id:2,lastLogin:null,loginName:\"d*****\",password:\"9*****\",phone:\"\",salutation:\"\",surname:\"\",userEnd:null,userRole:[{id:1,name:\"admin\"}],userStart:new Date(1236038400000)}]);\n")@http://localhost:8081/secm/dwr/engine.js:545 ([object Object])@http://localhost:8081/secm/dwr/engine.js:1355 ([object Event])@http://localhost:8081/secm/dwr/engine.js:1205 ", name:"TypeError" } objXML is a wrapped Document. See the code here http://www.generalinterface.org/fisheye/browse/GI/trunk/gi/JSX/js/jsx3/xml/Document.js#r813 Any ideas on why this is happening and how to prevent it?

Ændret af olddave den

Alle svar (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25