473,898 Members | 2,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to handle exceptions? [Exception... "'Permissio n denied to set property XULElement.sele ctedIndex' when calling method:

I can not figure out the meaning of this error:

Error: [Exception... "'Permissio n denied to set property
XULElement.sele ctedIndex' when calling method:
[nsIAutoComplete Popup::selected Index]" nsresult: "0x8057001e
(NS_ERROR_XPC_J S_THREW_STRING) " location: "JS frame ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 635" data: no]
Source File: http://www.bluecasts.com/pdsIncludes/pdsAjax.js
Line: 635
lin3 635 is the line below with formReference.s ubmit();
function submitAnyForm(m yform) {
if (document.getEl ementById(myfor m)) {
var formReference = document.getEle mentById(myform );
if (formReference) {
if (formReference. elements["choiceMade "]) {
var choiceMade = formReference.e lements["choiceMade "];
var choiceValue = choiceMade.valu e;
}
// 03-23-06 - getting a weird error - "Error: [Exception...
"'Permissio n denied to set
// property XULElement.sele ctedIndex' when calling method:
// [nsIAutoComplete Popup::selected Index]"
// nsresult: "0x8057001e (NS_ERROR_XPC_J S_THREW_STRING) "
// location: "JS frame ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 626" data: no]
// Source File:
http://www.bluecasts.com/pdsIncludes/pdsAjax.js
// Line: 626
// so I'm adding this next check to make sure the reference
has a method called "submit".
if (formReference. submit) {
formReference.s ubmit();
} else {
alert("There is no submit method for the form " +
myform);
}
} else {
alert("The element" + myform + " was not a form. We got
this: " + formReference);
}
} else {
alert("We could not find a form called " + myform);
}
}

Mar 23 '06 #1
1 7184
Jake Barnes wrote:
I can not figure out the meaning of this error:

Error: [Exception... "'Permissio n denied to set property
XULElement.sele ctedIndex' when calling method:
[nsIAutoComplete Popup::selected Index]" nsresult: "0x8057001e
(NS_ERROR_XPC_J S_THREW_STRING) " location: "JS frame ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 635" data: no]
Source File: http://www.bluecasts.com/pdsIncludes/pdsAjax.js
Line: 635
lin3 635 is the line below with formReference.s ubmit();
[script code]


The relevant markup snippet this script code is operating on, is missing.
PointedEars
Mar 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1176
by: Elliot Peele | last post by:
I keep getting a odd set of exceptions when my application exits: Exception exceptions.ImportError: 'No module named types' in <bound method log.__del__ of <db.log.log instance at 0xf6de538c>> ignored Exception exceptions.AttributeError: "'NoneType' object has no attribute 'close'" in <bound method db.__del__ of <db.db.db instance at 0xf6d34b0c>> ignored Exception exceptions.AttributeError: "'NoneType' object has no attribute 'close'"...
1
11585
by: webstuff | last post by:
Hi, I'm getting a 'Type mismatch' exception when calling the Word.Application.Documents.Open method when using the Office XP 2003 PIAs. the actual error is: System.Runtime.InteropServices.COMException (0x80020005): Type mismatch. This method works when using the Office XP PIAs (not that this fact is
1
1680
by: Ram | last post by:
Hey, I have a Class Library project that is installed in the Gac (- strong name and all...). In this Class Library, I keep getting an exception when I try to instatiate one of MS's object ( - to be exact it's one of the ADSI Objects...). The exception I keep getting is: "System.IO.FileNotFoundException: The specified module could not be found." What this exception means??? Thanks ahead
0
2119
by: webbsk | last post by:
I keep getting an exception when I call the DataAdapter Update method. I have been trying to figure out what is causing the null reference exception for this code for what seems like forever: private void DoInserts(OdbcDataAdapter odbcDataAdapter, string tableName) { DataTable dataTableChanged = dsTapes.Tables.GetChanges(DataRowState.Added);
3
1773
by: Rahul | last post by:
Hi, Is there a way to get the line numbers to display in the exception when you have published your web site? Thanks Rahul
2
1709
by: mkoonani | last post by:
Hi, i am getting the following error while using js to communicate between parent and child windows using Firefox browser. Can anyone help me out from this.? MK
2
7216
by: funktacular | last post by:
Hi - I have some javascript that works when I run it from a server, but I need to run it locally. When I try to execute it locally I get the following error: Error: uncaught exception: Permission denied to get property Window.processXML Is there a way to get around this issue? default.htm
8
2444
by: Olivier BESSON | last post by:
Hello, VB.NET 1.1 IIS 6 I'm developping a winform client app of a web service of mine. I used to set the IDE with "halt in debugger" on "common language runtime exceptions". Every time i call a method of my service if have 2 first time exceptions
0
9992
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10853
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10480
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9658
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7187
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3303
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.