<?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: NiFi startup Exception. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132865#M43583</link>
    <description>&lt;P&gt;I didnt copy the flow.xml.gz but imported some templates which must have updated the flow.xml. Whats the fix to restart the NiFi instance?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2016 21:22:33 GMT</pubDate>
    <dc:creator>mpandit</dc:creator>
    <dc:date>2016-10-17T21:22:33Z</dc:date>
    <item>
      <title>NiFi startup Exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132863#M43581</link>
      <description>&lt;P&gt;I am getting following exception while starting the NiFi instance. Any insight will be helpful.&lt;/P&gt;
&lt;P&gt;016-10-14 17:38:12,152 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Error creating bean with name 'niFiWebApiSecurityConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.apache.nifi.web.NiFiWebApiSecurityConfiguration.setUserDetailsService(org.springframework.security.core.userdetails.AuthenticationUserDetailsService); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in class path resource [nifi-web-security-context.xml]: Cannot resolve reference to bean 'userService' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [nifi-administration-context.xml]: Cannot resolve reference to bean 'userTransactionBuilder' while setting bean property 'transactionBuilder'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userTransactionBuilder' defined in class path resource [nifi-administration-context.xml]: Cannot resolve reference to bean 'authorityProvider' while setting bean property 'authorityProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterManager' defined in class path resource [nifi-cluster-manager-context.xml]: Cannot resolve reference to bean 'stringEncryptor' while setting bean property 'encryptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stringEncryptor' defined in class path resource [nifi-context.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.encrypt.StringEncryptor]: Factory method 'createEncryptor' threw exception; nested exception is org.apache.nifi.encrypt.EncryptionException: Cannot initialize sensitive property encryptor 2016-10-14 17:38:12,152 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:44:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132863#M43581</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2022-09-16T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup Exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132864#M43582</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/9842/mpandit.html" nodeid="9842"&gt;@milind pandit&lt;/A&gt;&lt;P&gt;Is this a flow.xml.gz you copied from another instance of NiFi?   All the sensitive properties inside the flow.xml.gz file are encrypted using the sensitive property defined in the nifi.properties file (If blank NiFi uses and internal default).  If you move your flow.xml.gz file to another NiFi, the sensitive property value used must be the same or NiFi will fail to start because it cannot decrypt the sensitive properties in the file.&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 19:57:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132864#M43582</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2016-10-17T19:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi startup Exception.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132865#M43583</link>
      <description>&lt;P&gt;I didnt copy the flow.xml.gz but imported some templates which must have updated the flow.xml. Whats the fix to restart the NiFi instance?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 21:22:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-startup-Exception/m-p/132865#M43583</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-10-17T21:22:33Z</dc:date>
    </item>
  </channel>
</rss>

