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
Wolfgang_S
(Wolfgang_S)
September 13, 2020, 1:28pm
2
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.
thomas_w
(Thomas Wiedmann)
September 13, 2020, 1:28pm
3
I had a similar mistake. just restart OH after the clean cache simply helped me.
OH 2.5.8
OpenHabian
Problem:
after I have cleared the cache of OH, one Item IsModulHueActiv is no more found in a rule
.openhab-cli
[11:53:48] openhabian@openhab-server:~$ sudo /bin/systemctl stop openhab2.service
[11:54:43] openhabian@openhab-server:~$ sudo openhab-cli clean-cache
This command will delete the temporary files within openHAB.
May resolve issues with addon installation and configuration.
The next start of openHAB will take a bit longer.
Okay to Continue? [y/N]: y
[11:57:50]…
I rebooted way to more since this morning
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