caldavCommand and radicale

Hi,

i tried to set up caldav-binding in combination with radicale cladav server on same host. The binding seems to have connection to the set calendar (i see appropriate GET requests in radicale logs) but doesn’t load any events. Instead I get a strange error in the logs which i can’t explain:

2017-05-14 20:50:17.689 [ERROR] [caldav.internal.job.EventReloaderJob] - error while loading calendar entries: null java.lang.NullPointerException at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:357)[202:org.openhab.io.caldav:1.9.0] at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:315)[202:org.openhab.io.caldav:1.9.0] at org.openhab.io.caldav.internal.job.EventReloaderJob.execute(EventReloaderJob.java:134)[202:org.openhab.io.caldav:1.9.0] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[104:org.eclipse.smarthome.core.scheduler:0.9.0.b4] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)[104:org.eclipse.smarthome.core.scheduler:0.9.0.b4]
caldavio.cfg (username and password are missing because i use radicale without authentication)
caldavio:heatingCalendar:url=http://localhost:5232/openhab/heating.ics/ caldavio:heatingCalendar:reloadInterval=5 caldavio:heatingCalendar:preloadTime=1440 caldavio:heatingCalendar:lastModifiedFileTimeStampValid=False
caldavCommand.cfg
readCalendars=heatingCalendar

my calendar events look like this:
BEGIN:<itemname>:'1' END:<itemname>:'0'
Any ideas what could be the culprit?

I just noticed that the binding is actually executing some commands:
2017-05-15 21:34:29.508 [INFO ] [aldav_command.internal.CalDavBinding] - sending command '1' to item 'iThermostat_state' from event '20170505T181754Z-1173-1000-1-2@ZBook15u(Heizen Komfort@15.05.2017/15:00-15.05.2017/23:00)' 2017-05-15 21:34:34.524 [ERROR] [caldav.internal.job.EventReloaderJob] - error while loading calendar entries: null java.lang.NullPointerException at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:357)[192:org.openhab.io.caldav:1.9.0] at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:315)[192:org.openhab.io.caldav:1.9.0] at org.openhab.io.caldav.internal.job.EventReloaderJob.execute(EventReloaderJob.java:134)[192:org.openhab.io.caldav:1.9.0] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[104:org.eclipse.smarthome.core.scheduler:0.9.0.b4] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)[104:org.eclipse.smarthome.core.scheduler:0.9.0.b4]
But this is some old event data which isn’t in the calendar anymore as i deleted it some days ago. Events which are actually in the calendar are not executed.
Also this old event data is only executed “BEGIN:”-commands, “END:”-command is not triggered.
Is there any possibility to clear the old, “cached” calendar data?

Regards, Hans