M4 lost lampbulb images from location badges. Counter (if more than 1 lamp turned on) shows but without icon. This is something with my instance or known bug?
2021-05-05 17:21:01.905 [WARN ] [internal.handler.InnogyBridgeHandler] - Error starting websocket.
java.util.concurrent.ExecutionException: org.eclipse.jetty.websocket.api.UpgradeException: Failed to upgrade to websocket: Unexpected HTTP Response Status Code: 404 Site Not Found
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) ~[?:?]
My system has .rules file, and (new) in M4 I get "There is no context to infer the closure’s argument types from" messages (see below) on start up. There are 40 rules in the .rules file, but only 15 such messages, so since the log entry provides no context (e.g. line number or the rule label) there is no clue which 15 of the 40 rules have the problem…
2021-05-05 15:13:11.181 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model '24g.rules', using it anyway:
There is no context to infer the closure's argument types from. Consider typing the arguments or put the closures into a typed context.
... repeated 15 times
Not necessarily, it might be pickier now about things that it let slide before.
Example someGroup.members.forEach[ x | { ... process x ... } ]
At validation time, it is not possible to guess what kind of Item x will be - a Switch type perhaps, or a DateTime, or?
That means the validator can’t properly validate the processing code, is it doing legitimate things with/to x?
At runtime each member, each x, will of course be whatever it be, and you’ll either process it appropriately or blow up with an error.
To satisfy the validator, you might do something like someGroup.members.forEach[ GenericItem x | { ... process x ... } ]
By describing the type, even as a vague default type, the validator can now work on the process.
Synology/Docker update from openhab-3.1.0.M3-debian to openhab-3.1.0.M4-debian.
Opening Basic-UI…
Error in Basic-UI
SSE-Abonnement fehlgeschlagen: Im Fallback-Modus ausgeführt
OH-log errors:
2021-05-07 11:51:30.263 [WARN ] [apache.cxf.jaxrs.utils.ResourceUtils] - No resource methods have been found for resource class org.apache.cxf.jaxrs.impl.ResponseImpl
2021-05-07 11:51:30.264 [ERROR] [org.apache.cxf.jaxrs.JAXRSInvoker ] - No subresource locator found for path /
UI on Port 8080 is not loading;
No charts within basic UI
openHAB Android-app can not connect: HTTP-Code 405
rules are running… items are refreshing…
Switching back to M3 - no errors; tried to update three times, always the same, restarting OH does not make a difference?!
the same here after upgrade from 3.0 to 3.1 M4
direct after start i can access the web ui, after short time nothing works anymore
17:29:30.506 [WARN ] [.apache.cxf.jaxrs.utils.ResourceUtils] - No resource methods have been found for resource class org.apache.cxf.jaxrs.impl.ResponseImpl
17:29:30.511 [ERROR] [org.apache.cxf.jaxrs.JAXRSInvoker ] - No subresource locator found for path /
i think i found the problem
do u use the hue emulation addon?
uninstall it
if you cant
service openhab stop
check if its present in /etc/openhab/services/addons.cfg and comment with # out
nano /var/lib/openhab/config/org/openhab/addons.config
delete the line with hueemulation
service openhab start
its a problem by the hue emulation
if i uninstall it and reinstall via jar file i get this https://pastebin.com/MqC99Rjd
followed by the same error which kills rest api and basic ui
01:05:41.658 [WARN ] [.apache.cxf.jaxrs.utils.ResourceUtils] - No resource methods have been found for resource class org.apache.cxf.jaxrs.impl.ResponseImpl
01:05:41.659 [ERROR] [org.apache.cxf.jaxrs.JAXRSInvoker ] - No subresource locator found for path /
please can a dev fix this?
without hue emulation openhab is useless for my home