Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Using Apache Nifi. Failed to initialize Error with ExtractText processor

avatar
New Contributor

I am getting this error message whenever i try to start my ExtractText processor:

"Failed to properly initialize processor, If still shcedule to run, NIFI will attempt to initalize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.reflect.InvocationTargetException: java.lang.reflect.InvicationTargetException"

Does anyone know how to solve this error?

3 REPLIES 3

avatar
Master Guru

Can you share your ExtractText configuration and possibly some sample input? This error occurs when the processor is scheduled, and all it does when scheduled is try to compile the regular expressions, so I presume there is some error in your regex somewhere.

avatar
New Contributor

screen-shot-2018-08-08-at-74412-pm.pngscreen-shot-2018-08-08-at-74348-pm.png

Inputs are just csv files of 1 line each. The one line has 3 columns. Eg: 12,name,50

avatar
Master Guru

I just tried the same line of CSV and the same regex and it works fine. Can you share the entire stack trace from the logs? There might be more information as far as where it's failing while being scheduled.

Also if you copy/pasted that regex from somewhere, perhaps it has some hidden/unprintable characters, try typing it in by hand instead.