[ https://issues.apache.org/jira/browse/MYFACES-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17696987#comment-17696987 ]
Thomas Andraschko commented on MYFACES-4578: -------------------------------------------- please provide a reproducer > Quarkus 3: UnsupportedOperation in BeanManager > ---------------------------------------------- > > Key: MYFACES-4578 > URL: https://issues.apache.org/jira/browse/MYFACES-4578 > Project: MyFaces Core > Issue Type: Bug > Components: Extension Feature > Affects Versions: 4.0.0-RC5 > Reporter: Melloware > Priority: Major > > Getting this error not in native mode just running in *quarkus:dev* mode. > Java code using OmniFaces works in Qaurkus2 and outside of Quarkus: > {code:java} > public void rebuildView() { > log.info("OmniFaces rebuildView()"); > Messages.addInfo("cdiViewScopedForm", "Rebuild view invoked: {0}", > this); > Faces.setViewRoot(Faces.getViewId()); > }{code} > > > {code:java} > Caused by: java.lang.UnsupportedOperationException > at > io.quarkus.arc.impl.BeanManagerImpl.getPassivationCapableBean(BeanManagerImpl.java:109) > at > org.apache.myfaces.cdi.util.ContextualStorage.getBean(ContextualStorage.java:168) > at > org.apache.myfaces.cdi.util.AbstractContextualStorageHolder.destroyAll(AbstractContextualStorageHolder.java:213) > at > org.apache.myfaces.cdi.util.AbstractContextualStorageHolder.destroyAll(AbstractContextualStorageHolder.java:249) > at > org.apache.myfaces.cdi.view.ViewScopeContextualStorageHolder_ClientProxy.destroyAll(Unknown > Source) > at > org.apache.myfaces.cdi.view.ViewScopeContext.destroyAll(ViewScopeContext.java:221) > at > org.apache.myfaces.cdi.view.ViewScopeCDIMap.clear(ViewScopeCDIMap.java:147) > at > org.apache.myfaces.view.ViewScopeProxyMap.clear(ViewScopeProxyMap.java:151) > at > org.apache.myfaces.context.servlet.FacesContextImplBase.setViewRoot(FacesContextImplBase.java:303) > at org.omnifaces.util.FacesLocal.setViewRoot(FacesLocal.java:489) > at org.omnifaces.util.Faces.setViewRoot(Faces.java:738) > at > io.quarkiverse.omnifaces.it.OmniCdiViewScopedBean.rebuildView(OmniCdiViewScopedBean.java:72) > at > io.quarkiverse.omnifaces.it.OmniCdiViewScopedBean_ClientProxy.rebuildView(Unknown > Source) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.apache.el.parser.AstValue.invoke(AstValue.java:253) {code} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)