[weld-issues] [JBoss JIRA] Closed: (WELD-225) Calling invocationContext.proceed in Interceptors don't invoke the method of the instance with injected resources

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Nov 2 19:44:06 EST 2009


     [ https://jira.jboss.org/jira/browse/WELD-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-225.
--------------------------



> 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
>         Environment: Apache Tomcat 6.0.20
>            Reporter: Fabio Wang
>            Assignee: Marius Bogoevici
>             Fix For: 1.0.0.CR2
>
>         Attachments: beans.xml, 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