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

Tim Allison commented on TIKA-4253:
-----------------------------------

This is happening in the unit tests because there are multiple service loading 
files on the classpath in tika-parsers-standard from the different modules.

We could change the list to a set in 
ServiceLoader#identifyStaticServiceProviders.

> Duplicate parsers loaded in AutoDetectParser in 3.x at least in some unit 
> tests
> -------------------------------------------------------------------------------
>
>                 Key: TIKA-4253
>                 URL: https://issues.apache.org/jira/browse/TIKA-4253
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>
> I haven't checked 2.x yet, but it looks like the AutoDetectParser with and 
> without a custom TikaConfig is loading parsers twice at least in 
> tika-parsers-standard unit tests.
> We should figure out if this is happening elsewhere in tika-app and 
> tika-server and fix it where we find it. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to