為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

selectSingleNode not found

  • 1 回覆
  • 6 有這個問題
  • 5 次檢視
  • 最近回覆由 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?

由 olddave 於 修改

所有回覆 (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