TypeError: self._addonWorker is null

Ken BruckerKen Brucker Junior Member
edited May 2012 in 1Password 3 – 6 for Mac
I frequently see a bunch of errors like the following show up in console.app.

This has crossed multiple releases of FF. At 12.0 now.
FF Plugin is v3.9.4
1P v3.8.19
OSX 10.6.8

I also have NoScript v2.4 and AdBlock Plus v2.0.3. Not sure if there's a correlation to having scripts blocked and seeing these errors but it's possible. Looks like there's a condition in 1P javascript that is not accounted for.

5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] error: An exception occurred.
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] Traceback (most recent call last):
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/timer.js", line 38, in notify
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] this.callback.apply(null, this.arguments);
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/worker.js", line 86, in
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] self._emit.apply(self, JSON.parse(args));
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/events.js", line 119, in _emit
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] return this._emitOnObject.apply(this, args);
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/events.js", line 149, in _emitOnObject
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] listener.apply(targetObj, params);
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/worker.js", line 174, in portEmit
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] self._addonWorker._onContentScriptEvent.apply(self._addonWorker, arguments);
5/10/12 10:12:52 AM [0x0-0x1ec1ec].org.mozilla.firefox[63694] TypeError: self._addonWorker is null

Comments

  • khadkhad Social Choreographer

    Team Member
    We need to clean up the logging a bit. These messages are essentially harmless.

    Are you having any actual trouble, or just looking at the logs?

    NoScript has been known to cause problems for 1Password in its default configuration. If it is working fine for you, that's great. I just thought I would mention it. Conversely, AdBlock Plus should be fine in its default configuration, but there are ways to make it break 1Password. :)

    Let me know if Login items you create in the extension show up in the main 1Password application and if you are filling logins from the 1Password extension without trouble.

    Cheers,
  • digitalFlackdigitalFlack Junior Member
    - I've been having this problem since Firefox 8, currently on FF 12, latest 1 Password 3.9.4.b1
    - Earlier Macbook Pro Mid 2009 was stolen in March, replaced with MBP Late 2011, migration assistant to new Mac... problem persists
    - Same error lines repeat in the console, always same line numbers in JS (38, 86, 119, 149, 174)
    - Regularlry get theJava script time out error, almost always 1Password (which I use more than any other JS)
    - Sometimes there are 5 seconds between repeated error in console log, sometime 4 minutes, sometimes 15 minutes
    - Trying to debug an intermittent wifi problem where wifi hangs or dramatically slows down on my computer afer 15-20 minutes of use, then after a few minutes (or a restart) it resumes. Problems most often after waking from sleep. Is this related?


    5/13/12 2:42:50.060 PM [0x0-0x2f02f].org.mozilla.firefox: TypeError: self._addonWorker is null
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: error: An exception occurred.
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: Traceback (most recent call last):
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/timer.js", line 38, in notify
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: this.callback.apply(null, this.arguments);
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/worker.js", line 86, in
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: self._emit.apply(self, JSON.parse(args));
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/events.js", line 119, in _emit
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: return this._emitOnObject.apply(this, args);
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/events.js", line 149, in _emitOnObject
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: listener.apply(targetObj, params);
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/worker.js", line 174, in portEmit
    5/13/12 2:45:45.362 PM [0x0-0x2f02f].org.mozilla.firefox: self._addonWorker._onContentScriptEvent.apply(self._addonWorker, arguments);
  • khadkhad Social Choreographer

    Team Member
    Welcome to the forums, digitalFlack. I've merged your post with this existing thread. Please see my post above.


    - Trying to debug an intermittent wifi problem where wifi hangs or dramatically slows down on my computer afer 15-20 minutes of use, then after a few minutes (or a restart) it resumes. Problems most often after waking from sleep. Is this related?


    No. There isn't really a way that a sandboxed browser extension could affect your entire Wi-Fi connection unless it was spewing data over the pipe clogging it up which 1Password doesn't do. No data is transmitted across your Wi-Fi connection by the 1Password extension.
  • 1Password 3.9.5, extension version 3.9.4, OS X 10.7.4.

    What's up with all these errors in the console log?

    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: error: An exception occurred.
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: Traceback (most recent call last):
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/timer.js", line 38, in notify
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: this.callback.apply(null, this.arguments);
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/worker.js", line 86, in
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: self._emit.apply(self, JSON.parse(args));
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/events.js", line 119, in _emit
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: return this._emitOnObject.apply(this, args);
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/events.js", line 149, in _emitOnObject
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: listener.apply(targetObj, params);
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/worker.js", line 174, in portEmit
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: self._addonWorker._onContentScriptEvent.apply(self._addonWorker, arguments);
    5/19/12 3:40:03.543 PM [0x0-0x37037].org.mozilla.firefox: TypeError: self._addonWorker is null
  • khadkhad Social Choreographer

    Team Member
    edited May 2012
    Hey drizzler,

    I merged your post with this existing thread.

    Those are errors from the JetPack API that we use in 1Password. They are harmless. At the moment, the only way to clean them up is to repackage 1Password with the latest API version which isn't a simple task as there are other changes made to the API that we have to work around. We're going to do because it'll help fix some other issues Mozilla resolved in latest APIs and Firefox nightly (specifically Firefox 15), but I don't have a time frame at the moment.

    Please let me know if there is anything else I can help with in the meantime.
  • Are these also related? Starting around the time I updated to Firefox 13, my FF CPU usage continues to peg near 100% after a short while. I do not recall if I updated 1Password in that timeframe. I get massive piles of these, which led me to believe that 1password is causing the CPU pegging again:

    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice error: An exception occurred.
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice Traceback (most recent call last):
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice   File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/observer-service.js", line 142, in
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice	 this.callback.call(this.target, subject, data);
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice   File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 867, in BM__onInnerWinDestroyed
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice	 subj.QueryInterface(Ci.nsISupportsPRUint64).data);
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice   File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 891, in BM__unregisterContentWin
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice	 this.topLevelItems.forEach(function (item) {
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice   File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 892, in
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice	 privateItem(item)._workerReg.unregisterContentWin(innerID);
    2012-06-15 12:37:14 PM [0x0-0x63063].org.mozilla.firefox[1656] Notice TypeError: privateItem(item)._workerReg is undefined
    
  • khadkhad Social Choreographer

    Team Member
    There has not been a new version of the 1Password Firefox extension since Firefox 11. Any changes you are seeing are from Firefox itself. If you are having consistent problems, please send us a Diagnostics Report.


    In 1Password 3.8, just select Help > Troubleshooting > Diagnostics Report from the menu bar.

    If you are using 1Password 3.9 (from the Mac App Store), you'll need to follow the instructions here:

    http://support.agilebits.com/kb/troubleshooting/create-a-diagnostics-report-to-help-agilebits-help-you

    Then attach the entire file to an email to support AT agilebits.com.

    Please include a link to this thread in order that we might more quickly "connect the dots" when we see your Diagnostics Report in our inbox.

    Please do not post your Diagnostics Report in the forums, though.
  • I'm still having similar issues so I have emailed my diag report and a 1 second snippet of the Notices that are filling my console logs.
    How do we make sure NoScript does not interfere with 1Password:
  • I just disabled NoScript and restarted Firefox, and these same messages are filling my console logs. This is just 1 second's worth of messages, and I get several seconds' worth in a row every time I load something:

    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice error: An exception occurred.
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice Traceback (most recent call last):
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/system/events.js", line 58, in
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice data: data
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/observer-service.js", line 35, in listener
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice callback.call(target || callback, subject, data);
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 870, in BM__onInnerWinDestroyed
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice subj.QueryInterface(Ci.nsISupportsPRUint64).data);
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 894, in BM__unregisterContentWin
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice this.topLevelItems.forEach(function (item) {
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 895, in
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice privateItem(item)._workerReg.unregisterContentWin(innerID);
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice TypeError: privateItem(item)._workerReg is undefined
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice error: An exception occurred.
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice Traceback (most recent call last):
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/system/events.js", line 58, in
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice data: data
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/api-utils/lib/observer-service.js", line 35, in listener
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice callback.call(target || callback, subject, data);
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 870, in BM__onInnerWinDestroyed
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice subj.QueryInterface(Ci.nsISupportsPRUint64).data);
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 894, in BM__unregisterContentWin
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice this.topLevelItems.forEach(function (item) {
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice File "resource://onepassword-at-agilebits-dot-com/addon-kit/lib/context-menu.js", line 895, in
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice privateItem(item)._workerReg.unregisterContentWin(innerID);
    2012-11-06 1:58:02 PM [0x0-0x635635].org.mozilla.firefox Notice TypeError: privateItem(item)._workerReg is undefined

    I have already unisntalled, restarted, and reinstalled the latest stable as well as beta1 Mac Firefox extension with no change. My Firefox is back to the same problem it had when 10 and 11 came out - eventual slow down and complete unresponsiveness, and these onepassword related messages are the only thing in the logs.
  • khadkhad Social Choreographer

    Team Member
    We'll continue to work with you via email if you sent a Diagnostics Report so we're not duplicating efforts between here and email.
This discussion has been closed.