4 Replies Latest reply on Dec 20, 2007 3:35 PM by Alexander Smirnov

    Firefox a4j:push FireFox/Mozilla problem

    joselitol Newbie

      Hi people,

      i´m using the a4j:push at my page, just exactly as i found in the examples, and it´s working ok on IE but i´m having some problem with Firefox(2.0.6). When a looked at the Firefox Error console i saw this message:

      "Error: uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://localhost:8080/PAV/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.faces :: anonymous :: line 1131" data: no]"

      Code on My page:

      <a4j:push reRender="documentosFiscais" eventProducer="#{pesquisaDocumentoFiscalBean.addListener}" interval="3000"/>

      Code on my backing bean:

      public void addListener(EventListener listener) {
      synchronized (listener) {
      if (this.listener != listener) {
      this.listener = (PushEventListener) listener;
      Thread th = new Thread(this);


      public void run() {
      try {
      while (true) {
      //refresh the list used on DataTable
      synchronized (listener) {
      listener.onEvent(new EventObject(this));
      } catch (InterruptedException e) {


      Does anyone have any idea of what is happening?