-
Suggestion
-
Resolution: Fixed
-
None
-
Partially fixed in ImageEffectsPlugin-1.1.5
Fully fixed in ImageEffectsPlugin-1.1.7
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
The ImageFilterServlet writes to the HttpServletResponse's OutputStream in the end. One possible exception could be that the socket gets closed on the client-side (e.g. user closes browser tab) leading to a ClientAbortException: java.net.SocketException: Broken pipe being re-thrown as -java.lang.RuntimeException, leading to a full stack trace being written out to the log. The ClientAbortException is implementation specific, but the part writing to the OutputStream could still stand in its isolated try-catch examining if the root cause is a SocketException of that type and thus ignore it.
Steps to reproduce:
1. Put a breakpoint on l216 of the ImageFilterServlet (ImageEffectsPlugin 1.1.4)
2. Open the Prettify the page with an image (step 4 of 9) page of the demo space in the editor, select one of the images and click on Properties in the property panel
3. Wait for the break, and close the tab, you'll get a trace like the one attached
- relates to
-
CONFCLOUD-29346 ImageFilterServlet re-throws java.net.SocketException: Broken pipe
- Closed
- mentioned in
-
Page Failed to load
This issue can still happen in 5.1.4 so reopening.