Closed alloka closed 3 years ago
The parsing is a red herring, the issue is with the extension parsing code in FileDataSource. Fix comming up.
public static void main(final String[] args) throws ParsingException, IOException {
FileDataSource ds = new CsvFileDataSource("/dev/shm/empty.csv");
}
Let's consider the following class placed in org.semanticweb.rulewerk.examples package
and the following single-line
csv-file.csv
When we execute this program from eclipse, there is no error. We can create an instance of
Reasoner
and callreason()
on it without any problem. We remove these instructions to make the example minimal.The problem occurs when we execute the same program from the command line using maven as follows:
then the next error is produced