Richie Howell created NIFI-7167:
-----------------------------------

             Summary: 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
         Attachments: image-2020-02-18-15-53-10-699.png

On line 216 of the 
[IdentifyMineType|[https://git-wip-us.apache.org/repos/asf?p=nifi.git;a=blob;f=nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java;h=d6ebd39e506ab77c2d25e8135de5404bd6dabba4;hb=f738e19a757675228f8e594ef1461ce5084eeb56]]
 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