You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openwebbeans.apache.org by Thomas Andraschko <to...@yahoo.de> on 2011/12/05 14:01:22 UTC
Weird exception when using JSF Converter as bean
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