[JBoss JIRA] Created: (RF-8558) richfaces-demo - Ajax Support - java.util.ConcurrentModificationException
by Lukas Fryc (JIRA)
richfaces-demo - Ajax Support - java.util.ConcurrentModificationException
--------------------------------------------------------------------------
Key: RF-8558
URL: https://jira.jboss.org/jira/browse/RF-8558
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JSF 2.0
Affects Versions: 3.3.3.Final
Environment: richfaces-demo-jsf2-3.3.3.Final-tomcat6.war
Apache Tomcat 6.0.24 (on Linux, IcedTea6 1.6.1)
Firefox 3.6 (on Windows 2003 Server)
Reporter: Lukas Fryc
I cannot reproduce it anymore, but I got following stacktrace in this scenario:
1. open richfaces-demo
2. open "Ajax Support" component
3. accidentaly type into AjaxSupport Demo's text input
Mar 31, 2010 10:15:02 AM com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/richfaces/support.xhtml]
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$EntryIterator.next(HashMap.java:834)
at java.util.HashMap$EntryIterator.next(HashMap.java:832)
at org.ajax4jsf.component.UIDataAdaptorBase.createChildStateCopy(UIDataAdaptorBase.java:887)
at org.ajax4jsf.component.UIDataAdaptorBase.saveState(UIDataAdaptorBase.java:1554)
at org.ajax4jsf.component.html.HtmlAjaxRepeat.saveState(HtmlAjaxRepeat.java:24)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1135)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1151)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1151)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1151)
at javax.faces.component.UIComponentBase.processSaveState(UIComponentBase.java:1151)
at org.ajax4jsf.component.AjaxViewRoot.processSaveState(AjaxViewRoot.java:751)
at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:134)
at javax.faces.application.StateManager.saveSerializedView(StateManager.java:183)
at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:64)
at javax.faces.application.StateManagerWrapper.saveSerializedView(StateManagerWrapper.java:82)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:615)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
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:313)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
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:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (RF-8571) photoalbum - WebKit - Search by fulltext doesn't work
by Lukas Fryc (JIRA)
photoalbum - WebKit - Search by fulltext doesn't work
-----------------------------------------------------
Key: RF-8571
URL: https://jira.jboss.org/jira/browse/RF-8571
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.Final
Environment: WebKit browsers - Safari 4.0.4, Chromium 5.0.307.11 (39572)
photoalbum-ear-3.3.3.Final.ear with richfaces-impl-jsf2
JBoss AS 5.1.0.GA with JSF 2.0.2 libs
Reporter: Lukas Fryc
1. open /photoalbum
2. type keyword for search into Search input (e.g. "Nature" as album name)
3. click to Find
4. FAIL: the index page is displayed instead of search results
(note that when you select another page at first (e.g. open Water > Water album between steps 1 and 2), this page is as a result of failure in step 4)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (RF-8575) tree: reRender failed used with ajaxKeys and defined with just nested components Id's
by Ilya Shaikovsky (JIRA)
tree: reRender failed used with ajaxKeys and defined with just nested components Id's
--------------------------------------------------------------------------------------
Key: RF-8575
URL: https://jira.jboss.org/jira/browse/RF-8575
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.CR1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<style>
.col1, .col2 {
width:50%;
vertical-align:top;
}
.rich-table-cell, .rich-table{
border:none;
}
.indicatorPicture {
width: 80px;
}
</style>
<rich:dragIndicator id="indicator1" >
<f:facet name="single">
<h:graphicImage styleClass="indicatorPicture" value="/richfaces/jQuery/images/{draggedImage}" />
</f:facet>
</rich:dragIndicator>
<rich:dragIndicator id="indicator2" />
<h:form>
<h:panelGrid columns="2" width="100%" columnClasses="col1,col2">
<rich:tree ajaxKeys="#{simpleTreeDndBean.ajaxKeys}" style="width:300px" nodeSelectListener="#{simpleTreeDndBean.processSelection}" preserveModel="none"
ajaxSubmitSelection="true" switchType="client" dragIndicator="indicator2"
value="#{simpleTreeDndBean.treeNode}" var="item" id="tree" treeNodeVar="treeNode"
dropListener="#{simpleTreeDndBean.dropListener}" nodeFace="#{treeNode.parent.parent == null ? 'node' : 'leaf'}" ajaxNodeSelectionEncodeBehavior="none">
<rich:treeNode reRender="cm" type="node" acceptedTypes="pic" icon="#{treeNode.icon}" iconLeaf="#{treeNode.leafIcon}">
<h:outputText value="#{item}"/>
<a4j:outputPanel id="cm">
<rich:contextMenu event="oncontextmenu" rendered="#{treeNode.selected}">
<rich:menuItem value="123"/>
</rich:contextMenu>
</a4j:outputPanel>
</rich:treeNode>
<rich:treeNode type="leaf" dragType="pic">
<rich:dndParam name="label" type="drag">#{item}</rich:dndParam>
<h:outputText value="#{item}"/>
</rich:treeNode>
</rich:tree>
<rich:panel id="selectedNode">
<rich:dataGrid id="selectedNodeGrid" style="display: #{!empty simpleTreeDndBean.selectedNodeChildren ? '' : 'none'}" value="#{simpleTreeDndBean.selectedNodeChildren}" var="item" columns="3" border="0">
<rich:dragSupport dragIndicator="indicator1" dragType="pic" dragValue="#{item}" reRender="selectedNodeGrid">
<rich:dndParam name="draggedImage" value="#{item.data}"/>
</rich:dragSupport>
<h:graphicImage value="/richfaces/jQuery/images/#{item.data}" />
</rich:dataGrid>
</rich:panel>
</h:panelGrid>
</h:form>
<a4j:log popup="false"></a4j:log>
</ui:composition>
All the node updated instead if ajaxKey present (does it should? Seems no) and the reRender of nested component(cm) shows error in log like
warn[20:07:02,571]: Node for replace by response with id j_id522:tree:cm not found in document
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months