It looks like I’m getting the above Error all the time when using any button or switch on my BasicUI. On the UI the message “Offline: waiting for connection to become available” is displayed while I’m getting the error in the log.
Everything is displayed and even refreshed. But the message “Offline: waiting for connection to become available” is displayed every 20-30 seconds for up to 10 seconds and the following message is logged in openhab.log:
[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.
So far, it hasn’t magically disappeared, even after a few restarts
Have the same issue, I think trying to setup HabPanel could have caused this for me, no clue why!
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
Same here and seems to be related in my case when using the browser in Eclipse Smarthome Designer whilst using the basic UI. Eclipse also reports: “Offline: waiting for connection to become available”. As soon as I stop using the basic UI in Eclipse the messages are gone.
It seems like the error only occours when an item, which is visible in the sitemap, gets updated.
And it does not matter if the update is triggered by the user in the basicUI or by an update interval of things.
My example with the NTP binding:
11:25:40.373 [INFO ] [smarthome.event.ItemStateChangedEvent] - CurrentDate changed from 2017-12-01T11:25:15.362+0100 to 2017-12-01T11:25:40.365+0100
11:25:40.379 [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.
11:26:05.386 [INFO ] [smarthome.event.ItemStateChangedEvent] - CurrentDate changed from 2017-12-01T11:25:40.365+0100 to 2017-12-01T11:26:05.372+0100
11:26:05.396 [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.
In BasicUI i always get the message “Offline: waiting for connection to become available” when the error occours.
After removing the sitemap element:
11:33:35.434 [INFO ] [smarthome.event.ItemStateChangedEvent] - CurrentDate changed from 2017-12-01T11:33:10.420+0100 to 2017-12-01T11:33:35.422+0100
11:34:00.488 [INFO ] [smarthome.event.ItemStateChangedEvent] - CurrentDate changed from 2017-12-01T11:33:35.422+0100 to 2017-12-01T11:34:00.479+0100
11:34:25.493 [INFO ] [smarthome.event.ItemStateChangedEvent] - CurrentDate changed from 2017-12-01T11:34:00.479+0100 to 2017-12-01T11:34:25.481+0100
11:34:50.492 [INFO ] [smarthome.event.ItemStateChangedEvent] - CurrentDate changed from 2017-12-01T11:34:25.481+0100 to 2017-12-01T11:34:50.484+0100
But as expected I still get the error, when other items which are still in the sitemap are getting updated.
I did an upgrade using openhabian conf tool to openHAB 2.2.0-1 (Release Build) and I’m getting the same error messages since then - I wonder if there is there any solution available?