You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/07/25 16:12:35 UTC

[jira] [Resolved] (ARIES-884) ClassCastException in JMX when installing some bundles

     [ https://issues.apache.org/jira/browse/ARIES-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved ARIES-884.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: jmx-core-1.0.1

Fixed in rev http://svn.apache.org/viewvc?rev=1365595&view=rev
                
> ClassCastException in JMX when installing some bundles
> ------------------------------------------------------
>
>                 Key: ARIES-884
>                 URL: https://issues.apache.org/jira/browse/ARIES-884
>             Project: Aries
>          Issue Type: Bug
>          Components: JMX
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: jmx-core-1.0.1
>
>
> {code}
> 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)
> {code}
> This happen when installing the {{ mvn:org.apache.felix/org.apache.felix.framework.security/2.0.1}} bundle for example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira