[ https://issues.apache.org/jira/browse/FELIX-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier resolved FELIX-994. ------------------------------------- Resolution: Fixed Fix Version/s: iPOJO-1.4.0 Fixed at revision 757188. The handler description didn't receive the good/correct list. Jonathan, could you try it and keep me posted? > ClassCastException while Architecture on a composite with a provided service > ---------------------------------------------------------------------------- > > Key: FELIX-994 > URL: https://issues.apache.org/jira/browse/FELIX-994 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: iPOJO-1.2.0 > Environment: Java 1.6, Felix 1.4.0 > Reporter: Jonathan Bardin > Assignee: Clement Escoffier > Fix For: iPOJO-1.4.0 > > > An exception occurred while I try to see the architecture of a composite > which provide a service. > --------------------------------------------------------------------------------------------------------------------------- > metadata > <composite name="RemoteServiceManagerComposite" architecture="true"> > ..... > <instance component="Remote Service Manager" /> > <provides action="export" > specification="fr.imag.adele.homega.framework.remote.compendium.DistributionProvider"/> > </composite> > ---------------------------------------------------------------------------------------------------------------------------- > Exception > -> arch -instance Remote Services Manager > Unable to execute command: java.lang.ClassCastException: > org.apache.felix.ipojo.composite.service.provides.SpecificationMetadata > cannot be cast to > org.apace.felix.ipojo.composite.service.provides.ProvidedService > java.lang.ClassCastException: > org.apache.felix.ipojo.composite.service.provides.SpecificationMetadata > cannot be cast to > org.apache.felix.ipojo.composite.service.provides.ProvidedService > at > org.apache.felix.ipojo.composite.service.provides.ProvidedServiceHandlerDescription.getHandlerInfo(ProvidedServiceHandlerDescription.java:68) > at > org.apache.felix.ipojo.architecture.InstanceDescription.getDescription(InstanceDescription.java:163) > at > org.apache.felix.ipojo.composite.CompositeInstanceDescription.getDescription(CompositeInstanceDescription.java:78) > at > org.apache.felix.ipojo.arch.ArchCommandImpl.__printInstance(ArchCommandImpl.java:172) > at > org.apache.felix.ipojo.arch.ArchCommandImpl.printInstance(ArchCommandImpl.java) > at > org.apache.felix.ipojo.arch.ArchCommandImpl.__execute(ArchCommandImpl.java:103) > at > org.apache.felix.ipojo.arch.ArchCommandImpl.execute(ArchCommandImpl.java) > at > org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:276) > at > org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167) > at java.lang.Thread.run(Unknown Source) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.