David already made a fix for it and it will be merged shortly - included in
2.2.0 which will be out pretty soon.

Thanks

On Wed, Jan 22, 2025 at 7:39 PM Ranjith Kumar P <[email protected]>
wrote:

> Hi,
> Recently I encountered this issue with 2.0.0 installation too when I
> comment and when I don't set security related parameters in nifi.priperties
> file.
>
>
> On Thu, 23 Jan 2025, 4:19 am Joe Obernberger, <
> [email protected]> wrote:
>
>> Hi All - We're using NifiKop to deploy a 2.0.0 cluster that is working
>> nicely.  When we try to upgrade to 2.1.0 (which has some great features
>> we'd like!), we're getting this error:
>>
>> 2025-01-22 22:38:34,961 INFO [main]
>> o.a.nifi.properties.NiFiPropertiesLoader Loading Application Properties
>> [/opt/nifi/nifi-current/conf/nifi.properties]
>> 2025-01-22 22:38:35,100 ERROR [main] org.apache.nifi.runtime.Application
>> Start Server failed
>> java.lang.NullPointerException: Cannot invoke
>> "java.lang.CharSequence.length()" because "cs" is null
>>          at java.base/java.lang.String.contentEquals(String.java:1941)
>>          at
>>
>> org.apache.nifi.framework.ssl.FrameworkSslContextProvider.isPemStoreType(FrameworkSslContextProvider.java:154)
>>          at
>>
>> org.apache.nifi.framework.ssl.FrameworkSslContextProvider.getKeyManagerBuilder(FrameworkSslContextProvider.java:102)
>>          at
>>
>> org.apache.nifi.framework.ssl.FrameworkSslContextProvider.loadSslContext(FrameworkSslContextProvider.java:66)
>>          at
>> org.apache.nifi.web.server.JettyServer.init(JettyServer.java:229)
>>          at
>> org.apache.nifi.web.server.JettyServer.initialize(JettyServer.java:1061)
>>          at
>> org.apache.nifi.runtime.Application.startServer(Application.java:126)
>>          at org.apache.nifi.runtime.Application.run(Application.java:78)
>>          at org.apache.nifi.runtime.Application.run(Application.java:60)
>>          at org.apache.nifi.NiFi.main(NiFi.java:42)
>>
>> Is the related to a security property that we are not setting
>> correctly?  Thank you!
>>
>> -Joe
>>
>>
>> --
>> This email has been checked for viruses by AVG antivirus software.
>> www.avg.com
>>
>

Reply via email to