I have a requirement to read the input flat file line by line (\n delimiter). I have seen milyn-smooks-flatfile-1.5.2.jar has some classes like RegexParser and RegexParserFactory using which we can achieve this. When I try to execute the following code, I am getting a null pointer exception because factory is coming as null. Can anyone suggest how to configure the factory and parser in the smooks-config.xml
file and how to make this code work??