You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/08/22 05:35:00 UTC

[jira] [Assigned] (SM-5253) OSGI service with ServiceMix bundle POI 5.2.2_2 is not starting up

     [ https://issues.apache.org/jira/browse/SM-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned SM-5253:
----------------------------------------

    Assignee: Jean-Baptiste Onofré

> OSGI service with ServiceMix bundle POI 5.2.2_2 is not starting up
> ------------------------------------------------------------------
>
>                 Key: SM-5253
>                 URL: https://issues.apache.org/jira/browse/SM-5253
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: bundles
>            Reporter: macfa
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Hi, I am currently using the ServiceMix bundle *POI 4.0.1_1* in my OSGI based project and everything works just fine.
> My setup is the Eclipse OSGI framework (org.eclipse.osgi_3.16.300.v20210525-1715) and java 11 (openjdk 11.0.15).
> Since several vulnerabilities have been found, I want to finally upgrade to the latest version, which is {*}5.2.2_2{*}.
> While the application is starting up, a following exception appears: 
> {code:java}
> org.osgi.framework.BundleException: Could not resolve module: org.apache.servicemix.bundles.poi [65]
>   Unresolved requirement: Import-Package: org.w3c.dom.svg
>     at org.eclipse.osgi.container.Module.start(Module.java:463)
>     at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1849)
>     at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
>     at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1842)
>     at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1785)
>     at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1747)
>     at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1669)
>     at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
>     at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
>     at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) {code}
> I think that removing this line of code would do: https://github.com/apache/servicemix-bundles/blob/6806c269d2b716fa3dc2eb0e09a1b846b47cf062/poi-5.2.2/pom.xml#L89



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