Bug 52373 - Parsers should handle failures more gracefully
Parsers should handle failures more gracefully
Status: RESOLVED WORKSFORME
Product: POI
Classification: Unclassified
Component: POI Overall
3.8-dev
All All
: P2 normal (vote)
: ---
Assigned To: POI Developers List
:
Depends on:
Blocks:
  Show dependency tree
 
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.