Since upgrading to openHAB 2.5.0~S1493-1, I frequently see the following on my log when I have the BasicUI open and I issue a command to one of my devices:
2019-01-10 06:09:28.938 [ERROR][ items-1][e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.
I occasionally saw these errors with 2.5.0-S1491, but they seemed to have stopped at some point. I am trying a restart to see if these errors reoccur.
Interesting, after restarting OH, I am not seeing the error when using the BasicUI. Must be an OH startup issue. Qualitatively, OH startup has been much improved since the later 2.4.0 snapshots, but it still needs improvement. I am running openHABian on an RPi 3B here.
is part of my OH upgrade sequence, so cache and tmp had already been cleared the first time I started the system after upgrading to 2.5.0-S1493-1. I just wish it wasn’t necessary to restart after an initial start following an upgrade, or sometimes well after an upgrade has been installed.
2019-08-23 09:20:36.958 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.
This error logs periodically when the Browser Basic UI sitemaps is open and only once at the Android openHAB app when starting lunching it.
I posted this because it may help to repeat or debug this behaviour. Now I will try to solve it with recommendations.
conclusion: in my version OH 2.4 the ERROR log described before and the continuous disconnects of basic UI sitemaps started after “openhab-cli clean-cache” and was solved with a single “reboot”.
I am seeing this error when running Basci UI in the browser (firefox) on Debian 9
OpenHAB version 2.5M3
16:08:05.776 [ERROR] [ge.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.
openhab is running on a battery backup powered system and only gets restarted when I do so. At this point the host system has been running for over 6 weeks.
i am receiving also those errors on the actual openHAB 2.5.0-1 (Release Build):
==> /var/log/openhab2/openhab.log <==
2019-12-31 09:53:06.377 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.
I already cleared the cache several times with
sudo systemctl stop openhab2
sudo openhab-cli clean-cache
sudo reboot
and also with
sudo systemctl stop openhab2
sudo rm -rf /var/lib/openhab2/{cache,tmp}/*
sudo reboot
the rest of the system seems stable to me - like it was before my upgrade from the last snapshot build