Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9019

Bundle "Topology :: Plugins :: Net Utils" fails to start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0.0
    • Fix Version/s: 19.0.0
    • Component/s: Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Jan 25th, Horizon - Feb 1st

      Description

      The Bundle "Topology :: Plugins :: Net Utils" fails to start.

      This bundle contains the "Events/alarms Info", "Node Info", "Resource Graphs" and "Ping" Operations from the context menu for the topology map.

      At some point this broke.
      Our smoke tests did not catch this.
      We should add tests to catch this in the future.

      The following exception occurs in karaf.log:

      org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: org.apache.aries.proxy.UnableToProxyException: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file Proxyd29548f1_6b6e_4feb_a0b3_72cee91a5d98
      	at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:309)
      	at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:251)
      	at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:148)
      	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_112]
      	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
      	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
      	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)
      	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)
      	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)
      	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)
      	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)
      	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.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127)
      	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)
      	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)
      	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2100)
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
      	at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:37)
      	at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)
      	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[17:org.apache.karaf.shell.console:2.4.3]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:195)
      	at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:167)[25:org.apache.karaf.shell.ssh:2.4.3]
      	at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:126)
      	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_112]
      	at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[16:org.apache.karaf.jaas.modules:2.4.3]
      	at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:124)[25:org.apache.karaf.shell.ssh:2.4.3]
      Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: org.apache.aries.proxy.UnableToProxyException: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file Proxyd29548f1_6b6e_4feb_a0b3_72cee91a5d98
      	at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:122)
      	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_112]
      	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.BeanRecipe.getInstance(BeanRecipe.java:268)
      	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:806)
      	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)
      	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_112]
      	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:284)
      	... 42 more
      Caused by: org.apache.aries.proxy.UnableToProxyException: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file Proxyd29548f1_6b6e_4feb_a0b3_72cee91a5d98
      	at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:165)
      	at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:95)
      	at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
      	at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)
      	at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:40)
      	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:338)
      	at org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:106)
      	... 56 more
      Caused by: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file Proxyd29548f1_6b6e_4feb_a0b3_72cee91a5d98
      	at java.lang.ClassLoader.defineClass1(Native Method)[:1.8.0_112]
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)[:1.8.0_112]
      	at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:157)
      	... 62 more
      

        Attachments

          Activity

            People

            Assignee:
            mvr Markus von Rüden
            Reporter:
            mvr Markus von Rüden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: