You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2020/08/04 09:59:00 UTC
[jira] [Updated] (SLING-9626) "Writer has already been closed"
exception in GraphQLServlet
[ https://issues.apache.org/jira/browse/SLING-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-9626:
---------------------------------------
Summary: "Writer has already been closed" exception in GraphQLServlet (was: JsonWriter auto closes the output stream)
> "Writer has already been closed" exception in GraphQLServlet
> ------------------------------------------------------------
>
> 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
> Priority: Major
>
> 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)