<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ApacheNifi HttpInvoke java.lang.IllegalStateException: closed Error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396384#M249414</link>
    <description>&lt;P&gt;no one answered yet.......just waiting for it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Oct 2024 05:06:58 GMT</pubDate>
    <dc:creator>pankajgaikwad</dc:creator>
    <dc:date>2024-10-28T05:06:58Z</dc:date>
    <item>
      <title>ApacheNifi HttpInvoke java.lang.IllegalStateException: closed Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/395714#M249006</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Actually, I'm getting one error from my post call in nifi and in that I'm making post call with form data which contains file, JSon body&amp;nbsp;but even after properly configuring the Httpinvoke&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;it's giving me this error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;java.lang.IllegalStateException: closed&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me in this these are my configuration which I have done&lt;/P&gt;&lt;P&gt;this preview which i got&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajgaikwad_0-1729599556088.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42293i781E2B6BD9326B8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajgaikwad_0-1729599556088.png" alt="pankajgaikwad_0-1729599556088.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the configuration:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajgaikwad_1-1729599611161.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42294iB9B2593685BF319B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajgaikwad_1-1729599611161.png" alt="pankajgaikwad_1-1729599611161.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajgaikwad_2-1729599629740.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42295iD841943418AB82EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajgaikwad_2-1729599629740.png" alt="pankajgaikwad_2-1729599629740.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajgaikwad_3-1729599665666.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42296iC0D2247AE249BC00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajgaikwad_3-1729599665666.png" alt="pankajgaikwad_3-1729599665666.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajgaikwad_4-1729599683148.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42297i034CE08C236DCF16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajgaikwad_4-1729599683148.png" alt="pankajgaikwad_4-1729599683148.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajgaikwad_5-1729599697291.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42298i771741CF362D4AFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajgaikwad_5-1729599697291.png" alt="pankajgaikwad_5-1729599697291.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the Entire pipeline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 12:31:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/395714#M249006</guid>
      <dc:creator>pankajgaikwad</dc:creator>
      <dc:date>2024-10-22T12:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: ApacheNifi HttpInvoke java.lang.IllegalStateException: closed Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/395754#M249018</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119236"&gt;@pankajgaikwad&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 17:52:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/395754#M249018</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-10-22T17:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: ApacheNifi HttpInvoke java.lang.IllegalStateException: closed Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396384#M249414</link>
      <description>&lt;P&gt;no one answered yet.......just waiting for it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 05:06:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396384#M249414</guid>
      <dc:creator>pankajgaikwad</dc:creator>
      <dc:date>2024-10-28T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: ApacheNifi HttpInvoke java.lang.IllegalStateException: closed Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396435#M249436</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119236"&gt;@pankajgaikwad&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;while it is wonderful that you have shared your InvokeHTTP processor configurations, I don't think enough information has been provided to provide assistance here.&amp;nbsp; All we know from you post is that some Post rest-api call was made against some service endpoint using some URL, to send form data of some content-type to which an illegal state exception was thrown.&lt;BR /&gt;&lt;BR /&gt;Sharing details about your use case is always helpful.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What is the target endpoint service (Polarion? which community members may not be familiar with)?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;What is the full rest-api call you are trying to make?&lt;/LI&gt;&lt;LI&gt;Were you able to successfully make that same rest-api call via curl local to the NiFi server?&lt;/LI&gt;&lt;LI&gt;What is the structure of your NiFi FlowFile (what is in the FlowFile's content and what are the FlowFile's attributes when the FlowFile reaches the InvokeHTTOP processor)?&lt;/LI&gt;&lt;LI&gt;What are the complete configurations of the invokeHTTP processor? (Some property values are cut-off in your images)&lt;/LI&gt;&lt;LI&gt;What documentation are you following for this rest-api call?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;As far as the exception goes...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Was the "java.lang.IllegalStateException: closed" accompanied by any stack trace in the the nifi-app.log?&lt;/LI&gt;&lt;LI&gt;What was logged within the target service when this post request was made?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I see you shared your full dataflow in another community &lt;A href="https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-processor-InvokeHTTP-POST-with-MultipartFile/td-p/381112" target="_self"&gt;post&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1730121450329.png" style="width: 714px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42375iCE6D144FDD7638DB/image-dimensions/714x297?v=v2" width="714" height="297" role="button" title="MattWho_0-1730121450329.png" alt="MattWho_0-1730121450329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;An example of the original file you are obtaining via "GetFile", what attributes you are adding to the FlowFile, and how you are modifying that content before the InvokeHTTP may also be helpful here.&lt;/P&gt;&lt;P&gt;Sharing the additional input and details may make it possible for someone in the community to provide you with some suggestions and solutions.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:21:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396435#M249436</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-10-28T13:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: ApacheNifi HttpInvoke java.lang.IllegalStateException: closed Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396693#M249485</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/119236"&gt;@pankajgaikwad&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 03:02:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ApacheNifi-HttpInvoke-java-lang-IllegalStateException-closed/m-p/396693#M249485</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-11-01T03:02:32Z</dc:date>
    </item>
  </channel>
</rss>

