I have an istance of OH running the latest snapshot available;
I update it regularly almost everyday.
In the latest snapshot I have the following error:
[ERROR] [re.storage.json.internal.JsonStorage] - Couldn’t deserialize value ‘org.openhab.core.storage.json.internal.StorageEntry@54cc3ff4’. Root cause is: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was NUMBER at path $.timestamp
It’s a regression. There is a PR with a fix in review:
When that is merged, you might have to edit your userdata/org.openhab.core.config.discovery.DiscoveryResult.json file, depending on the outcome of that PR. I can assist if it will be needed.
The PR is now merged and will be included in next snapshot. @livio - if you are okay with losing the inbox contents, the fix provided by @crnjan will be the simplest.
what means “losing the inbox content”?
lose things/items added via autodiscover function, all the items that are not added via a .item txt file or simply the new device discovered?
This happened to me just now. I updated from snapshot several days ago to openHAB 4.2.0 (Build #3830). This build 3830 has this error. I emptied the file org.openhab.core.config.discovery.DiscoveryResult.json to fix it as per the advice above.