[ https://issues.apache.org/jira/browse/FELIX-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548382#comment-13548382 ]
Hudson commented on FELIX-3843: ------------------------------- Integrated in Felix iPOJO Runtime #10 (See [https://builds.apache.org/job/Felix%20iPOJO%20Runtime/10/]) FELIX-3843 ClassCastException when listing service properties of a non-ComponentFactory Factory service * Remove un-needed cast to ComponentFactory (Revision 1430762) Result = SUCCESS guillaume : http://svn.apache.org/viewvc/?view=rev&rev=1430762 Files : * /felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/architecture/ComponentTypeDescription.java > 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 > > 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