Items lost + error 500 after update to openHAB 2.5.8-1 (Release Build) ...backup not working :-(

Hello everyone,
I updated to 2.5.8 from 2.5.6 this morning, and Error 500 is popping in Paper UI on items now … I’m stuck
Also the restAPI

http://192.168.1.201:8080/rest/items?recursive=false
gives me

{
  "error": {
    "http-code": 500,
    "exception": {
      "class": "java.lang.NullPointerException"
    }
  }
}

The events.log and openhab.logs looks OK

Here is what I tried so far …
Clear cache and temp —> Not working
Restore backup with openhab-cli —> Not working
Downgrade to 2.5.6-1 --> Not working (items are back, but almost everything else is broken)
Check the items in the console with smarthomes:items list --> Nothing special

There must be some way to have more detailed logs somewhere ?

Thank you
Aymeric

Did you do reboots in between your trials ?
E.g. cleaning cache requires up to 2 or 3 reboots.
Did you wait long enough after reboot ? It takes 20 to 40 minutes after a reboot but this heavily depends on the used hardware.

I had a similar mistake. just restart OH after the clean cache simply helped me.

I rebooted way to more since this morning :unamused:

My guess is some item is causing this

For exemple, the restAPI for one item is working fine

http://192.168.1.201:8080/rest/items/SDR_Acurite/state
gives a good result

And everything else seems to work ok.
Only the

http://192.168.1.201:8080/rest/items?recursive=false

Is not working, and it used in paperUI to populate the items list

Not sure if its a REST issue or an ITEM issue.

I’ll try to run with the debug parameters …

Well something is wrong with the links

smarthome:links clear

in the console solve the issue.
I’ll try to edit the file

org.eclipse.smarthome.core.thing.link.ItemChannelLink.json

but I need to restart the service every time I edit the file ?

Finally, everytime I linked the RSSI properties to the RSSI item in my SOMFY Tahoma binding, it makes openhab crash.

Just removed the links editing org.eclipse.smarthome.core.thing.link.ItemChannelLink.json

Aymeric