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

Laura Bailey (JIRA) jira-events at lists.jboss.org
Thu Jun 10 02:07:38 EDT 2010


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

Laura Bailey commented on RF-7248:
----------------------------------

Documented as a fixed issue for WFK 1.1:
            Concurrent requests on a4j components caused an infinite loop. If a 
            second request was sent while one request was being processed by 
            <methodname>restoreChildState</methodname>, code would become stuck 
            in the <methodname>hashmap.get()</methodname> method, since the
            hashmap was not synchronized. This has been corrected.

Corrrections appreciated.

> a4j creates infinite HashMap.get loop
> -------------------------------------
>
>                 Key: RF-7248
>                 URL: https://jira.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
>             Fix For: 3.3.4.BETA1, ENT_3.3.1.SP2
>
>         Attachments: 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 contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list