[
https://issues.jboss.org/browse/RF-12455?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč edited comment on RF-12455 at 9/5/12 5:25 AM:
---------------------------------------------------------
We have discussed this with Bernard on IRC, it's really simple to fix, just needs to
be properly tested.
I think it should be included in {{4.3.0.M2}}.
was (Author: lfryc):
We have discussed this with Bernard on IRC, it's really simple to fix, just needs
to be properly tested.
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)
Affects Versions: 4.2.2.Final
Environment: as 7.1.1.Final, jboss-jsf-api-2.1_spec
Reporter: Bernard Labno
Priority: Critical
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