openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <tommygrass...@yahoo.de>
Subject Weird exception when using JSF Converter as bean
Date Mon, 05 Dec 2011 13:01:22 GMT
Hi,

we have a problem when we use a JSF converter as bean.
It's a simple JSF converter:
    - with an injected DAO
    - which is annotated with @ApplicationScoped and @Named 
    - and also implements Serializable.
    - used with converter="#{roleConverter}"

The weird thing is, it does not occur if we use the converter with a p:pickList but it does
occur if we use it with p:selectOneMenu.

Here is the exception:
javax.enterprise.inject.UnproxyableResolutionException: WebBeans with api type with normal
scope must be proxiable to inject. 
xxx.RoleConverter_$$_javassist_82 has final method protected final void 
xxx.RoleConverter_$$_javassist_82.finalize() throws java.lang.Throwable CDI doesn't allow
that.


We use: OWB 1.1.2, MyFaces 2.1.3 and CODI 1.0.1 and do not override the finalize method in
our converter!
How can i solve this?

Best regards
Thomas

Mime
View raw message