tabula-java icon indicating copy to clipboard operation
tabula-java copied to clipboard

lines must be orthogonal, vertical and horizontal exception

Open ghost opened this issue 7 years ago • 1 comments

Looping through the pages of a PDF, this exception was thrown by the SpreadsheetExtractionAlgorithm. There isn't a table on this page that should be extracted.

$ java -jar tabula-1.0.1-jar-with-dependencies.jar -page 17 -r inflation-report-february-2018.pdf Exception in thread "main" java.lang.IllegalArgumentException: lines must be orthogonal, vertical and horizontal at technology.tabula.Ruling.intersectionPoint(Ruling.java:216) at technology.tabula.Ruling.findIntersections(Ruling.java:385) at technology.tabula.extractors.SpreadsheetExtractionAlgorithm.findCells(SpreadsheetExtractionAlgorithm.java:180) at technology.tabula.extractors.SpreadsheetExtractionAlgorithm.extract(SpreadsheetExtractionAlgorithm.java:106) at technology.tabula.extractors.SpreadsheetExtractionAlgorithm.extract(SpreadsheetExtractionAlgorithm.java:84) at technology.tabula.CommandLineApp$TableExtractor.extractTablesSpreadsheet(CommandLineApp.java:392) at technology.tabula.CommandLineApp$TableExtractor.extractTables(CommandLineApp.java:363) at technology.tabula.CommandLineApp.extractFile(CommandLineApp.java:163) at technology.tabula.CommandLineApp.extractFileTables(CommandLineApp.java:120) at technology.tabula.CommandLineApp.extractTables(CommandLineApp.java:101) at technology.tabula.CommandLineApp.main(CommandLineApp.java:71)

ghost avatar Apr 24 '18 22:04 ghost

Same here, pdf

fl4p avatar Aug 06 '24 08:08 fl4p