[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-dev
Subject:    [jira] Updated: (TAPESTRY-335) Incorrect object injection
From:       "Roman Krutyakov (JIRA)" <tapestry-dev () jakarta ! apache ! org>
Date:       2005-05-25 6:17:55
Message-ID: 463591660.1117001875248.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/TAPESTRY-335?page=all ]

Roman Krutyakov updated TAPESTRY-335:
-------------------------------------

    Attachment: stack_trace.txt

This is stack trace for this error. Exception was thrown when i tryed to inject \
Spring bean, created with Spring-AOP

> Incorrect object injection
> --------------------------
> 
> Key: TAPESTRY-335
> URL: http://issues.apache.org/jira/browse/TAPESTRY-335
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Roman Krutyakov
> Attachments: stack_trace.txt
> 
> During object injection (via <inject> tag) property type defined in code is used \
> only for checking injection correctness (in InjectObjectWorker). During enhancement \
> EnhancementOperationImpl resolves injected object type by invoking its getClass() \
> method and dont use type from property declaration. This behaviour may be cause of \
> exceptions in case when injected object is generated at runtime (with AOP) and its \
> type cant be resolved by classloader.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic