0 Replies Latest reply on Mar 19, 2009 9:05 AM by andrei vasile

    rich:tree + java.lang.StringIndexOutOfBoundsException: Strin

    andrei vasile Newbie

      given the following:


      where adaptor.reRenderedAreasOnTreeClick returns the "" string, the java.lang.StringIndexOutOfBoundsException is thrown at: org.ajax4jsf.context.AjaxContextImpl.convertId(AjaxContextImpl.java:384)

      private String convertId(UIComponent component, String id) {
      if (id.charAt(0) == NamingContainer.SEPARATOR_CHAR) {

      here id's value is ""
      read from
      read from

      i guess this bug affects all components, i was confrunted with this problem using the rich:tree component. As a quick solution, return null instead.