Closed Bug 485183 Opened 16 years ago Closed 16 years ago

Key is null error message from PROT_UrlCryptoKeyManager.prototype.unUrlSafe

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 447648

People

(Reporter: mmanning, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729) I am editing some software and I noticed this error when I go to the login screen. The error is "key is null". This is being thrown by PROT_UrlCryptoKeyManager.prototype.unUrlSafe. If I click on the link provided by FireBug I go to: PROT_UrlCryptoKeyManager.prototype.unUrlSafe = function(key) { return key.replace("-", "+").replace("_", "/"); } with the return line highlighted. That's all I know. My thoughts are that maybe the above should be: PROT_UrlCryptoKeyManager.prototype.unUrlSafe = function(key) { return (typeof(key) != "undefined") ? key.replace("-", "+").replace("_", "/") : ""; } ...or something similar. This error is currently ONLY happening on my, personal, computer (Windows) and not on the production server (Linux). Thing is - I just downloaded the source code from the Linux box. This is weird week though so what can I say? The program is fairly old so there is probably weirdness in the program to begin with. Reproducible: Always Steps to Reproduce: 1.http://localhost/OGTO/Trunk/index.php 2. 3. Using "Green Glow" theme. FF does not crash. I also have: ieTab, DownloadStatusBar,FireBug,AI Roboform, FireCookie, Java Quick Starter, Microsoft .Net Framework Assistant 1.0, Movie Media Player. (Ya know - someone should look into making a function call that could be used to fill in this information automatically. :-) )
Hey! (Hangs head) I just went through the Safe Mode stuff and the error disappeared. Completely. Even with everything re-installed. *sigh* Like I said - weird week. Nevermind. :-)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
nah, it's a real bug, but you could have found that it was fixed had you searched first :)
Resolution: INVALID → DUPLICATE
Ummmmm....actually - I did search. I used "key is null" and then "PROT_UrlCryptoKeyManager.prototype.unUrlSafe". Search returned that there were no entries. Maybe I've found a problem with the search facility? :-) Also, I did read the other bug report after it came in the mail. His bug was reported on "2008-07-23 10:40 PDT by R. Hirschfeld" and was fixed on "2008-09-16 02:27:16 PDT" yet I saw the error on "2009-03-25 07:52 PDT by Mark Manning". Nine days later. I do any/all updates so I can only assume that it hasn't been pushed out yet. :-) Also, mine was resolved by going into safe mode and then re-adding everything back in (well - not everything - there were some things in there that I do not remember installing so I left them out). I followed the tips to add everything back in slowly, one at a time. So I'm wondering if I added in the rest of the things I found if one of them might cause the problem to re-occur. Maybe I'll go ahead and re-install them to see. Don't know and don't have a lot of time left on this contract. So I might just leave it alone. :-)
you're right about "isn't pushed out yet", it isn't fixed on the branch (and given how minor it is, it has no chance of being fixed there), you'd need the next firefox release (whatever is after 3.0), or a nightly from a branch containing the fix.
You need to log in before you can comment on or make changes to this bug.