[jira] [Created] (ARIES-1907) IllegalStateException when stopping bundle

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (ARIES-1907) IllegalStateException when stopping bundle

JIRA jira@apache.org
Amichai Rothman created ARIES-1907:
--------------------------------------

             Summary: 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


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)