Closed
Bug 525672
Opened 15 years ago
Closed 15 years ago
Removing a registry installed extensions causes "itemLocation is null"
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
Tracking | Status | |
---|---|---|
status1.9.2 | --- | final-fixed |
People
(Reporter: marikavs, Assigned: mossop)
References
Details
Attachments
(6 files)
812 bytes,
text/plain
|
Details | |
13.62 KB,
application/rdf+xml
|
Details | |
1.05 KB,
text/plain
|
Details | |
4.98 KB,
application/x-zip-compressed
|
Details | |
10.93 KB,
application/zip
|
Details | |
4.14 KB,
patch
|
robert.strong.bugs
:
review+
beltzner
:
approval1.9.2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 Not a "Specific and detailed bug report." No Send Feedback (grayed out) at Leave quick feedback. FF 3.5.4 (for Mac) doesn't rid itself of the post-Add-on updates "Restart Firefox to complete your changes" even after several restarts. And, the newly updated Add-ons are still grayed out. Reproducible: Always Steps to Reproduce: 1.Find Updates 2.Restart Firefox 2.Tools->Add-ons->Restart Firefox STILL THERE 2. 3. Actual Results: Restart Firefox STILL THERE, newly updated Add-ons GRAYED OUT. Expected Results: I expected to a) see different text in yellow strip (e.g. "updates completed") b) have the updated Add-ons enabled c) close the Add-ons box ?
Updated•15 years ago
|
Component: General → Add-ons Manager
Product: Firefox → Toolkit
QA Contact: general → add-ons.manager
Version: 3.5 Branch → 1.9.1 Branch
Assignee | ||
Comment 1•15 years ago
|
||
What add-ons are you updating? Can you attach copies of extensions.ini, extensions.rdf, extensions.cache and extensions.log from your profile folder to this bug report. http://support.mozilla.com/en-US/kb/Profiles
Update to 3.5.5 solved this problem, but added a new one... http://www.google.com/ig?gl=all&refresh=1 now will not finish loading. Removing *all* cookies (not just the google ones) temporarily solves it, but it appears again upon reload of page and, of course, restart of browser. Removing all cookies is not useful. It creates havoc with other sites requiring cookies for e.g. logins.
This is the same problem I am having with the new beta 2 build. At first it was showing the default theme was updated and needed a restart. after I canceled the update I went to the extensions area and Google Gears continued to say this will be uninstalled after restart. I reported Google gears as not compatible with this version and had disabled it. But now if I check disable, cancel uninstall or uninstall, the restart notification does not disappear.
Assignee | ||
Updated•15 years ago
|
Attachment #412050 -
Attachment description: Requested profile files → extensions.cache
Attachment #412050 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Updated•15 years ago
|
Attachment #412051 -
Attachment description: Requested profile files → extensions.rdf
Assignee | ||
Updated•15 years ago
|
Attachment #412053 -
Attachment description: Requested profile files → extensions.ini
Attachment #412053 -
Attachment mime type: application/octet-stream → text/plain
Comment 10•15 years ago
|
||
I've just noticed a slightly different behavior. My add-on updates are not completing even after re-starting several times. They are all stuck with "This add-on will be update when Namoroka is restarted". Add-ons that are stuck are - Weave 1.0b2pre1 and default theme.
Comment 11•15 years ago
|
||
I'm not sure I have exactly the same problem, but I just tried to update Session Manager via downloading a new .xpi from the Mozilla add-ons website, and the "Restart Firefox to complete your changes" message persists. Strangely, I couldn't find an "extensions.ini".
Comment 12•15 years ago
|
||
To add to that, closing the window and killing firefox.exe via Task Manager doesn't fix the problem. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b4) Gecko/20091124 Firefox/3.6b4 (.NET CLR 3.5.30729)
Assignee | ||
Updated•15 years ago
|
Summary: "Restart Firefox to complete your changes" persists after restart → "Error flushing caches: TypeError: itemLocation is null" causes extension installs and updates to fail
Comment 13•15 years ago
|
||
I have similar problem in Windows: 1. register extension in registry (winreg-app-global) 2. start FF -> ok 3. close FF 4. delete registry item 5. start FF 6. there is "Restart Firefox to complete your changes" in add-ons and "This add-on will be uninstalled when Firefox is restarted." 7. close FF 8. there is extensions.log: 2009-12-15 11:03:49 - Reached _shutdown and without clearing any pending flushes 2009-12-15 11:03:49 - Error flushing caches: TypeError: itemLocation is null 7. after restart it is ok in add-ons Tested with FF 3.6 beta 5. Everything works fine with FF 3.5.5
Assignee | ||
Comment 15•15 years ago
|
||
This appears to be two different problems since the latter comments show windows only issues but the original reporter is on Mac. Since the original reporter never provided enough information to track his issue down though I'll just morph this to the windows issue which is reproducable and fixable now. This ends up being a regression from bug 511091. When the registry extension is detected as missing we send an observer notification saying it is being uninstalled. As part of that notification we generate an nsIUpdateItem including the items icon which we attempt to get from the filesystem, however we fail because we don't know where the extension used to be installed.
Assignee: nobody → dtownsend
Blocks: 511091
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: "Error flushing caches: TypeError: itemLocation is null" causes extension installs and updates to fail → Removing a registry installed extensions causes "itemLocation is null"
Assignee | ||
Comment 16•15 years ago
|
||
We shouldn't block on this at this stage since it doesn't put the extension manager into a permanently bad state, an additional restart clears it up
Flags: wanted1.9.2?
Flags: wanted1.9.2+
Flags: blocking1.9.2?
Flags: blocking1.9.2-
Comment 17•15 years ago
|
||
(In reply to comment #16) > We shouldn't block on this at this stage since it doesn't put the extension > manager into a permanently bad state, an additional restart clears it up False; the message is still there, even though it started occurring almost a month ago.
Assignee | ||
Comment 18•15 years ago
|
||
(In reply to comment #17) > (In reply to comment #16) > > We shouldn't block on this at this stage since it doesn't put the extension > > manager into a permanently bad state, an additional restart clears it up > > False; the message is still there, even though it started occurring almost a > month ago. In which case there are other classes of problems here causing similar error messages. The only one that I can reproduce and hence fix is that in comment 13. It's possible the fix might solve the other cases but without being able to test that I cannot say for sure.
Comment 19•15 years ago
|
||
For my case, all my add-on are disabled. But somehow the message that tell me to restart firefox is gone.
Assignee | ||
Comment 20•15 years ago
|
||
This patch stops us throwing when trying to get the iconURL for an uninstalled registry extension. It covers a few additional callsites of getFile for safety where I believed it might be possible there could be a similar issue. Unfortunately there isn't really a way to automatically test this in out current test suite since the fake restart we use isn't enough to drop the cache of keys loaded from the registry on startup.
Attachment #418221 -
Flags: review?(robert.bugzilla)
Updated•15 years ago
|
Attachment #418221 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 21•15 years ago
|
||
Pushed to trunk: http://hg.mozilla.org/mozilla-central/rev/d74e4f967a1d
Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.3a1
Comment 22•15 years ago
|
||
Problem still exist as of Firefox 3.6beta 5
Comment 23•15 years ago
|
||
For My case, Same problem with a lot of you guys, with reoccuring prompt to restart Firefox in Add-on manager. When I change from Firefox 3.6b4 to Minefield 3.7prea1/Firefox 3.5.5, the same bug is still there. However, when I restarted Firefox 3.5.5 hoping that the add-on manager will be fixed, all add-ons are disabled including personas. When I say Disabled, that means they don't even have menu in tools menus or any icons in any toolbars. As I said above, this bug still exist as of Firefox 3.6b5. Sorry for double posting.
Comment 24•15 years ago
|
||
In case it isn't clear the patch has only landed on the trunk as of today and has not landed for 3.5.x or 3.6 so this bug still exists with those versions. If you'd like to check if the fix has fixed this for you you will need to try tomorrow's nightly.
Comment 25•15 years ago
|
||
I've just updated and it doesn't seem to have sorted the problem for me. I am on the latest nightly as of today noon GMT. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b6pre) Gecko/20091217 Namoroka/3.6b6pre
Comment 26•15 years ago
|
||
(In reply to comment #25) > I've just updated and it doesn't seem to have sorted the problem for me. I am > on the latest nightly as of today noon GMT. > > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b6pre) Gecko/20091217 > Namoroka/3.6b6pre Your user agent shows you are using 3.6b6pre where this has not landed per comment #24 and not the trunk where it has landed
Assignee | ||
Comment 27•15 years ago
|
||
We also have multiple bugs causing this error. This bug fix covers the problem specifically listed in comment 13. If anyone can come up with working steps to reproduce for any of the other issues then I'll happily fix those too, but I cannot fix what I cannot reproduce/identify.
Comment 28•15 years ago
|
||
Will this bug block Firefox 3.6? or will Firefox 3.6 be release without this bug being resolved? I don't think it is correct to solve this bug after official Firefox 3.6 release, because this bug causes serious Add-On Manager Error.
Comment 29•15 years ago
|
||
By the Way, Happy New Year Everyone. (sorry for double post)
Assignee | ||
Comment 30•15 years ago
|
||
I should probably have simply opened a separate bug for the reproducible issue described in comment 13 instead of morphing this one into it, however since I did I'm going to close this bug as fixed since the issue in comment 13 is fixed. If you are still seeing hte error "Error flushing caches: TypeError: itemLocation is null" then a new bug should be filed however without steps to reproduce or evidence that it is a common problem we wouldn't block Firefox 3.6 on it.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 31•15 years ago
|
||
Comment on attachment 418221 [details] [diff] [review] patch rev 1 This has baked for longer than I intended and I'd like to land it on 1.9.2. It should be very low risk and the code altered should all be exercised by existing tests.
Attachment #418221 -
Flags: approval1.9.2?
Attachment #418221 -
Flags: approval1.9.2.1?
Comment 32•15 years ago
|
||
Comment on attachment 418221 [details] [diff] [review] patch rev 1 a192=beltzner
Attachment #418221 -
Flags: approval1.9.2?
Attachment #418221 -
Flags: approval1.9.2.1?
Attachment #418221 -
Flags: approval1.9.2+
Assignee | ||
Comment 33•15 years ago
|
||
Fixed on branch: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/79fb1af02f17
status1.9.2:
--- → final-fixed
Comment 34•15 years ago
|
||
(In reply to comment #33) > Fixed on branch: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/79fb1af02f17 Hi, is this already available for testing? I've just tested this on the latest build available and I am still able to reproduce it using the steps in Comment 13. -- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b6pre) Gecko/20100105 Namoroka/3.6b6pre
Comment 35•15 years ago
|
||
OK. Seperate bug filed for this https://bugzilla.mozilla.org/show_bug.cgi?id=538138
You need to log in
before you can comment on or make changes to this bug.
Description
•