You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2019/05/16 12:18:00 UTC
[jira] [Resolved] (ARIES-1907) IllegalStateException when stopping
bundle
[ https://issues.apache.org/jira/browse/ARIES-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider resolved ARIES-1907.
----------------------------------------
Resolution: Fixed
Assignee: Christian Schneider
Fix Version/s: rsa-1.14.0
> IllegalStateException when stopping bundle
> ------------------------------------------
>
> Key: ARIES-1907
> URL: https://issues.apache.org/jira/browse/ARIES-1907
> Project: Aries
> Issue Type: Bug
> Components: Remote Service Admin
> Affects Versions: rsa-1.14.0
> Reporter: Amichai Rothman
> Assignee: Christian Schneider
> Priority: Major
> Fix For: rsa-1.14.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Happened during the automated build on a PR in github - [https://github.com/apache/aries-rsa/pull/20#issuecomment-477604538.] Here is the stack trace from the build log:
>
> ERROR: Bundle org.apache.aries.rsa.core [21] ServiceRegistrationImpl: Error ungetting service. (java.lang.IllegalStateException: Invalid BundleContext.)
> java.lang.IllegalStateException: Invalid BundleContext.
> at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:511)
> at org.apache.felix.framework.BundleContextImpl.getBundle(BundleContextImpl.java:114)
> at org.apache.aries.rsa.core.RemoteServiceAdminInstance.close(RemoteServiceAdminInstance.java:83)
> at org.apache.aries.rsa.core.RemoteServiceadminFactory.ungetService(RemoteServiceadminFactory.java:49)
> at org.apache.aries.rsa.core.RemoteServiceadminFactory.ungetService(RemoteServiceadminFactory.java:28)
> at org.apache.felix.framework.ServiceRegistrationImpl.ungetFactoryUnchecked(ServiceRegistrationImpl.java:388)
> at org.apache.felix.framework.ServiceRegistrationImpl.ungetService(ServiceRegistrationImpl.java:286)
> at org.apache.felix.framework.ServiceRegistry.ungetService(ServiceRegistry.java:470)
> at org.apache.felix.framework.ServiceRegistry.ungetServices(ServiceRegistry.java:529)
> at org.apache.felix.framework.Felix.stopBundle(Felix.java:2638)
> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1389)
> at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
> at java.lang.Thread.run(Thread.java:748)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)