Closed Bug 419929 Opened 16 years ago Closed 16 years ago

Add-ons Manager does not show installed add-ons but all buttons at the bottom (Startup/Shutdown)

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
major

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: whimboo, Unassigned)

References

Details

Attachments

(3 files)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b4pre) Gecko/2008022704 Minefield/3.0b4pre ID:2008022704

Opening the Add-ons dialog showed me a nearly empty dialog. All the buttons on the bottom are hidden and no installed Add-on is shown. Closing and reopening the dialog now shows me each button on the bottom but no Add-ons. Any time I open and close the dialog following errors/exceptions are thrown:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://mozapps/content/extensions/extensions.js :: <TOP_LEVEL> :: line 71"  data: no]

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIPrefBranch2.addObserver]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: chrome://mozapps/content/extensions/extensions.js :: Startup :: line 988"  data: no]

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIPrefBranch2.removeObserver]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: chrome://mozapps/content/extensions/extensions.js :: Shutdown :: line 1105"  data: no]

I had the same thing some days ago while upgrading to a newer version of Minefield. At startup an extension had an update but I only see such an empty dialog. Even I'm not sure how to reproduce this issue, I'll ask for blocking1.9.
Flags: blocking-firefox3?
The Components.utils.import error suggests that DownloadUtils.jsm isn't in the install directory. Is this a self made build?
(In reply to comment #2)
> The Components.utils.import error suggests that DownloadUtils.jsm isn't in the
> install directory. Is this a self made build?

No, it's an official nightly build. 

(In reply to comment #2)
> The Components.utils.import error suggests that DownloadUtils.jsm isn't in the
> install directory.

Might also be a syntax error, given bug 408412.
With the same build it works now. Could this be raised by an extension update because I was also able to see this during startup?
Henrik: renominate if you can get solid STR.
Flags: blocking-firefox3?
Steps to reproduce are given in bug 408115 comment 40. I'll have a test later today.
(In reply to comment #7)
> Steps to reproduce are given in bug 408115 comment 40. I'll have a test later
> today.

Those appear to be the same steps as you suggested in comment 5, still WFM.
(In reply to comment #7)
> Steps to reproduce are given in bug 408115 comment 40. I'll have a test later
> today.

That comment refers to a different issue to whatever you are seeing actually.
My version of this was an intermittent error and the error message is erroneous (the import file exists).

IMO the import calls should be removed: nsIXPCComponents_Utils.import is not a reliable service. Or this bug or at least its friend 408412 needs to block FF3.
Whiteboard: [firebug-p2]
Henrik, what extensions do you have installed when you see this?
Product: Firefox → Toolkit
Does not seem to affect Firebug, removing from whiteboard
Whiteboard: [firebug-p2]
Noone seems to have seen this in a long time, I'm going to close as WFM. Reopen if I'm mistaken.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Sorry Dave. I missed that bug. I've seen it again some days ago while having checks with Firefox 3 and current trunk nightly builds. When you share a profile between different versions, which could also be a a2 and b1 build of Minefield the addons check will be performed. I've no real STR yet available but in such a case the Add-ons Manager was opened in a way as my 2nd screenshot shows. So lets reopen.

We have to elaborate to find some useful STR.
Status: RESOLVED → REOPENED
Keywords: qawanted
Resolution: WORKSFORME → ---
Giving it a better summary so I can find it again. Will have an eye on that bug when doing regression tests.
Summary: Opening / closing add-ons dialog results in exceptions in extensions.js (Startup/Shutdown) → Add-ons Manager does not show no installed add-ons but all button at the bottom (Startup/Shutdown)
Are you still seeing similar errors in the error console?
Summary: Add-ons Manager does not show no installed add-ons but all button at the bottom (Startup/Shutdown) → Add-ons Manager does not show installed add-ons but all buttons at the bottom (Startup/Shutdown)
I cannot say yet. Have to wait for the next occurrence.
OS: Mac OS X → All
Attached image Screenshot on Windows
I've found the one remaining screenshot in my local Bugzilla folder which shows the issue I've seen some days ago on Windows. As you can see the notification bar says that 1 new add-on has been installed. No more information yet.
Yay, I saw this behavior now while running an upgrade to an older trunk nightly build (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081114 Minefield/3.1b2pre ID:20081114034305) on XP which was in the queue. I was ask about the upgrade of Flashblock which I've installed. After that, Minefield comes up and I got the empty add-ons manager. Now it stated 2 upgrades happened (Flashblock and Adblock) but I was only informed about Flashblock.

Even opening the manager on a later stage shows no items and all buttons. But switching to another tab e.g. Themes solves this issue and everything is displayed correctly afterwards. 

Following error is shown in the Error Console during start-up but not at a later stage:

Error: item is null
Source File: chrome://mozapps/content/extensions/extensions.js
Line: 1097

Source:

        for (var i = 0; i < gNewAddons.length; i++) {
          var item = gExtensionManager.getItemForID(gNewAddons[i]);
=>        switch (item.type) {
            case Components.interfaces.nsIUpdateItem.TYPE_EXTENSION:
              extensionCount++;
              break;
            case Components.interfaces.nsIUpdateItem.TYPE_THEME:
              themeCount++;
              break;
            case Components.interfaces.nsIUpdateItem.TYPE_LOCALE:
              localeCount++;
              break;
          }
        }
 
Add-ons I've installed:

Adblock Plus 0.7.5.5
DOM Inspector 2.0.1
Firebug 1.2.0b6 [DISABLED]
Flashblock 1.5.7
Java Quick Starter 1.0
Locale Switcher 2.1 [DISABLED]
Nightly Tester Tools 2.0.2
What you are seeing now is not this bug, it is bug 439713. I'm going to close this bug and we should continue to try to figure it out in that bug.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → WORKSFORME
Thanks Dave. Sure, let's move the discussion there.
Status: RESOLVED → VERIFIED
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: