Hi, currently i am trying to add a @Produces annotation in a method during the ProcessAnnotatedType phase. The funny part is that after that phase, in the ProcessProducer phase, my class is listed as a producer... But when i trying to lookup the produced object the weld container throws a exception:
[java]
WELD-001324 Argument bean must not be null
[/java]
Do you have any tips?
Cheers
I used the deltaspike project to add @Produces to my annotatedMethod and it worked. Probably i was doing something wrong