We have some clues. It only happens on startup so it likely has something to do with restoreOnStartup.
The error is complaining about a query which further supports this being a restoreOnStartup error.
Do you have any Items that remain NULL after OH restarts? That will tell you which Items are having problems.
What happens when you try to query the database from a rule (e.g. call lastUIpdate) or the REST API? For the most part MapDB spends most of its time writing. It only reads (i.e. queries) on restoreOnStartup or when you do so explicitly. If it fails to query from a rule or the REST API then we know MapDB in general is having problems reading.
If not we know there is something specific to when openHAB is starting that is causing problems.
So I checked my influxdb.persist and there is no item with restoreOnStartup (in Openhab 2 I had some with restoreOnStartup).
All Items in this file have a value after a reboot, but maybe the exceptions are thrown before I was able to check the items.
I also have no rule with lastUpdate. So I am not sure where should it come from.
@rlkoshak
are there specific Items I could check for mapdb?
Or should I check all items?
Openhab says I have 1700 Items so it is hard to check which items are affected.
I don’t know. You presumably installed and configured MapDB. What Items are it configured to restore? Can you query states from a rule or the REST API on MapDB?
It’s a persistence add-on just like InfluxDB. You have to install it. It doesn’t come by default.
So I am not sure why I activated this. I am not aware that this is neccessary.
Maybe I just wanted to activate the map transformation.
I removed it and the error is gone.
Thank you for your support.