You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Evgeny Tugarev (Jira)" <ji...@apache.org> on 2020/08/04 09:56:00 UTC
[jira] [Created] (SLING-9626) JsonWriter auto closes the output
stream
Evgeny Tugarev created SLING-9626:
-------------------------------------
Summary: JsonWriter auto closes the output stream
Key: SLING-9626
URL: https://issues.apache.org/jira/browse/SLING-9626
Project: Sling
Issue Type: Bug
Components: GraphQL
Affects Versions: GraphQL Core 0.0.4
Reporter: Evgeny Tugarev
Current implementation closes the output stream which produces an errorĀ
org.apache.sling.engine.impl.SlingRequestProcessorImpl Writer has already been closed.
org.apache.sling.engine.impl.SlingHttpServletResponseImpl$WriterAlreadyClosedException: null
at org.apache.sling.engine.impl.SlingHttpServletResponseImpl$1.checkClosed(SlingHttpServletResponseImpl.java:190)
[https://github.com/apache/sling-org-apache-sling-graphql-core/blob/b22657e5cc435332cec7c60ad30692d2190caff8/src/main/java/org/apache/sling/graphql/core/json/JsonSerializer.java#L53]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)