I am using tika-app-1.14.jar to convert my pdf and image files to text using command-line.
java -jar tika-app-1.14.jar -t -i /inputFolder -o /OutputFolder
It runs well but when I run the same script from the automation tool it fails, saying *causeForTermination='MAIN_LOOP_EXCEPTION_NO_RESTART'*
and does not convert the files to text. Couldn't find the cause of this issue.