Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
12 kB
2
Indexable
Never
23-Sep-2022 09:33:21.665 SEVERE [pool-61-thread-114] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 09:33:21.672 SEVERE [pool-61-thread-113] 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 09:33:21.674 SEVERE [pool-61-thread-113] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse Error while closing the output stream in order to commit response.
        java.lang.NullPointerException
23-Sep-2022 09:37:14.362 INFO [http-nio-8080-exec-98] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled response and recycled it forcedly.
        org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException
                at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:546)
                at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1587)
                at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1021)
                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:950)
                at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1673)
                at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
                at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.base/java.lang.Thread.run(Thread.java:834)