Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 #2

Closed
BStramke opened this issue Apr 6, 2010 · 2 comments

Comments

@BStramke
Copy link

BStramke commented Apr 6, 2010

Playing around with the script i found an error occuring sometimes:

uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://192.168.161.100/js/jquery/jquery.ajaxmanager.js :: anonymous :: line 80" data: no]

which refers to this line:
var httpStatus = ahr.status,

According to this page it is not allowed to direclty read the .status value:
http://helpful.knobs-dials.com/index.php/%22Component_returned_failure_code:_0x80040111_%28NS_ERROR_NOT_AVAILABLE%29%22

(needs try/catch block as it seems, but i don't really know for sure).

PS: Adding the try{}catch(err){} block will then throw the timeout error which should be correct.

@aFarkas
Copy link
Owner

aFarkas commented Apr 7, 2010

Thx, for your bugreport. Can you confirm this bug in the newest version (3.0.2)?

@BStramke
Copy link
Author

BStramke commented Apr 8, 2010

I tested it and the timeout error was thrown, so it should be fixed. Thank you for your Bugfix Release :-)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants