Cookie-AutoDelete: "An unexpected error occured" keeps popping up

Describe the Bug

Since this weekend, the error “An unexpected error” keeps popping up.

image

I couldn’t identify any pattern in the occurrence. It pops up frequently and in any page, including browser tabs like the add-on list. I could identify a possibly related error in the browser console. This error disappeared when downgrading to 2.2.0 and the popup doesn’t appear anymore.

[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICookieManager.remove]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://extensions/content/parent/ext-cookies.js :: remove :: line 402"  data: no]

Steps for anyone to reproduce the bug

Install 2.2.0. Use add-on, add some sites to the whitelist, update to 3.0.

Your settings

  • OS/version: Linux/Ubuntu
  • Browser/version: Firefox 64
  • Cookie AutoDelete version: 3.0.0

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 23 (4 by maintainers)

Most upvoted comments

I do have the same issue (60.4.0esr, freshly reinstalled CAD 3.0.0) However I still get the “unexpected error” popup, even with “localstorage cleanup” unchecked. What am I doing wrong ?

Same here: Firefox 64.0.2 (64 bits) under Debian 9, CAD 3.0.1, Localstorage Cleanup disabled.

When I go to the extensions’s Cleanup Log (“Journal de nettoyage” here in french, I’m not sure of the original wording), I get this error:

can't convert undefined to object
t.default</</n<@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:20:5269
t.default</<@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:20:5241
t.default<@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:20:5219
po@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:61969
Ko@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:78334
Yo@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:78711
Ai@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:85134
Oi@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:84514
Ii@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:90725
Sn@moz-extension://9b6e96d4-7e04-4c52-8f1a-2812cff186cd/bundles/common-popup-setting.bundle.js:36:30438
at line 20