[richfaces-issues] [JBoss JIRA] (RF-12604) "Uncaught TypeError: Cannot read property 'name' of null" when double clicking on a a4j:commandButton

Anthony O. (JIRA) jira-events at lists.jboss.org
Wed Nov 14 03:23:17 EST 2012


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

Anthony O. commented on RF-12604:
---------------------------------

Yes I've signed it, it is now my company who must sign and they will (or already have).
                
> "Uncaught TypeError: Cannot read property 'name' of null" when double clicking on a a4j:commandButton
> -----------------------------------------------------------------------------------------------------
>
>                 Key: RF-12604
>                 URL: https://issues.jboss.org/browse/RF-12604
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core, component-input
>    Affects Versions: 4.2.3.Final
>         Environment: JBoss 7.1.1.Final
>            Reporter: Anthony O.
>            Priority: Blocker
>         Attachments: test.xhtml, TestAction.java
>
>
> I've got a {{a4j:commandButton}} which {{render}} itself and is {{rendered}} if the number of time I've clicked on it is less than 1.
> The problem is that when I click twice on it very quickly, then I've got a "Uncaught TypeError: Cannot read property 'name' of null" from {{jsf.js.xhtml}} and then no more AJAX query can be sent from the UI (all the {{a4j:commandButton}} for example do nothing more), and the status is frozen to the {{start}} facet (my progress.gif is never hidden because neither {{onstop}} nor {{onerror}} methods are called).
> Here is the JS stack :
> {noformat}
> Uncaught TypeError: Cannot read property 'name' of null jsf.js.xhtml:1
> request jsf.js.xhtml:1
> richfaces.queue.submitFirstEntry richfaces-queue.js.xhtml:270
> richfaces.queue.onComplete richfaces-queue.js.xhtml:248
> sendEvent jsf.js.xhtml:1
> response jsf.js.xhtml:1
> richfaces.queue.response richfaces-queue.js.xhtml:413
> jsf.ajax.response richfaces-queue.js.xhtml:50
> onComplete jsf.js.xhtml:1
> req.xmlReq.onreadystatechange jsf.js.xhtml:1
> {noformat}
> I will attach test.xhtml & TestAction.java

--
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


More information about the richfaces-issues mailing list