openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arne Limburg <>
Subject Re: Regarding OWB-714
Date Sat, 25 Jan 2014 17:07:04 GMT
Hi Lars-Fredrik,

So you have good chances that at least your first exception is gone with OWB 1.2.x
About the second one (ClassCastException): I am not aware that we fixed an issue like that.
Anyway, we did so much refactoring work in that area between 1.1.x and 1.2.x that it is worse
a try.


Von: Lars-Fredrik Smedberg <<>>
Antworten an: "<>" <<>>
Datum: Freitag, 24. Januar 2014 17:51
An: "<>" <<>>
Betreff: Re: Regarding OWB-714


We are using Websphere which i believe use OWB 1.1.6


On Jan 24, 2014 5:38 PM, "Arne Limburg" <<>>
Hi Lars-Fredrik Smedberg,

At least your issue is in that area. So it may be fixed with that issue. Which version of
OWB are you using?


Von: Lars-Fredrik Smedberg <<>>
Antworten an: "<>" <<>>
Datum: Freitag, 24. Januar 2014 15:51
An: "<>" <<>>
Betreff: Regarding OWB-714


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?

Lars-Fredrik Smedberg

Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

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<>, and destroy all copies
of this
message and any attachments.

View raw message