5 Replies Latest reply on Sep 17, 2007 3:46 PM by Brian Parkinson

    UnboundedFifoBuffer problem

    Brian Parkinson Newbie

      Hello:

      I'm using JBoss4.2.1, and working with the sample app as outlined in:

      http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html_single/index.html

      My JSF page contains:

      <f:view>
      <h:form>
      <rich:panel header="Simple Echo">
      <h:inputText size="50" value="#{bean.text}" >
      <a4j:support event="onkeyup" reRender="rep"/>
      </h:inputText>
      <h:outputText value="#{bean.text}" id="rep"/>
      </rich:panel>
      </h:form>
      </f:view>

      and on initial display, works fine, and displays the #{bean.text} property fine.

      If I type a character in the text box, I immediately get an error:


      javax.servlet.ServletException: org.apache.commons.collections.UnboundedFifoBuffer
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      root cause

      java.lang.ArrayStoreException: org.apache.commons.collections.UnboundedFifoBuffer
      org.ajax4jsf.component.AjaxViewRoot.clearEvents(AjaxViewRoot.java:251)
      org.ajax4jsf.component.AjaxViewRoot.getEvents(AjaxViewRoot.java:231)
      org.ajax4jsf.component.AjaxViewRoot.getEventsQueue(AjaxViewRoot.java:223)
      ...
      ...


      I had to include commons-beanutils and commons-digester1.8.jar. Do I need specific versions of these?

      Any ideas - help is appreciated.


      parki...