Actually, on BeanReader init, exception may occur like this below :
Exception in thread "main" java.lang.NullPointerException
at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:659)
at olg.csv.bean.loader.Util.validate(Util.java:98)
at olg.csv.bean.loader.BeanProcessorLoader.load(BeanProcessorLoader.java:77)
at olg.csv.bean.BeanReader.<init>(BeanReader.java:140)
This exception is due to a bug on olg.csv.bean.loader.Util.validate(File file) method.
This method doesn't find the file bean-row.xsd into row-bean.jar.
Until this problem is solved, it's necessary to set the bean-row.xsd file (could be extracted from row-bean.jar : java -jar row-bean.jar) into the classpath under olg/csv/bean directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, on BeanReader init, exception may occur like this below :
Exception in thread "main" java.lang.NullPointerException
at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:659)
at olg.csv.bean.loader.Util.validate(Util.java:98)
at olg.csv.bean.loader.BeanProcessorLoader.load(BeanProcessorLoader.java:77)
at olg.csv.bean.BeanReader.<init>(BeanReader.java:140)
This exception is due to a bug on olg.csv.bean.loader.Util.validate(File file) method.
This method doesn't find the file bean-row.xsd into row-bean.jar.
Until this problem is solved, it's necessary to set the bean-row.xsd file (could be extracted from row-bean.jar : java -jar row-bean.jar) into the classpath under olg/csv/bean directory.
Fixed in Row-Bean 1.0.1