[richfaces-issues] [JBoss JIRA] Commented: (RF-7248) a4j creates infinite HashMap.get loop

giuseppe bottura (JIRA) jira-events at lists.jboss.org
Fri May 6 10:19:19 EDT 2011


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

giuseppe bottura commented on RF-7248:
--------------------------------------

Hi, we are facing the same 100%CPU problem with an application that is in production. We are using RichFaces 3.3.3 final;
since we cannot move to RichFaces 4, and it seems that there is no plan to release 3.3.4 (https://issues.jboss.org/browse/RF/fixforversion/12314617), we think to test the fix available  on http://dl.dropbox.com/u/12264764/richfaces-impl-3.3.3.Final.jar 

Looking around on the forums, I found also the suggestion to setup org.ajax4jsf.SERIALIZE_SERVER_STATE=true, but I didnt' find any feedback about the successful appliance of this tip.

Thanks in advance for any feedback 

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list