]
Marius Bogoevici resolved WELD-225.
-----------------------------------
Resolution: Done
Fixed.
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: