nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Payne <>
Subject Re: Issue: HttpNotification TLS configuration
Date Mon, 11 Jan 2021 19:14:07 GMT
Hi Akilan,

Thanks, I’m glad you’re enjoying it! Unfortunately, it does appear that you’ve uncovered
a bug.
Do you mind filing a Jira [1] for that?

In the meantime, I think you can probably get away with just copying the file
from lib/ to lib/bootstrap.
I.e., `cp lib/nifi-properties.jar lib/bootstrap/`. Just be sure that you’re copying the
file and not moving it - it would be needed
In both locations. I think that will be a sufficient work around, but it will definitely be
best to file a Jira to fix it properly. Either
by including the Nifi-properties.jar in the bootstrap lib in the build so that it has access
to it, or just updating the code to use

if (value == null || value.trim().isEmpty()) {

Instead of

if (StringUtils.isEmpty(…)) {



On Jan 11, 2021, at 5:55 AM, Akilan Arasu <<>>

Dear Development Team,

I have been using Nifi for the last couple of months and it's a great
Recently I tried configuring it to push notifications to Slack on
by configuring bootstrap.conf and bootstrap-notification-services.xml.

When I uncomment the http notification block and add the Slack webhook URL
along with the key-values for TLS config, and then run Nifi, it crashes
stating that
the StringUtils class could not be found.
I looked in the Nifi source code, and found StringUtils in
It seems this class is not being loaded at boot.

I also looked at the pom.xml file for nifi-bootstrap.jar and the
dependencies list contains nifi-properties-loader, which I could not find.

Please take a look and let me know what you think and what I can do to load
StringUtils into memory. Maybe add it to the classpath? Or compile Nifi
from source?

Thanks & Regards,
Akilan Arasu

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message