Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lines must be orthogonal, vertical and horizontal exception #218

Open
ghost opened this issue Apr 24, 2018 · 0 comments
Open

lines must be orthogonal, vertical and horizontal exception #218

ghost opened this issue Apr 24, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 24, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants