[ https://issues.apache.org/jira/browse/ARIES-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841264#comment-16841264 ]
ASF subversion and git services commented on ARIES-1907: -------------------------------------------------------- Commit 540999b50122b0ba47fdc5762feab0dd2282ff03 in aries-rsa's branch refs/heads/master from Amichai Rothman [ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=540999b ] 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)