PeterAlfredLee opened a new pull request #343: URL: https://github.com/apache/tika/pull/343
CTAKESParser should not load via the parser service loader because it will cause an infinite loop. If `org.apache.tika.parser.ctakes.CTAKESParser` in file `org.apache.tika.parser.Parser`: 1. `org.apache.tika.config.ServiceLoader#loadStaticServiceProviders(Class<T>)` will create a new instance for `org.apache.tika.parser.ctakes.CTAKESParser` 2. `org.apache.tika.parser.ctakes.CTAKESParser#CTAKESParser()` will create a new instance for `org.apache.tika.config.TikaConfig` and then will call `org.apache.tika.config.ServiceLoader#loadStaticServiceProviders(Class<T> )` to load another `org.apache.tika.parser.ctakes.CTAKESParser`. It's a infinite loop, Should remove CTAKESParser from file org.apache.tika.parser.Parser. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
