I'm not sure if I did you get right, but if you have an id attribute in
your bean it should tell you the bean id instead of recipe 8.

regards, Achim


2013/6/3 CLEMENT Jean-Philippe <[email protected]>

> Ok, I didn’t count the beans tag! Now it is clear :)****
>
> ** **
>
> Is there a way to obtain the root bean name in the stack trace?****
>
> ** **
>
> Cheers,****
>
> JP****
>
> ** **
>
> [@@ OPEN @@]****
>
> ** **
>
> *De :* Achim Nierbeck [mailto:[email protected]]
> *Envoyé :* lundi 3 juin 2013 13:48
>
> *À :* [email protected]
> *Objet :* Re: Decode Karaf error message!****
>
> ** **
>
> Well the xml file you send as attachment last time had the 8th tag /
> element at this exact position, no?****
>
> ** **
>
> 1          <bean id="CenterPanelFactory"
> class="com.tus.gc.impl.view.swing.JPanelFactory"****
>
>                         factory-method="staticFactory" />****
>
> ** **
>
> 2          <bean id="CenterGlue"
> class="com.tus.gc.impl.view.swing.ComponentGlue">****
>
> 3                      <argument ref="CenterPanelFactory" />****
>
> 4                      <property name="constraint" value="Center" />****
>
> 5                      <property name="decorator">****
>
> 6                                 <bean
> class="com.tus.gc.impl.view.swing.ComponentColor">****
>
> 7                                             <property name="background">
> ****
>
> 8                                                         <bean
> class="java.awt.Color">****
>
> ** **
>
> ** **
>
> regards, Achim ****
>
> ** **
>
> 2013/6/3 CLEMENT Jean-Philippe <[email protected]>*
> ***
>
> 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]>
> ****
>
> 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]]
> *Envoyé :* vendredi 31 mai 2013 18:41****
>
>
> *À :* [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]>
> ****
>
> Achim,****
>
>  ****
>
> Please find attached the xml file.****
>
>  ****
>
> Cheers,****
>
> Jean-Philippe****
>
>  ****
>
> [@@ OPEN @@]****
>
>  ****
>
> *De :* Achim Nierbeck [mailto:[email protected]]
> *Envoyé :* vendredi 31 mai 2013 18:33
> *À :* [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]>
> ****
>
> 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/> ****
>
>
>
> ****
>
> ** **
>
> --
>
> 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/>

Reply via email to