Created 08-09-2018 02:32 AM
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?
Created 08-09-2018 02:39 AM
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.
Created 08-09-2018 02:45 AM
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
Created 08-09-2018 02:45 PM
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.