Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
ERROR: Bundle org.apache.aries.jmx [32] EventDispatcher: Error during dispatch. (java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String) java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String at org.apache.aries.jmx.AbstractCompendiumHandler.addingService(AbstractCompendiumHandler.java:80) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262) at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:234) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:941) at org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:927) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:923) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:795) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:544) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4447) at org.apache.felix.framework.Felix.registerService(Felix.java:3462) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:320) at org.apache.felix.framework.SecurityActivator.start(SecurityActivator.java:212) at org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1623) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:654) at org.apache.felix.framework.ExtensionManager.startExtensionBundle(ExtensionManager.java:450) at org.apache.felix.framework.Felix.installBundle(Felix.java:3004) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:157) at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43) at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.karaf.shell.console.jline.Console.run(Console.java:226) at java.lang.Thread.run(Thread.java:680)
This happen when installing the {{ mvn:org.apache.felix/org.apache.felix.framework.security/2.0.1}} bundle for example.