CalDAV Binding "cannot get event-container..."

Hi there!

I have been using the CalDAV AddOn/Binding to control my 4 radiators for a few months now. Sometimes the event doesn’t arrive. I found the following error in the log:

2019-03-15 20:05:00.003 [ERROR] [nhab.io.caldav.internal.job.EventJob] - error executing event job
org.quartz.JobExecutionException: cannot get event-container for config: OpenHAB and eventId: HTAMSGP4DQG8UCZKYE8LIC
	at org.openhab.io.caldav.internal.job.EventJob.execute(EventJob.java:46) [218:org.openhab.io.caldav:1.13.0]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [107:org.eclipse.smarthome.core.scheduler:0.10.0.oh240]
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [107:org.eclipse.smarthome.core.scheduler:0.10.0.oh240]

I tried to delete the calendar in my NextCloud and recreate it with the 4 entries. The problem persists. In the debug log the following is logged when reloading the calendars:

2019-03-15 20:18:15.000 [DEBUG] [caldav.internal.job.EventReloaderJob] - running EventReloaderJob for config : OpenHAB`
2019-03-15 20:18:15.011 [DEBUG] [caldav.internal.job.EventReloaderJob] - loading events for config: OpenHAB
2019-03-15 20:18:15.015 [DEBUG] [caldav.internal.job.EventReloaderJob] - old eventcontainer -- id : L63HQW50XRCB5GGC7UY8QN -- filename : Nextcloud-01YD0ZE4YTUTN8BB6Q8KCG -- calcuntil : 2019-03-15T22:18:16.047+01:00 -- lastchanged : 2019-03-08T08:47:07.000+01:00 -- ishistoric : false
2019-03-15 20:18:15.019 [DEBUG] [caldav.internal.job.EventReloaderJob] - old eventlist contains the event : Ht_B_Radiator -- deb : 2019-03-15T06:00:00.000+01:00 -- fin : 2019-03-15T22:00:00.000+01:00 -- lastchanged 2019-03-08T08:41:26.000+01:00
2019-03-15 20:18:15.022 [DEBUG] [caldav.internal.job.EventReloaderJob] - old eventcontainer -- id : L4IOICGGBYXZ6QZJ6HI28 -- filename : Nextcloud-9C5XU2GDAEYSK6PTXX24J -- calcuntil : 2019-03-15T22:18:17.269+01:00 -- lastchanged : 2019-03-08T08:50:21.000+01:00 -- ishistoric : false
2019-03-15 20:18:15.024 [DEBUG] [caldav.internal.job.EventReloaderJob] - old eventlist contains the event : Ht_WZ_Radiator -- deb : 2019-03-15T12:00:00.000+01:00 -- fin : 2019-03-15T22:00:00.000+01:00 -- lastchanged 2019-03-08T08:49:01.000+01:00
2019-03-15 20:18:15.598 [DEBUG] [caldav.internal.job.EventReloaderJob] - loading resource: /remote.php/dav/calendars/titus/openhab/Nextcloud-H8ALHDPXOHLX1IZ41XM1CI.ics (FSchangedTS not valid)
2019-03-15 20:18:16.076 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing event 'Ht_SZ_Radiator'
2019-03-15 20:18:16.939 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing periods...
2019-03-15 20:18:16.944 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - begin timer scheduled for event 'HTAMSGP4DQG8UCZKYE8LIC(Ht_SZ_Radiator@16.03.2019/06:05-16.03.2019/20:05)' @ Sat Mar 16 06:05:00 CET 2019
2019-03-15 20:18:16.948 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - end timer scheduled for event 'HTAMSGP4DQG8UCZKYE8LIC(Ht_SZ_Radiator@16.03.2019/06:05-16.03.2019/20:05)' @ Sat Mar 16 20:05:00 CET 2019
2019-03-15 20:18:16.959 [DEBUG] [caldav.internal.job.EventReloaderJob] - loading resource: /remote.php/dav/calendars/titus/openhab/Nextcloud-XATX67L1YQR2MAHKI0LUB5.ics (FSchangedTS not valid)
2019-03-15 20:18:17.242 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing event 'Ht_K_Radiator'
2019-03-15 20:18:17.828 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing periods...
2019-03-15 20:18:17.832 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - begin timer scheduled for event '0A5E0O377RWKZCIOXA8FFKK(Ht_K_Radiator@16.03.2019/06:10-16.03.2019/20:10)' @ Sat Mar 16 06:10:00 CET 2019
2019-03-15 20:18:17.835 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - end timer scheduled for event '0A5E0O377RWKZCIOXA8FFKK(Ht_K_Radiator@16.03.2019/06:10-16.03.2019/20:10)' @ Sat Mar 16 20:10:00 CET 2019
2019-03-15 20:18:17.844 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - return event list for CalDavQuery [calendarIds=[OpenHAB], from=2019-03-15T20:18:17.844+01:00, to=null, sort=null, filterName=null] with 4 entries
2019-03-15 20:18:17.846 [DEBUG] [caldav.internal.job.EventReloaderJob] - jobs scheduled : 
2019-03-15 20:18:17.849 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-0A5E0O377RWKZCIOXA8FFKK(Ht_K_Radiator@16.03.2019/06:10-16.03.2019/20:10)-0 - [groupName] : event-end - Sat Mar 16 20:10:00 CET 2019
2019-03-15 20:18:17.851 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-L4IOICGGBYXZ6QZJ6HI28(Ht_WZ_Radiator@15.03.2019/12:00-15.03.2019/22:00)-0 - [groupName] : event-end - Fri Mar 15 22:00:00 CET 2019
2019-03-15 20:18:17.853 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-HTAMSGP4DQG8UCZKYE8LIC(Ht_SZ_Radiator@16.03.2019/06:05-16.03.2019/20:05)-1 - [groupName] : event-end - Sat Mar 16 20:05:00 CET 2019
2019-03-15 20:18:17.855 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-HTAMSGP4DQG8UCZKYE8LIC(Ht_SZ_Radiator@16.03.2019/06:05-16.03.2019/20:05)-0 - [groupName] : event-end - Sat Mar 16 20:05:00 CET 2019
2019-03-15 20:18:17.858 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-0A5E0O377RWKZCIOXA8FFKK(Ht_K_Radiator@16.03.2019/06:10-16.03.2019/20:10)-1 - [groupName] : event-end - Sat Mar 16 20:10:00 CET 2019
2019-03-15 20:18:17.860 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-L63HQW50XRCB5GGC7UY8QN(Ht_B_Radiator@15.03.2019/06:00-15.03.2019/22:00)-0 - [groupName] : event-end - Fri Mar 15 22:00:00 CET 2019
2019-03-15 20:18:17.862 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : OpenHAB - [groupName] : event-reloader - Fri Mar 15 21:18:14 CET 2019
2019-03-15 20:18:17.864 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-HTAMSGP4DQG8UCZKYE8LIC(Ht_SZ_Radiator@16.03.2019/06:05-16.03.2019/20:05)-0 - [groupName] : event-start - Sat Mar 16 06:05:00 CET 2019
2019-03-15 20:18:17.866 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-0A5E0O377RWKZCIOXA8FFKK(Ht_K_Radiator@16.03.2019/06:10-16.03.2019/20:10)-1 - [groupName] : event-start - Sat Mar 16 06:10:00 CET 2019
2019-03-15 20:18:17.868 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-0A5E0O377RWKZCIOXA8FFKK(Ht_K_Radiator@16.03.2019/06:10-16.03.2019/20:10)-0 - [groupName] : event-start - Sat Mar 16 06:10:00 CET 2019
2019-03-15 20:18:17.870 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-HTAMSGP4DQG8UCZKYE8LIC(Ht_SZ_Radiator@16.03.2019/06:05-16.03.2019/20:05)-1 - [groupName] : event-start - Sat Mar 16 06:05:00 CET 2019

I’d be happy if someone could help me.

1 Like

Did you manage to solve it? I am seeing the same problem.
Based on what I see, the event does arrive, but the error is still worrying.
Thank you!

No, not really. I’m using hard coded cron schedules in my rule scripts instead. Although the CalDAV binding was a nice feature.