I/O error has occurred while writing a response message entity to the container output stream

Hello all!

can anybody help me with this error message log? Any possibility to solve this?

Thank you very much!

Marcus

2020-05-14 22:34:41.504 [ERROR] [ersey.server.ServerRuntime$Responder] - An I/O error has occurred while writing a response message entity to the container output stream.

org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException

at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:92) ~[?:?]

at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[bundleFile:?]

at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) ~[bundleFile:?]

at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711) [bundleFile:?]

at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) [bundleFile:?]

at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) [bundleFile:?]

at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) [bundleFile:?]

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [bundleFile:?]

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [bundleFile:?]

at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [bundleFile:?]

at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [bundleFile:?]

at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [bundleFile:?]

at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [bundleFile:?]

at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [bundleFile:?]

at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [bundleFile:?]

at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [bundleFile:?]

at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [bundleFile:?]

Very often it’s to do with a UI.
The UIs “register” with an openHAB server to get updates e.g. Item states.
When that breaks down, errors like this appear.
Example; something has been edited or reinitialized at openHAB, but an existing UI instance is still trying to communicate with something that no longer exists.
Fix can be as simple as refreshing a browser running a UI.