Uploaded image for project: 'infrautils'
  1. infrautils
  2. INFRAUTILS-49

SFT failure due to java.lang.IllegalStateException: This connector server is not attached to an MBean server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Fluorine
    • Fix Version/s: Fluorine-SR1, Neon
    • Component/s: None
    • Labels:
      None

      Description

      https://lists.opendaylight.org/pipermail/infrautils-dev/2018-August/000773.html hit:

      Tests in error: 
        diag failed; some bundles failed to start
      diag: Failure {Installed=0, Resolved=4, Unknown=0, GracePeriod=7, Waiting=0, Starting=0, Active=305, Stopping=0, Failure=1}
      1. NOK org.opendaylight.infrautils.diagstatus-impl:1.4.0.SNAPSHOT: OSGi state = Active, Karaf bundleState = Failure, due to: Blueprint
      8/28/18 8:06 PM
      Exception: 
      org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean diagStatusServiceMBeanImpl of class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
      org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean diagStatusServiceMBeanImpl of class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
      	at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:310)
      	at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:252)
      	at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:149)
      	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
      	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)
      	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:704)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:410)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:275)
      	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)
      	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)
      	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)
      	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
      	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher$2.call(EquinoxEventPublisher.java:239)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1298)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java:1278)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.notifyEventHooksPrivileged(EquinoxEventPublisher.java:236)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:194)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
      	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
      	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
      	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
      	at org.eclipse.osgi.container.Module.start(Module.java:467)
      	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.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1361)
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:894)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1248)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$1(FeaturesServiceImpl.java:1147)
      	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)
      Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean diagStatusServiceMBeanImpl of class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
      	at org.apache.aries.blueprint.container.BeanRecipe.wrapAsCompDefEx(BeanRecipe.java:361)
      	at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromType(BeanRecipe.java:351)
      	at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:282)
      	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:830)
      	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)
      	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
      	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)
      	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)
      	at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:285)
      	... 39 more
      Caused by: java.lang.IllegalStateException: This connector server is not attached to an MBean server
      	at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:355)
      	at org.opendaylight.infrautils.diagstatus.MBeanUtils.startRMIConnectorServer(MBeanUtils.java:78)
      	at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl.lambda$onSystemBootReady$0(DiagStatusServiceMBeanImpl.java:73)
      	at java.util.Optional.ifPresent(Optional.java:159)
      	at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl.onSystemBootReady(DiagStatusServiceMBeanImpl.java:71)
      	at org.opendaylight.infrautils.ready.internal.SystemReadyImpl.registerListener(SystemReadyImpl.java:142)
      	at Proxy8dc1aa20_0a95_4a52_97bb_998b518461d9.registerListener(Unknown Source)
      	at Proxy7633ad8a_6bb1_4dbe_b297_81b1181015b0.registerListener(Unknown Source)
      	at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl.<init>(DiagStatusServiceMBeanImpl.java:65)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at org.apache.aries.blueprint.utils.ReflectionUtils.newInstance(ReflectionUtils.java:331)
      	at org.apache.aries.blueprint.container.BeanRecipe.newInstance(BeanRecipe.java:984)
      	at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromType(BeanRecipe.java:349)
      	... 48 more
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              vorburger Michael Vorburger
              Reporter:
              vorburger Michael Vorburger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: