[
https://issues.apache.org/jira/browse/NIFI-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cameron Tidd reassigned NIFI-7167:
----------------------------------
Assignee: Cameron Tidd
> IdentifyMimeType TikaInputStream not closed
> -------------------------------------------
>
> Key: NIFI-7167
> URL: https://issues.apache.org/jira/browse/NIFI-7167
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.11.1
> Reporter: Richie Howell
> Assignee: Cameron Tidd
> Priority: Minor
> Attachments: image-2020-02-18-15-53-10-699.png
>
>
> On line 216 of the IdentifyMineType processor a TikaInputStream is opened but
> never closed.
>
> From the looks of it, this stream should be closed with the close() method,
> or use try-with-resources.
> [https://tika.apache.org/1.8/api/org/apache/tika/io/TikaInputStream.html#get(java.io.InputStream,%20org.apache.tika.io.TemporaryResources)]
> !image-2020-02-18-15-53-10-699.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)