Closed Bug 1752307 Opened 3 years ago Closed 3 years ago

A single dismissed calendar event may later re-appear in duplicate / triplicate on next application launch

Categories

(Calendar :: General, defect)

Thunderbird 97
x86_64
Windows 10
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1727123

People

(Reporter: thee.chicago.wolf, Unassigned)

Details

Attachments

(3 files)

Attached image triplcate.png

No STR per se. I am seeing dismissed calendar events later reappear as duplicate or triplicate events and as if they were never previously dismissed. Nothing odd appears in error console.

In the image, you can see the event in triplicate. I had an event scheduled for 6AM today and I had already dismissed it earlier. I relaunched TB around 7:02AM and this is where I saw it re-launch the events in triplicate and as if it had never been dismissed earlier.

I first started seeing this issue in 97 betas.

Product: Thunderbird → Calendar
Attached image quadruple.png

For the first time today I saw it in quadruple.

Error console isn't showing anything odd. The only thing I can say is that after crashing at shutdown (bug 1742590) and then re-opening, this tripling and (now) quadrupling seems to happen.

09:09:17.445 1643814557445 addons.xpi WARN Checking C:\Program Files\Mozilla Thunderbird\distribution\extensions for addons
09:09:18.639 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
hiddenWindow.html
09:09:19.240 Successfully loaded OpenPGP library rnp.dll version 0.15.2+git20210806.dd923a4e.MZLA from C:\Program Files\Mozilla Thunderbird\rnp.dll RNPLib.jsm:101:15
09:09:19.256 Found 2 public keys and 2 secret keys (2 protected, 0 unprotected) RNPLib.jsm:303:15
09:09:19.665 services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. Utils.jsm:226
09:09:20.105 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
6 calItemBase.js:431:30
09:09:20.175 services.settings: thunderbird/hijack-blocklists has signature disabled RemoteSettingsClient.jsm:1027
09:09:20.182 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
20 calItemBase.js:431:30
09:09:20.864 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
calViewUtils.jsm:417:35
09:09:20.865 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
3 calItemBase.js:431:30
09:09:20.947 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
2 calViewUtils.jsm:417:35
09:09:20.947 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
37 calItemBase.js:431:30
09:09:22.580 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
3 calViewUtils.jsm:417:35
09:09:22.580 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
13 calItemBase.js:431:30
09:09:24.803 tb.account.size_on_disk - Attempted to set the scalar to an incompatible value. 10
09:09:24.804 tb.account.size_on_disk - Trying to set an unsigned scalar to a negative number. 2
09:09:24.804 tb.account.size_on_disk - Truncating float/double number. 2
09:09:24.804 tb.account.size_on_disk - Trying to set an unsigned scalar to a negative number. 2

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

I know this closed as a dupe of bug 1727123 but today this really hit with far more dupes in the reminder window. Error console gave something that's possible useful:

11:37:50.869 TypeError: calAlarmWindow.removeWidgetFor is not a function CalAlarmMonitor.jsm:205:24

11:37:50.869 [Exception... "[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]'[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]' when calling method: [calIAlarmServiceObserver::onRemoveAlarmsByItem]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource:///modules/calendar/utils/calDataUtils.jsm :: notify :: line 38" data: yes] calDataUtils.jsm:38:23

Ok, one more interesting Error Console message from something I observed today from a pop-up I dismissed two or three times the other day. This was on 98.0b1 and this issue seems worse on 98.0b1.

08:50:59.654 NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] LoginManagerChild.jsm:194
observe resource://gre/modules/LoginManagerChild.jsm:194
handleEnter chrome://global/content/elements/autocomplete-input.js:584
handleKeyDown chrome://global/content/elements/autocomplete-input.js:549
AutocompleteInput chrome://global/content/elements/autocomplete-input.js:40

Are we sure this is a dupe of 1727123? All the events were ones I created and thus hammering me. On 98.0b3, I am now also getting

06:52:14.252 TypeError: alarmRichlist is null calendar-alarm-dialog.js:368:15

Still wondering if this is really dupe of bug 1727123 as I this just hit me with a sextuplet re-appearance of an event I dismissed from March 28th. I'm now running 100.0 b2.

Error console is spitting out new stuff:

TypeError: calAlarmWindow.removeWidgetFor is not a function CalAlarmMonitor.jsm:205:24
mAlarms resource:///modules/CalAlarmMonitor.jsm:205
filter self-hosted:201
onRemoveAlarmsByItem resource:///modules/CalAlarmMonitor.jsm:201
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
removeAlarmsForItem resource:///modules/CalAlarmService.jsm:495
findAlarms resource:///modules/CalAlarmService.jsm:747
run resource:///modules/calendar/utils/calIteratorUtils.jsm:78

[Exception... "[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]'[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]' when calling method: [calIAlarmServiceObserver::onRemoveAlarmsByItem]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource:///modules/calendar/utils/calDataUtils.jsm :: notify :: line 38" data: yes] calDataUtils.jsm:38:23
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
removeAlarmsForItem resource:///modules/CalAlarmService.jsm:495
findAlarms resource:///modules/CalAlarmService.jsm:747
run resource:///modules/calendar/utils/calIteratorUtils.jsm:78

(In reply to Arthur K. [He/Him] from comment #6)

Still wondering if this is really dupe of bug 1727123 as I this just hit me with a sextuplet re-appearance of an event I dismissed from March 28th. I'm now running 100.0 b2.

Error console is spitting out new stuff:
...

Hello Arthur K. The stack traces you post seem like more than one issue may be happening, particularly the one about autocomplete. Would you be able to test the latest beta with a fresh profile for this bug?

(In reply to Lasana Murray from comment #7)

(In reply to Arthur K. [He/Him] from comment #6)

Still wondering if this is really dupe of bug 1727123 as I this just hit me with a sextuplet re-appearance of an event I dismissed from March 28th. I'm now running 100.0 b2.

Error console is spitting out new stuff:
...

Hello Arthur K. The stack traces you post seem like more than one issue may be happening, particularly the one about autocomplete. Would you be able to test the latest beta with a fresh profile for this bug?

I might be able to yes. However, after having just gone through https://bugzilla.mozilla.org/show_bug.cgi?id=1740486#c19 I am strongly hesitant to touch my working setup.

Although the issue usually is random, when it happens, it's often because I've come to my PC (work or home) the following day, woken it up, cancelled or closed any event pop-up window and relaunched TB again. Then, it's as if TB goes out and gets calendar info and somehow drags along one old, dismissed event. To a small degree, I see some of bug 1727123 happening in tandem with this issue. Meaning, Dismiss all sometimes will dismiss 1/2 or 3/4 of the reminders and I'll have to press it a couple times more to clear the queue so to speak.

Don't want to overlap bugs here but, for me, there seems to be a bit of both happening. I'm currently on 100.0 b2. You want me to test with 100.0 b3 when it releases?

Using 100.0b2 should be fine. You may not have to add your mail account to the new profile if you don't want to, just the calendar. You could import the events if you need to re-create them. See bug 1727123 comment 23 if you still run into it, though I do think you may be running into some other bug that causes dismiss issues.

(In reply to Lasana Murray from comment #9)

Using 100.0b2 should be fine. You may not have to add your mail account to the new profile if you don't want to, just the calendar. You could import the events if you need to re-create them. See bug 1727123 comment 23 if you still run into it, though I do think you may be running into some other bug that causes dismiss issues.

So here's something interesting and possibly gives some potential STR. I had this happen to me this morning and they way I triggered it was:

  1. Computer woke from sleep, TB was running
  2. After waking from sleep, the PC froze so I had to hard power reset and restart
  3. I launch TB and then it popped up reminders for events from April 15th that I'd already dismissed

Nothing super interesting in Error Console but I am starting to think this might be related to Session Restore

11:02:39.882 1650211359882 addons.xpi WARN Checking C:\Program Files\Mozilla Thunderbird\distribution\extensions for addons
11:02:42.089 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. hiddenWindow.html
11:02:42.926 Trying to load C:\Program Files\Mozilla Thunderbird\libotr.dll OTRLib.jsm:64:11
11:02:42.958 Successfully loaded OTR library C:\Program Files\Mozilla Thunderbird\libotr.dll OTRLib.jsm:72:13
11:02:43.027 Successfully loaded OpenPGP library rnp.dll version 0.16+git20220124.f06439f7.MZLA from C:\Program Files\Mozilla Thunderbird\rnp.dll RNPLib.jsm:100:15
11:02:43.041 Found 2 public keys and 2 secret keys (2 protected, 0 unprotected) RNPLib.jsm:309:15
11:02:43.694 services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. Utils.jsm:247
11:02:44.221 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. 19 calItemBase.js:431:30
11:03:02.904 tb.account.size_on_disk - Attempted to set the scalar to an incompatible value. 12
11:03:02.905 tb.account.size_on_disk - Truncating float/double number. 2
11:03:09.848 Unknown property ‘-moz-border-radius’. Declaration dropped. codemirror.css:244:22
11:03:10.373 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. 4 MimeMessage.jsm:621:24

I triggered it a different way this morning using my STR in https://bugzilla.mozilla.org/show_bug.cgi?id=1755576#c0 and then just closed the compose window and re-launched TB normally.

Error Console showed me the same thing as comment 6.

So, I don't know if it's related but this morning at 9AM, I had about 9 events that I'd set to for today go off and I wanted to Snooze All of them for 15 minutes, when I did so, only 1/2 the events responded to the Snooze All for 15 Minutes. I had to do the action 3 times in order to snooze all events that fired off.

Error console showed:
09:12:47.052 mail.activity: OnDownloadError: Sent Mail of <removed>@gmail.com autosync.jsm:397:16
onDownloadError resource:///modules/activity/autosync.jsm:397
_timerCallback resource:///modules/AppIdleManager.jsm:29

This might not be related to Dismiss All but it now seems Snooze All is having issues too. Shall I open a new bug?

Going to bump to 100.0 b3 and see how that behaves going forward.

Still seems to happen even with 100.0 b3.

And this morning it seems to be getting worse and almost now seems to be tying in with bug 1765995 behavior.

Error console spit out this today:

19:18:49.018 NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] LoginManagerChild.jsm:194
observe resource://gre/modules/LoginManagerChild.jsm:194
handleEnter chrome://global/content/elements/autocomplete-input.js:580
addressInputOnBeforeHandleKeyDown chrome://messenger/content/messengercompose/addressingWidgetOverlay.js:765
onBeforeHandleKeyDown chrome://messenger/content/messengercompose/MsgComposeCommands.js:4534
handleKeyDown chrome://global/content/elements/autocomplete-input.js:474
AutocompleteInput chrome://global/content/elements/autocomplete-input.js:40

19:18:58.536 Uncaught TypeError: aDocumentNode.cardDetails is undefined msgHdrView.js:1609:1
UpdateExtraAddressProcessing chrome://messenger/content/msgHdrView.js:1609
updateExtraAddressProcessing chrome://messenger/content/mailWidgets.js:1198
OnAddressBookDataChanged chrome://messenger/content/msgHdrView.js:542
OnAddressBookDataChanged chrome://messenger/content/msgHdrView.js:536
observe chrome://messenger/content/msgHdrView.js:521
modifyCard resource:///modules/AddrBookDirectory.jsm:476
expandRecipients chrome://messenger/content/messengercompose/MsgComposeCommands.js:8165
GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:5052
SendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:5860
doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:959
doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:1137
goDoCommand chrome://global/content/globalOverlay.js:128
oncommand chrome://messenger/content/messengercompose/messengercompose.xhtml:1

19:29:19.679 TypeError: this._idleService is undefined imCore.jsm:142:20
_checkIdle resource:///modules/imCore.jsm:142
observe resource:///modules/imCore.jsm:112

05:20:51.032 carddav.sync: Sync with server failed. CardDAVDirectory.jsm:629:11
syncWithServer resource:///modules/CardDAVDirectory.jsm:629

05:20:51.053 uncaught exception: 2147500036

05:20:51.073 TypeError: this.uri is undefined calCachedCalendar.js:311:1
onResult resource:///components/calCachedCalendar.js:311
doWebDAVSync resource:///modules/caldav/CalDavRequestHandlers.jsm:438

05:20:51.093 NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "this.uri is undefined" {file: "resource:///components/calCachedCalendar.js" line: 311}]'[JavaScript Error: "this.uri is undefined" {file: "resource:///components/calCachedCalendar.js" line: 311}]' when calling method: [calIGenericOperationListener::onResult] CalDavRequestHandlers.jsm:438

The last two items repeated twice again. In order to dismiss the event reminder, I I had to click discard and reload but then it disappeared from TB. My Android device popped up the reminder just fine and I was able to edit and re-save the event again.

And it seems I am getting a PUT / "Status 409 Conflict" error on these now.

And the hits keep coming. Happened after I changed an event that fired off this morning @ 9AM to tomorrow @ 5PM. The same event that fired off @ 9AM (that I just moved to tomorrow popped up once again). The fix for this issue either caused or is now a byproduct and is now causing 1765995.

Error console gave me this.

10:20:58.959 [Exception... "Component returned failure code: 0x805e0006 (NS_ERROR_CONTENT_BLOCKED) [nsIChannel.asyncOpen]" nsresult: "0x805e0006 (NS_ERROR_CONTENT_BLOCKED)" location: "JS frame :: resource:///modules/FaviconLoader.jsm :: load :: line 191" data: no] FaviconLoader.jsm:191:20
load resource:///modules/FaviconLoader.jsm:191
load resource:///modules/FaviconLoader.jsm:581
loadIcons resource:///modules/FaviconLoader.jsm:659
iconTask resource:///modules/FaviconLoader.jsm:635
_runTask resource://gre/modules/DeferredTask.jsm:344
_timerCallback resource://gre/modules/DeferredTask.jsm:315
_timerCallback resource://gre/modules/DeferredTask.jsm:334
callback resource://gre/modules/DeferredTask.jsm:189

10:21:41.824 NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] LoginManagerChild.jsm:194
observe resource://gre/modules/LoginManagerChild.jsm:194
handleEnter chrome://global/content/elements/autocomplete-input.js:580
addressInputOnBeforeHandleKeyDown chrome://messenger/content/messengercompose/addressingWidgetOverlay.js:765
onBeforeHandleKeyDown chrome://messenger/content/messengercompose/MsgComposeCommands.js:4534
handleKeyDown chrome://global/content/elements/autocomplete-input.js:474
AutocompleteInput chrome://global/content/elements/autocomplete-input.js:40

The "this.uri is undefined" issue was fixed in bug 1765247

Attached image not-fixed.png

(In reply to Magnus Melin [:mkmelin] from comment #17)

The "this.uri is undefined" issue was fixed in bug 1765247

Maybe it was fixed but this bug still seems present. Got hit this morning.

05:54:37.705 TypeError: calAlarmWindow.removeWidgetFor is not a functionCalAlarmMonitor.jsm:205:24
mAlarms resource:///modules/CalAlarmMonitor.jsm:205
filter self-hosted:201
onRemoveAlarmsByItem resource:///modules/CalAlarmMonitor.jsm:201
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
removeAlarmsForItem resource:///modules/CalAlarmService.jsm:495
findAlarms resource:///modules/CalAlarmService.jsm:747
run resource:///modules/calendar/utils/calIteratorUtils.jsm:78

05:54:37.705 [Exception... "[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]'[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]' when calling method: [calIAlarmServiceObserver::onRemoveAlarmsByItem]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource:///modules/calendar/utils/calDataUtils.jsm :: notify :: line 38" data: yes] calDataUtils.jsm:38:23
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
removeAlarmsForItem resource:///modules/CalAlarmService.jsm:495
findAlarms resource:///modules/CalAlarmService.jsm:747
run resource:///modules/calendar/utils/calIteratorUtils.jsm:78

05:54:50.933 TypeError: foundItem is nullCalDavCalendar.jsm:1040:24

And if I try and do Dismiss all and then choose Submit My Changes Anyway, error console spits out:

06:05:42.773 PUT https://apidata.googleusercontent.com/caldav/v2/<removed>@gmail.com/events/74f357eb-5add-4b3c-acba-4502f2e07f21.ics [HTTP/3 409 Conflict 137ms]

And if I try and do Dismiss all and then choose Discard My Changes And Reload, error console spits out:

06:07:53.182 PUThttps://apidata.googleusercontent.com/caldav/v2/<removed>@gmail.com/events/a6b46728-0aee-4251-a392-96e5f0ce5096.ics
[HTTP/3 412 Precondition Failed 121ms]

I get stuck and the event reminder window is stuck. All I can do is click the close button [X].

In this case, I shut down and restarted TB and found the offending event and edited it to fire off on the 29th now. The event reminder window shut up for now. =)

I don't want to further belabor this bug but noticed one other really, really odd thing. I'd created an event for today (the 28th) to fire off later @ 9AM. It created the event with a date of the > 27th < though! A Ctrl-Shift-C showed the highlighted date of the 28th on the mini calendar in the top left corner but the 27th was shown highlighted blue. Another restart of TB seemed to fix that.

Maybe related to that fix from a few months ago to remedy the issue of the calendar date not moving forward after midnight?

I see what's happening now. If you Ctrl-Shift-C and, using the calendar at top-left, do a New Event (for some future date), then that event will be for that future date. If you try the same thing for the mini-month view calendar, it doesn't work. Akin to what I mention in bug 1739823. Seems that calendar in mini-month is acting different than the one in the Ctrl-Shift-C view. Should I do a new bug for this?

Yes, please file a new bug.

(In reply to Magnus Melin [:mkmelin] from comment #21)

Yes, please file a new bug.

Will do. What's the proper name for the calendar in the Ctrl-Shift-C view?

The calendar tab Day|Week|Multiweek|Month view?

(In reply to Magnus Melin [:mkmelin] from comment #23)

The calendar tab Day|Week|Multiweek|Month view?

Filed bug 1766835.

Earlier today, I set up four events to fire off at 6PM CST. They fired off fine on my Android but on my home PC, the events aren't even showing up. I re-synched the calendar three times and still nothing. I restarted TB 3 times and still nothing. It's not picking them up. In Android, I edited the events to go off at 7:30PM. Still nothing in TB after a re-synch and restarting 3 times. I can't be the only one seeing this on 100 b4.

This appears to be ok now as of TB 101 b1.

And now seems to be back as of 101.0b4.

So it having been a long holiday weekend here in the US, I figured I'd see some action around this issue. I had many events scheduled over the weekend and boy did TB deliver. I'm seeing some newer errors showing up as I either Dismiss / Dismiss All or close the event reminder window via [X] to let TB catch up on all the events I'd Dismissed at home over the weekend. TB still fired off event reminders from Thursday I'd Dismissed at home. Newer errors below:

08:50:01.218 NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDocShell.domWindow] window-global.js:420
get window resource://devtools/server/actors/targets/window-global.js:420
_getWindowForBrowserConsole resource://devtools/server/actors/webconsole.js:269
get global resource://devtools/server/actors/webconsole.js:247
makeDebuggeeValue resource://devtools/server/actors/webconsole.js:470
arguments resource://devtools/server/actors/webconsole.js:2058
map self-hosted:180
prepareConsoleMessageForRemote resource://devtools/server/actors/webconsole.js:2057
onConsoleAPICall resource://devtools/server/actors/webconsole.js:1793
onConsoleAPICall self-hosted:1115
observe resource://devtools/server/actors/webconsole/listeners/console-api.js:106
CS_recordEvent resource://gre/modules/ConsoleAPIStorage.jsm:123
sendConsoleAPIMessage resource://gre/modules/Console.jsm:587
createDumper resource://gre/modules/Console.jsm:490
<anonymous> self-hosted:1115
onStopRequest resource:///modules/caldav/CalDavRequestHandlers.jsm:852
onStopRequest resource:///modules/caldav/CalDavRequest.jsm:554

And also:

08:50:00.768
Exception { name: "NS_ERROR_NOT_AVAILABLE", message: "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDocShell.domWindow]", result: 2147746065, filename: "resource://devtools/server/actors/targets/window-global.js", lineNumber: 420, columnNumber: 0, data: null, stack: "get window@resource://devtools/server/actors/targets/window-global.js:420:5\n_windowReady@resource://devtools/server/actors/targets/window-global.js:1412:24\nwatch@resource://devtools/server/actors/targets/window-global.js:1680:25\n_onDocShellCreated/<@resource://devtools/server/actors/targets/window-global.js:954:32\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22\n", location: XPCWrappedNative_NoHelper }

columnNumber: 0
​data: null
​filename: "resource://devtools/server/actors/targets/window-global.js"
​lineNumber: 420
​location: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: Getter, name: Getter, … }
​message: "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDocShell.domWindow]"
​name: "NS_ERROR_NOT_AVAILABLE"
​result: 2147746065
​stack: "get window@resource://devtools/server/actors/targets/window-global.js:420:5\n_windowReady@resource://devtools/server/actors/targets/window-global.js:1412:24\nwatch@resource://devtools/server/actors/targets/window-global.js:1680:25\n_onDocShellCreated/<@resource://devtools/server/actors/targets/window-global.js:954:32\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22\n"

<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }
ThreadSafeDevToolsUtils.js:82:13
reportException resource://devtools/shared/ThreadSafeDevToolsUtils.js:82
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:109

https://searchfox.org/comm-central/rev/7923bcceab6029d38d0be76a021424b300997dbe/calendar/providers/caldav/modules/CalDavRequestHandlers.jsm#852

I think that error wasn't handled properly since the logging function failed for some reason. (Without verbose logging it may have been handled correctly.)
Calendar logging should be converted to using console.createInstance instead of using Console.jsm. Lots of junk in calUtils.jsm...

Just hit this again on 102.0b1. Error console spit out:

15:31:45.039 TypeError: calAlarmWindow.removeWidgetFor is not a function CalAlarmMonitor.jsm:205:24
mAlarms resource:///modules/CalAlarmMonitor.jsm:205
filter self-hosted:198
onRemoveAlarmsByItem resource:///modules/CalAlarmMonitor.jsm:201
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
removeAlarmsForItem resource:///modules/CalAlarmService.jsm:495
findAlarms resource:///modules/CalAlarmService.jsm:747
run resource:///modules/calendar/utils/calIteratorUtils.jsm:78

followed by..

15:31:45.039 [Exception... "[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]'[JavaScript Error: "calAlarmWindow.removeWidgetFor is not a function" {file: "resource:///modules/CalAlarmMonitor.jsm" line: 205}]' when calling method: [calIAlarmServiceObserver::onRemoveAlarmsByItem]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource:///modules/calendar/utils/calDataUtils.jsm :: notify :: line 38" data: yes] calDataUtils.jsm:38:23
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
removeAlarmsForItem resource:///modules/CalAlarmService.jsm:495
findAlarms resource:///modules/CalAlarmService.jsm:747
run resource:///modules/calendar/utils/calIteratorUtils.jsm:78

(In reply to Arthur K. [He/Him] from comment #30)

Just hit this again on 102.0b1. Error console spit out:
...
Are you able to remove the calendar and add it again (with the events) to see if this continues? I know that's easier with remote calendars than local ones.

Flags: needinfo?(thee.chicago.wolf)

Yowza, when I unsubscribed, restarted FF and re-subscribed to the "offending" calendar I suddenly got 22 reminders that popped up dating all the way back to May 23rd. Nothing in Error Console of note.

Flags: needinfo?(thee.chicago.wolf)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: