[ 
https://issues.apache.org/jira/browse/SLING-7062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134721#comment-16134721
 ] 

Carsten Ziegeler commented on SLING-7062:
-----------------------------------------

[~chetanm] Yes, I think it makes sense to make the inventory impl more robust 
(although the javadoc clearly states that the stream must not be closed)

> Commons metrics inventory closes zip
> ------------------------------------
>
>                 Key: SLING-7062
>                 URL: https://issues.apache.org/jira/browse/SLING-7062
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons Metrics 1.0.0
>            Reporter: Marcel Reutegger
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: commons metrics 1.2.4
>
>         Attachments: SLING-7062.patch
>
>
> The inventory printer implementation of {{MetricWebConsolePlugin}} closes the 
> passed {{PrintWriter}} though {{ConsoleReporter.close()}}. This aborts the 
> configuration status zip generation process and subsequent inventory printer 
> output is missing.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to