[weld-issues] [JBoss JIRA] Updated: (WELD-225) Calling invocationContext.proceed in Interceptors don't invoke the method of the instance with injected resources
Fabio Wang (JIRA)
jira-events at lists.jboss.org
Thu Oct 22 08:48:06 EDT 2009
[ https://jira.jboss.org/jira/browse/WELD-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabio Wang updated WELD-225:
----------------------------
Attachment: Game.java
> Calling invocationContext.proceed in Interceptors don't invoke the method of the instance with injected resources
> -----------------------------------------------------------------------------------------------------------------
>
> Key: WELD-225
> URL: https://jira.jboss.org/jira/browse/WELD-225
> Project: Weld
> Issue Type: Bug
> Components: Interceptors and Decorators
> Affects Versions: 1.0.0.CR1
> Reporter: Fabio Wang
> Attachments: Game.java, home.xhtml, Logging.java, LoggingInterceptor.java, template.xhtml
>
>
> Using the numberguess example application, I've created a simple interceptor (LoggingInterceptor) and annotated the Game with the interceptorBinding @Logging. However, when the reset method of the Game is invoked (by the interceptor, with invocationContext.proceed()), the Game instance was not injected with the necessary resources, throwing a NullPointerException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list