You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Sauthier (JIRA)" <ji...@apache.org> on 2013/02/03 11:58:12 UTC

[jira] [Closed] (FELIX-3843) ClassCastException when listing service properties of a non-ComponentFactory Factory service

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

Guillaume Sauthier closed FELIX-3843.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: ipojo-runtime-1.10

Fixed in trunk
                
> ClassCastException when listing service properties of a non-ComponentFactory Factory service
> --------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3843
>                 URL: https://issues.apache.org/jira/browse/FELIX-3843
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-core-1.8.4
>            Reporter: Guillaume Sauthier
>            Assignee: Guillaume Sauthier
>             Fix For: ipojo-runtime-1.10
>
>
> Here is the stack trace :
> java.lang.ClassCastException: org.ow2.shelbie.core.internal.extension.CommandFactory cannot be cast to org.apache.felix.ipojo.ComponentFactory
>         at org.apache.felix.ipojo.architecture.ComponentTypeDescription.getDescription(ComponentTypeDescription.java:256)[57:org.apache.felix.ipojo:1.8.4]
>         at org.apache.felix.ipojo.architecture.ComponentTypeDescription.toString(ComponentTypeDescription.java:83)[57:org.apache.felix.ipojo:1.8.4]
>         at org.apache.karaf.shell.osgi.ListBundleServices.getValueString(ListBundleServices.java:162)[39:org.apache.karaf.shell.osgi:2.3.0]
>         at org.apache.karaf.shell.osgi.ListBundleServices.printProperties(ListBundleServices.java:101)[39:org.apache.karaf.shell.osgi:2.3.0]
>         at org.apache.karaf.shell.osgi.ListBundleServices.printServices(ListBundleServices.java:80)[39:org.apache.karaf.shell.osgi:2.3.0]
>         at org.apache.karaf.shell.osgi.ListBundleServices.doExecute(ListBundleServices.java:47)[39:org.apache.karaf.shell.osgi:2.3.0]
>         at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)[39:org.apache.karaf.shell.osgi:2.3.0]
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.karaf.shell.console.jline.Console.run(Console.java:175)[14:org.apache.karaf.shell.console:2.3.0]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira