I'm not too sure how to find the 8th tag. If I look at each bean, none has at least 8 arguments+properties. Even if I count all arguments+properties starting from the outmost bean, I cannot find 8.
Am I expected to count all tags top bottom, not taking care of beans? In that case, as I have several xml files, is the order predictable? Cheers, JP [@@ THALES GROUP INTERNAL @@] De : Achim Nierbeck [mailto:[email protected]] Envoyé : vendredi 31 mai 2013 18:50 À : [email protected] Objet : Re: Decode Karaf error message! Yes, usually you need to tell which kind of Value it is, sometimes it's safe for Strings but usually not with numbers. For the recipe 8, just count the number of bean/argument/property tags, it's the 8th tag that does have an issue in your case it's the embedded ben for the color class. regards, Achim 2013/5/31 CLEMENT Jean-Philippe <[email protected]<mailto:[email protected]>> If I understand, you mean that it could be an argument or property ambiguity? PS: is there a way to find which bean corresponds to the "recipe 8"? JP [@@ OPEN @@] De : Achim Nierbeck [mailto:[email protected]<mailto:[email protected]>] Envoyé : vendredi 31 mai 2013 18:41 À : [email protected]<mailto:[email protected]> Objet : Re: Decode Karaf error message! You probably need to set the argument types for the values, like java.lang.String ... regards, Achim 2013/5/31 CLEMENT Jean-Philippe <[email protected]<mailto:[email protected]>> Achim, Please find attached the xml file. Cheers, Jean-Philippe [@@ OPEN @@] De : Achim Nierbeck [mailto:[email protected]<mailto:[email protected]>] Envoyé : vendredi 31 mai 2013 18:33 À : [email protected]<mailto:[email protected]> Objet : Re: Decode Karaf error message! Could you give us your blueprint.xml, obviously it is wrong. That's why it gives you this rather not so nice error message :) regards, Achim 2013/5/31 CLEMENT Jean-Philippe <[email protected]<mailto:[email protected]>> Dear Karaf team, Starting a bundle which uses blueprint gives me the error message: ComponentDefinitionException: Unable to convert value BeanRecipe[name='#recipe-8'] to type class java.lang.Object So? What does this means? What am I expected to do... how to find the "recipe 8" bean? Any help is welcome! Cheers, Jean-Philippe PS: How can anything in Java could not be converted to Object as everything is Object? [@@ OPEN @@] -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/> -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/> -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
