[
https://issues.apache.org/jira/browse/ARIES-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841266#comment-16841266
]
ASF subversion and git services commented on ARIES-1907:
--------------------------------------------------------
Commit 7a70c2c6aaa3b59a266744c23dfce25ee55ea200 in aries-rsa's branch
refs/heads/master from Christian Schneider
[ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=7a70c2c ]
Merge pull request #24 from amichair/ARIES-1907
ARIES-1907 - Fix IllegalStateException when stopping bundle
> 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
> Priority: Major
> 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)