Bug 52373 - Parsers should handle failures more gracefully
Summary: Parsers should handle failures more gracefully
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 3.8-dev
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 12:22 UTC by Jerome Lacoste
Modified: 2013-03-19 23:00 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lacoste 2011-12-20 12:22:49 UTC
Bug #52372 is one instance of a family of bugs that can come from either unsupported features / broken files and cause the parser to fail very hard.

So we wrote 
https://github.com/lacostej/tika-hardener to ease identifying places in the code which can be improved to fail more gracefully.

Feedback appreciated.
Comment 1 Nick Burch 2011-12-20 13:26:44 UTC
This is probably one for the Tika dev list

If you find issues in the underlying POI code, which are present in the latest POI svn snapshots, please report them here. For general discussions on parser stability, Tika is the place to have the discussion
Comment 2 Jerome Lacoste 2011-12-20 13:39:13 UTC
We will report individual issues as we find them. I just thought you might want to look at the code and maybe adapt it for use internally to the POI project.

Not sure I will personally be able to be on the mailing list. I will ask some co-workers if they can. Feel free to add info to this issue as I will follow up here.