Maybe you should insert
in the implementation of countlines
CSVReader reader = new CSVReaderBuilder(new InputStreamReader(Core.getFileDocumentContent(getContext(), this.file.getMendixObject()))) .withSkipLines((int) skipLines.intValue()) .withCSVParser(parser) .build();
Otherwise the check the line separators.
Chris' comment fixes the Countlines java action in this case. However if you want to make an object for every one of those lines you need to use the ReadNextLine java action. In my case it did not read the lines either. For this action to work you need to change the CSVParser in the ImportCSV java action (as this is the parser used by the ReadNextLine action).