We tried to inject a dependent object instance that had InjectionPoint as a parameter and got an java.util.EmptyStackException. When looking at the OWB release notes I found the following:
[OWB-714] - EmptyStackException when accessing an instance that is created by a producer method that has an InjectionPoint as parameter.
I assume that OWB-714 fixes the exception i got.
I tried to replace Instance with javax.inject.Provider and got the following exception
java.lang.ClassCastException: org.apache.webbeans.inject.instance.InstanceImpl cannot be cast to java.lang.String
Does OWB-714 fix both the above exceptions?
Med vänlig hälsning / Best regards
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at firstname.lastname@example.org
, and destroy all copies of this
message and any attachments.