[ https://issues.apache.org/jira/browse/TIKA-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Allison resolved TIKA-1948. ------------------------------- Resolution: Fixed Fix Version/s: 1.13 2.0 Behavior is configurable via PDFParserConfig. The default is the more robust option; users will have to change the config to get the old behavior. > Catch exceptions per page in PDFParser > -------------------------------------- > > Key: TIKA-1948 > URL: https://issues.apache.org/jira/browse/TIKA-1948 > Project: Tika > Issue Type: Improvement > Reporter: Tim Allison > Assignee: Tim Allison > Priority: Minor > Fix For: 2.0, 1.13 > > > In a discussion with [~tilman] somewhere(???), I think he observed that we > weren't doing a try/catch for each page. If there's an exception in an early > page, it might still be possible to extract text from later pages in a > problematic PDF. > With very minimal modifications we could add a try/catch per page, store the > caught exceptions, and then throw the first caught exception after the parse > finishes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)