[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
Fri Nov 9 07:15:18 EST 2012


Anthony O. created RF-12604:
-------------------------------

             Summary: "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


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