felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Bigard <obig...@axway.com>
Subject Re: iPojo - A methodID cannot be associated with a method from the POJO class
Date Thu, 12 May 2011 08:35:49 GMT


Hi Clément,

Regarding your answer, is it planned to modify the source code in
InstanceManager class to change the log criticity from ERROR to INFO or
DEBUG as you suggested?

Thanks
Olivier


clement escoffier wrote:
> 
> Hi,
> 
> On 05.04.11 17:56, "Cédric Casenove" <ccasenove@axway.com> 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: users-unsubscribe@felix.apache.org
>>For additional commands, e-mail: users-help@felix.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/iPojo---A-methodID-cannot-be-associated-with-a-method-from-the-POJO-class-tp31325587p31601063.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message