[
https://issues.jboss.org/browse/RF-12455?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12455:
-------------------------------
Component/s: component-validators
UnsupportedOperationException when rich:validator needs to fall back
to ajax
----------------------------------------------------------------------------
Key: RF-12455
URL:
https://issues.jboss.org/browse/RF-12455
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-validators
Affects Versions: 4.2.2.Final
Environment: as 7.1.1.Final, jboss-jsf-api-2.1_spec
Reporter: Bernard Labno
Assignee: Bernard Labno
Priority: Critical
Fix For: 4.3.0.M2
In JSF 2.0 UIComponent impemented method... but since JSF 2.1 it throws
UnsuportedOperationException. To avoid that components should extend UIComponentBase.
In RF only UITransient extends UIComponent directly, and UITransient is extended by
UIResource and UIScripts.
{code}
Here is stacktrace of exception:
java.lang.UnsupportedOperationException
at
javax.faces.component.UIComponent.getListenersForEventClass(UIComponent.java:2211)
at
com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2109)
at
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:288)
at
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
at
org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:293)
at
javax.faces.component.UIComponentBase.disconnectFromView(UIComponentBase.java:2228)
at
javax.faces.component.UIComponentBase.disconnectFromView(UIComponentBase.java:2236)
at
javax.faces.component.UIComponentBase.doPreRemoveProcessing(UIComponentBase.java:1892)
at javax.faces.component.UIComponentBase.setParent(UIComponentBase.java:388)
at
javax.faces.component.UIComponentBase$FacetsMap.remove(UIComponentBase.java:2958)
at
javax.faces.component.UIComponentBase$FacetsMap.remove(UIComponentBase.java:2901)
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.reapplyDynamicAdd(FaceletViewHandlingStrategy.java:1967)
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.reapplyDynamicActions(FaceletViewHandlingStrategy.java:1941)
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:813)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at
org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:161)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:662)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira