Marko Lukša [
https://community.jboss.org/people/luksa] created the discussion
"Re: JBossAS 7.1.3.CR1: JBoss Solder doesn't work anymore"
To view the discussion, visit:
https://community.jboss.org/message/761143#761143
--------------------------------------------------------------
This is apparently caused by the changes made in
https://issues.jboss.org/browse/WELD-992
https://issues.jboss.org/browse/WELD-992
Methods added through AfterBeanDiscovery.addObserverMethod() previously didn't fire an
event, but now they do. And the event actually has the annotatedMethod set to null (see
line 45 at
https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/wel...
https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/wel...
)
Basically, Solder needs to handle the null, since it looks like there's no way to get
the AnnotatedMethod from the ObserverMethod passed to addObserverMethod (at least for
now... need to see what CDI1.1 says about this).
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/761143#761143]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]