[Geoserver-devel] [JIRA] (GEOS-9057) ClientStreamAbortedException logged at SEVERE level, should be at lower level - imageio-ext

Tiago Vieira created an issue

GeoServer / BugGEOS-9057

ClientStreamAbortedException logged at SEVERE level, should be at lower level - imageio-ext

Issue Type:

BugBug

Affects Versions:

2.14.1

Assignee:

Unassigned

Created:

11/Dec/18 10:37 PM

Priority:

LowLow

Reporter:

Tiago Vieira

Geoserver 2.14 is using imageio-ext 1.1.25.

A bug is already solved for the logger level of a “ClientStreamAbortedException”:
https://osgeo-org.atlassian.net/browse/GEOS-8958

But I notice that it appears sometimes on the logs again.
It comes from PNGWriter class:
11-Dec-2018 16:36:52.213 SEVERE [http-nio-3000-exec-1] it.geosolutions.imageio.plugins.png.PNGWriter.writePNG Failed to encode the PNG ar.com.hjg.pngj.PngjOutputException: org.geoserver.ows.ClientStreamAbortedException at ar.com.hjg.pngj.PngHelperInternal.writeBytes(PngHelperInternal.java:196) at ar.com.hjg.pngj.chunks.ChunkRaw.writeChunk(ChunkRaw.java:97) at ar.com.hjg.pngj.PngIDatChunkOutputStream.flushBuffer(PngIDatChunkOutputStream.java:28) at ar.com.hjg.pngj.ProgressiveOutputStream.checkFlushBuffer(ProgressiveOutputStream.java:65) at ar.com.hjg.pngj.ProgressiveOutputStream.flush(ProgressiveOutputStream.java:28) at ar.com.hjg.pngj.PngWriter.end(PngWriter.java:400) at it.geosolutions.imageio.plugins.png.PNGWriter.writePNG(PNGWriter.java:110) at it.geosolutions.imageio.plugins.png.PNGWriter.writePNG(PNGWriter.java:48) at org.geoserver.wms.map.png.PNGJWriter.writePNG(PNGJWriter.java:51) at org.geoserver.wms.map.PNGMapResponse.formatImageOutputStream(PNGMapResponse.java:104) at org.geoserver.wms.map.RenderedImageMapResponse.write(RenderedImageMapResponse.java:111) at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1032) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174)

At this class exists a logger at level SEVERE:
LOGGER.log(Level.SEVERE, “Failed to encode the PNG”, e);

PR to fix it:
https://github.com/geosolutions-it/imageio-ext/issues/181

Need upgrade to imageio-ext version 1.1.26.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100095-sha1:b32a154)

Atlassian logo