Hi, On 05.04.11 17:56, "Cédric Casenove" <[email protected]> wrote:
> >Hi, > >I encountered the error "A methodID cannot be associated with a method >from >the POJO class". > >I am using iPojo 1.6.4, and the error seems to happen when I specify a >factory method on my components (with annotation like >@Component(...,factory_method="getInstance") > >I try to debug a little bit and I found that in the method >getMethodById(String methodId) of the InstanceManager where this message >is >logged, the methodId parameter contains the fully qualified name of my >class, not a method name. If I look at the createObject() method, when a >factory method is specified, this is indeed the classname that is passed >to >the onEntry() method (that seems to expect a method name). > >I am not sure at all to understand what's really goes on in the code and >if >this strange parameter really causes the error. This message is not logged using the correct log level, should be INFO / DEBUG. You can safely ignore it. Regards, Clement > >Thanks. >-- >View this message in context: >http://old.nabble.com/iPojo---A-methodID-cannot-be-associated-with-a-metho >d-from-the-POJO-class-tp31325587p31325587.html >Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

