[ 
https://issues.apache.org/jira/browse/TIKA-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177021#comment-13177021
 ] 

Nick Burch commented on TIKA-830:
---------------------------------

I think the ForkParser instanceof check is a good validation to have, with a 
helpful error

In r1225448 I've updated ForkClient / ForkParser to have a more helpful message 
if we can't serialize any of the Parser.parse arguments (eg the ParseContext), 
along with a unit test
                
> Tika.parseToString() causes ForkParser to try to serialize itself
> -----------------------------------------------------------------
>
>                 Key: TIKA-830
>                 URL: https://issues.apache.org/jira/browse/TIKA-830
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Jerome Lacoste
>            Priority: Blocker
>         Attachments: 
> 0005-TIKA-830-Tike.parseToString-caused-ForkParser-to-try.patch, 
> 0006-TIKA-830-refactor-tests-for-clarity.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to