[jira] [Created] (ARIES-1904) NPE in topology manager activator

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

[jira] [Created] (ARIES-1904) NPE in topology manager activator

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

             Summary: NPE in topology manager activator
                 Key: ARIES-1904
                 URL: https://issues.apache.org/jira/browse/ARIES-1904
             Project: Aries
          Issue Type: Bug
          Components: Remote Service Admin
    Affects Versions: rsa-1.13.0
            Reporter: Amichai Rothman


I just tried upgrading from 1.11.0 to 1.13.0 and got this NullPointerException (never happened before):


09:59:50.006 [main] DEBUG o.o.p.e.k.c.i.KarafTestContainer - Shutting down the test container (Pax Runner)
org.apache.karaf.features.internal.util.MultiException: Error restarting bundles:
        Exception in org.apache.aries.rsa.topologymanager.Activator.start() of bundle org.apache.aries.rsa.topology-manager.
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1005)
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1058)
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:994)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
        Suppressed: org.osgi.framework.BundleException: Exception in org.apache.aries.rsa.topologymanager.Activator.start() of bundle org.apache.aries.rsa.topology-manager.
                at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:800)
                at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
                at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:933)
                at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
                at org.eclipse.osgi.container.Module.doStart(Module.java:581)
                at org.eclipse.osgi.container.Module.start(Module.java:449)
                at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383)
                at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
                at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:161)
                at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1149)
                at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:997)
                ... 6 more
        Caused by: java.lang.NullPointerException
                at org.apache.aries.rsa.topologymanager.exporter.ServiceExportsRepository$ExportRegistrationHolder.<init>(ServiceExportsRepository.java:60)
                at org.apache.aries.rsa.topologymanager.exporter.ServiceExportsRepository.addService(ServiceExportsRepository.java:99)
                at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.doExport(TopologyManagerExport.java:170)
                at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.serviceChanged(TopologyManagerExport.java:99)
                at org.apache.aries.rsa.topologymanager.Activator.exportExistingServices(Activator.java:135)
                at org.apache.aries.rsa.topologymanager.Activator.doStart(Activator.java:111)
                at org.apache.aries.rsa.topologymanager.Activator$1.addingService(Activator.java:74)
                at org.apache.aries.rsa.topologymanager.Activator$1.addingService(Activator.java:68)
                at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
                at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)
                at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
                at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
                at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318)
                at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)
                at org.apache.aries.rsa.topologymanager.Activator.start(Activator.java:87)
                at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
                at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
                at java.security.AccessController.doPrivileged(Native Method)
                at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
                ... 16 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)