[ 
https://issues.jboss.org/browse/RF-7248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935822#comment-12935822
 ] 

Dennis Hermsdorf commented on RF-7248:
--------------------------------------

Hello Nick,

I applied these changes and rebuild a new richfaces-impl-jsf2-3.3.3.Final.jar, 
but the problem is not gone. I haven't done any rebuilds of Richfaces before 
and maybe I did something wrong. Can you possibly provide me a rebuild of this 
version including this fix? I hope you can help, we are facing this issue at a 
large customer in production. Unfortunately an update of Richfaces to a higher 
version is not doable at this moment.

Together with this fix, I also use the mentioned value in the web.xml:

<context-param>
                <param-name>org.ajax4jsf.SERIALIZE_SERVER_STATE</param-name>
                <param-value>true</param-value>
</context-param>

Maybe this conflicts with the patched code? I can try to remove that anyway

Sincerely,
Dennis
                
> a4j creates infinite HashMap.get loop
> -------------------------------------
>
>                 Key: RF-7248
>                 URL: https://issues.jboss.org/browse/RF-7248
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 3.3.0, 3.3.3.Final
>            Reporter: Nida Cibulskyte
>            Assignee: Nick Belaevski
>              Labels: ENT
>             Fix For: 3.3.1.SP2, 3.3.4.BETA1
>
>         Attachments: infinite_loop.JPG, screenshot-1.jpg
>
>
> Concurrent requests on a4j components causes infinite loop. While one request 
> is being proccessed by restoreChildState method, another request is senT for 
> proccessing. It causes the code to get stuck in hashmap.get() as the hashmap 
> is not synchronized and causes infinite loop.
> 2009 05 25 09:41:43 ERROR demo.NameBean  - 
> java.util.HashMap.get(HashMap.java:303)
> 2009 05 25 09:41:43 ERROR demo.NameBean  - 
> org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:965)
> 2009 05 25 09:41:43 ERROR demo.NameBean  - 
> org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
> 2009 05 25 09:41:43 ERROR demo.NameBean  - 
> org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
> .......................

--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to