]
Fabio Wang updated WELD-225:
----------------------------
Attachment: beans.xml
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: 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: