[ 
https://issues.apache.org/jira/browse/NIFI-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richie Howell updated NIFI-7167:
--------------------------------
    Description: 
On line 216 of the 
[IdentifyMineType|[https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java]]
 processor a TikaInputStream is opened but never closed. 

 

>From the looks of it, this stream should be closed with the close() method.

[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!

  was:
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.

[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!


> 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
>            Priority: Minor
>         Attachments: image-2020-02-18-15-53-10-699.png
>
>
> On line 216 of the 
> [IdentifyMineType|[https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java]]
>  processor a TikaInputStream is opened but never closed. 
>  
> From the looks of it, this stream should be closed with the close() method.
> [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)

Reply via email to