<?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 An unexpected error has occurred while listing controller services on UI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/An-unexpected-error-has-occurred-while-listing-controller/m-p/342725#M233803</link>
    <description>&lt;P&gt;We have a NIFI cluster which have 3 nodes. All the nodes were working fine earlier. But now if all 3 nodes are connected to cluster and we right click on NIFI UI canvas and select "Configure" then we are getting error - "&lt;SPAN&gt;An unexpected error has occurred. Please check the logs for additional details.&lt;/SPAN&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sam_s0ni_0-1651238427427.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34296iAA03F336B29F062F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sam_s0ni_0-1651238427427.png" alt="sam_s0ni_0-1651238427427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sam_s0ni_0-1651238072623.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34295i8D8EB09BB17F7C11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sam_s0ni_0-1651238072623.png" alt="sam_s0ni_0-1651238072623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below are more details fetched from network tabs on inspection on chrome. The same error can be found if we access NIFI UI using any node's hostname -&amp;nbsp;&lt;/P&gt;&lt;OL class="children expanded"&gt;&lt;LI&gt;&lt;DIV class="header-name"&gt;Request URL:&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;&lt;A target="_blank" rel="noopener"&gt;https://&amp;lt;node1&amp;gt;:&amp;lt;port&amp;gt;/nifi-api/flow/process-groups/{process_group_id}&lt;/A&gt;/controller-services&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="header-name"&gt;Request Method:&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;GET&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="header-name"&gt;Status Code:&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;500 Internal Server Error&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If we disconnect node 3 from cluster then we are able to click on&amp;nbsp;"Configure" and list all controller services on NIFI UI. Issue seems to be with node 3. We have synced flow.xml.gz file from node2 to other node ie.node1, node3 and also restarted the NIFI. But still the issue is there.&lt;BR /&gt;We have got this error in nifi-user.log -&lt;BR /&gt;&lt;SPAN&gt;"o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.NullPointerException. Returning Internal Server Error response."&lt;/SPAN&gt;&lt;BR /&gt;Our&amp;nbsp;authorizers.xml and&amp;nbsp;users.xml files are having same content across all 3 nodes. There was no issue of CPU, heap or memory also. Everything seems idle on all the nodes.&lt;BR /&gt;Please help us to resolve this issue.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 13:22:40 GMT</pubDate>
    <dc:creator>sam_s0ni</dc:creator>
    <dc:date>2022-04-29T13:22:40Z</dc:date>
    <item>
      <title>An unexpected error has occurred while listing controller services on UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/An-unexpected-error-has-occurred-while-listing-controller/m-p/342725#M233803</link>
      <description>&lt;P&gt;We have a NIFI cluster which have 3 nodes. All the nodes were working fine earlier. But now if all 3 nodes are connected to cluster and we right click on NIFI UI canvas and select "Configure" then we are getting error - "&lt;SPAN&gt;An unexpected error has occurred. Please check the logs for additional details.&lt;/SPAN&gt;"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sam_s0ni_0-1651238427427.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34296iAA03F336B29F062F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sam_s0ni_0-1651238427427.png" alt="sam_s0ni_0-1651238427427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sam_s0ni_0-1651238072623.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34295i8D8EB09BB17F7C11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sam_s0ni_0-1651238072623.png" alt="sam_s0ni_0-1651238072623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below are more details fetched from network tabs on inspection on chrome. The same error can be found if we access NIFI UI using any node's hostname -&amp;nbsp;&lt;/P&gt;&lt;OL class="children expanded"&gt;&lt;LI&gt;&lt;DIV class="header-name"&gt;Request URL:&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;&lt;A target="_blank" rel="noopener"&gt;https://&amp;lt;node1&amp;gt;:&amp;lt;port&amp;gt;/nifi-api/flow/process-groups/{process_group_id}&lt;/A&gt;/controller-services&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="header-name"&gt;Request Method:&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;GET&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="header-name"&gt;Status Code:&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;500 Internal Server Error&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If we disconnect node 3 from cluster then we are able to click on&amp;nbsp;"Configure" and list all controller services on NIFI UI. Issue seems to be with node 3. We have synced flow.xml.gz file from node2 to other node ie.node1, node3 and also restarted the NIFI. But still the issue is there.&lt;BR /&gt;We have got this error in nifi-user.log -&lt;BR /&gt;&lt;SPAN&gt;"o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.NullPointerException. Returning Internal Server Error response."&lt;/SPAN&gt;&lt;BR /&gt;Our&amp;nbsp;authorizers.xml and&amp;nbsp;users.xml files are having same content across all 3 nodes. There was no issue of CPU, heap or memory also. Everything seems idle on all the nodes.&lt;BR /&gt;Please help us to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:22:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/An-unexpected-error-has-occurred-while-listing-controller/m-p/342725#M233803</guid>
      <dc:creator>sam_s0ni</dc:creator>
      <dc:date>2022-04-29T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: An unexpected error has occurred while listing controller services on UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/An-unexpected-error-has-occurred-while-listing-controller/m-p/343378#M233917</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97630"&gt;@sam_s0ni&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Verify that all 3 NiFi nodes are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Running the exact same version of NiFI.&lt;/LI&gt;&lt;LI&gt;Running the exact same version of Java 8 or 11 (only supported by newest releases)&lt;/LI&gt;&lt;LI&gt;Contents of the NiFi lib directory, extensions directory, and any custom lib directories contain exact same content.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Try removing the NiFi work directory from all three nodes.&amp;nbsp; On restart NiFi will rebuild the contents of the work directory from above lib and extensions folders.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 19:17:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/An-unexpected-error-has-occurred-while-listing-controller/m-p/343378#M233917</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-05-06T19:17:11Z</dc:date>
    </item>
  </channel>
</rss>

