Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
99 kB
4
Indexable
Never
23-Sep-2022 08:27:16.304 INFO [pool-61-thread-87] com.nemotec.utils.io.FileUtils.checkClientAbortException null
        org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:328)
                at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:291)
                at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.flush(ResponseWriter.java:306)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.flush(CommittingOutputStream.java:263)
                at java.base/java.util.zip.DeflaterOutputStream.flush(DeflaterOutputStream.java:282)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.flush(WriterInterceptorExecutor.java:281)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:204)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:671)
                at org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:661)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.flush(Http11OutputBuffer.java:655)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.flush(ChunkedOutputFilter.java:166)
                at org.apache.coyote.http11.Http11OutputBuffer.flush(Http11OutputBuffer.java:256)
                at org.apache.coyote.http11.Http11Processor.flush(Http11Processor.java:1442)
                at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:407)
                at org.apache.coyote.Response.action(Response.java:206)
                at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:324)
                ... 49 more
23-Sep-2022 08:27:16.305 SEVERE [pool-61-thread-82] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.IllegalStateException: The request associated with the AsyncContext has already completed processing.
                at org.apache.catalina.core.AsyncContextImpl.check(AsyncContextImpl.java:522)
                at org.apache.catalina.core.AsyncContextImpl.complete(AsyncContextImpl.java:90)
                at org.glassfish.jersey.servlet.async.AsyncContextDelegateProviderImpl$ExtensionImpl.complete(AsyncContextDelegateProviderImpl.java:102)
                at org.glassfish.jersey.servlet.internal.ResponseWriter.commit(ResponseWriter.java:173)
                at org.glassfish.jersey.server.ContainerResponse.close(ContainerResponse.java:390)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:710)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
23-Sep-2022 08:27:16.311 SEVERE [pool-61-thread-87] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 08:27:16.515 SEVERE [pool-61-thread-84] com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1 null
        ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:16.521 SEVERE [pool-61-thread-84] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse An I/O error has occurred while writing a response message entity to the container output stream.
        javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:209)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                ... 42 more
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:16.523 SEVERE [pool-61-thread-84] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 08:27:16.534 SEVERE [pool-61-thread-86] com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1 null
        ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:16.538 SEVERE [pool-61-thread-86] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse An I/O error has occurred while writing a response message entity to the container output stream.
        javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:209)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                ... 42 more
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:16.540 SEVERE [pool-61-thread-86] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 08:27:16.542 SEVERE [pool-61-thread-85] com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1 null
        ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:16.544 SEVERE [pool-61-thread-85] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse An I/O error has occurred while writing a response message entity to the container output stream.
        javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:209)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                ... 42 more
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:16.545 SEVERE [pool-61-thread-85] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 08:27:17.875 SEVERE [pool-61-thread-85] com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1 null
        ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:17.880 SEVERE [pool-61-thread-85] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse An I/O error has occurred while writing a response message entity to the container output stream.
        javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:209)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:55)
                at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:37)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:113)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.GatewayWriterInterceptor.aroundWriteTo(GatewayWriterInterceptor.java:32)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at com.nemotec.utils.rest.io.SseWriterInterceptor.aroundWriteTo(SseWriterInterceptor.java:40)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
                at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
                at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder$3.run(ServerRuntime.java:860)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:892)
                at org.glassfish.jersey.server.ServerRuntime$AsyncResponder.resume(ServerRuntime.java:848)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.resumeResponse(AbstractItemServerFacade.java:283)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade.lambda$runAsync$0(AbstractItemServerFacade.java:336)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:404)
                at com.nemotec.utils.rest.BasicRESTFacade$VoidCallable.call(BasicRESTFacade.java:399)
                at com.nemotec.utils.rest.BasicRESTFacade.lambda$runAsyncCalleable$5(BasicRESTFacade.java:421)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader$1.run(Executors.java:588)
                at java.base/java.security.AccessController.doPrivileged(Native Method)
                at java.base/java.util.concurrent.Executors$PrivilegedCallableUsingCurrentClassLoader.call(Executors.java:582)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
        Caused by: ar.com.hjg.pngj.PngjOutputException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:192)
                at ar.com.hjg.pngj.PngHelperInternal.writeInt4(PngHelperInternal.java:133)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunkHeader(ChunkRaw.java:102)
                at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:89)
                at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:36)
                at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:68)
                at ar.com.hjg.pngj.ProgressiveOutputStream.write(ProgressiveOutputStream.java:37)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.deflate(CompressorStreamDeflater.java:56)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.done(CompressorStreamDeflater.java:71)
                at ar.com.hjg.pngj.pixels.CompressorStreamDeflater.close(CompressorStreamDeflater.java:78)
                at ar.com.hjg.pngj.pixels.PixelsWriter.close(PixelsWriter.java:162)
                at ar.com.hjg.pngj.pixels.PixelsWriterDefault.close(PixelsWriterDefault.java:134)
                at ar.com.hjg.pngj.PngWriter.close(PngWriter.java:310)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:118)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:47)
                at com.nemotec.utils.image.png.PNGWriter.writePNG(PNGWriter.java:43)
                at com.nemotec.service.utils.ThumbType.writeThumbBytes(ThumbType.java:62)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendThumb(DocumentItem.java:103)
                at com.nemotec.service.storage.filesystem.items.document.DocumentItem.sendContentRange(DocumentItem.java:173)
                at com.nemotec.utils.folders.AbstractItem.lambda$sendFullFile$0(AbstractItem.java:284)
                at com.nemotec.utils.rest.folders.AbstractItemServerFacade$FoldersResponse.lambda$doOutputStream$1(AbstractItemServerFacade.java:203)
                ... 42 more
        Caused by: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:371)
                at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:845)
                at org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:750)
                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:406)
                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:384)
                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
                at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
                at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)
                at java.base/java.io.FilterOutputStream.write(FilterOutputStream.java:108)
                at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:271)
                at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:190)
                ... 62 more
        Caused by: java.io.IOException: Broken pipe
                at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
                at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
                at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
                at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
                at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
                at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:142)
                at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:118)
                at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:167)
                at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.doWrite(NioEndpoint.java:1360)
                at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
                at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
                at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
                at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:632)
                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
                at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:229)
                at org.apache.coyote.Response.doWrite(Response.java:614)
                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
                ... 75 more
23-Sep-2022 08:27:17.881 SEVERE [pool-61-thread-85] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 08:27:40.733 INFO [http-nio-8080-exec-75] com.nemotec.utils.services.lookup.servlets.SimpleLookupServlet.registerService Servicio registrado 0 - NemoWebCommunityApp - 2.0 - http://localhost:8080/NMXRegisterServiceWebApp/
23-Sep-2022 08:27:40.754 SEVERE [pool-25-thread-26] com.nemotec.utils.service.LookupServiceRegistry.lambda$realRegisterService$0 Error al registrar servicio Info{name=NemoWebCommunityApp, version=2.0, url=http://localhost:8080/NMXRegisterServiceWebApp/, diagnosticUrl=http://localhost:8080/NMXRegisterServiceWebApp/diagnostic, containerId=localhost, instanceName=TEST SERVER FOR azaldivar1}
        java.io.IOException: Invalid Http response
                at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1629)
                at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515)
                at com.nemotec.utils.io.FileUtils.readAsString(FileUtils.java:751)
                at com.nemotec.utils.io.FileUtils.readAsString(FileUtils.java:770)
                at com.nemotec.utils.service.LookupServiceRegistry.registerRemote(LookupServiceRegistry.java:87)
                at com.nemotec.utils.service.LookupServiceRegistry.lambda$realRegisterService$0(LookupServiceRegistry.java:121)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:834)
23-Sep-2022 08:27:42.768 SEVERE [Timer-0] com.nemotec.utils.services.lookup.RegisteredServicesManagerContextListener.lambda$checkTriggers$2 Error Operation timed out (Connection timed out) con /52.210.53.222