You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2026/10/07 16:52:00 UTC
[jira] [Resolved] (TIKA-4942) Avoid recursion in osgi in 4.x
[ https://issues.apache.org/jira/browse/TIKA-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Allison resolved TIKA-4942.
-------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> Avoid recursion in osgi in 4.x
> ------------------------------
>
> Key: TIKA-4942
> URL: https://issues.apache.org/jira/browse/TIKA-4942
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Blocker
> Fix For: 4.2.0
>
>
> From my bot, based on [https://github.com/apache/tika/pull/3260] and [~pkarwasz] report
> {noformat}
> tika-bundle-standard registered a DefaultParser and DefaultDetector backed by
> a dynamic ServiceLoader. TikaActivator adds registered services to that same
> dynamic set, so each found itself and every parse or detect through the OSGi
> services overflowed the stack. The bundle now registers both on a non-dynamic
> loader, and a dynamic DefaultParser or DefaultDetector no longer merges in
> another dynamic one, which also covers third-party bundles and two bundles
> registering defaults.{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)