1 Reply Latest reply on May 29, 2008 3:16 PM by tmccobb

    Duplicate component id oddities

    lucab

      lately i have been receiving messages like this: java.lang.IllegalStateException: duplicate Id for a component
      .
      I can't understand the real cause though, because i have provided an unique id for almost every component. For the remainder i trust on automatic ids (the ones starting with j_id). So i think this message should never appear.

      This seems to happen only between pages that share a session scoped bean. I don't undestand why this could create a conflict. I tried restricting the scope of the bean to request and the duplicate id error message does not show up anymore. The bean is a backing bean linked to an HtmlPanelMenu.

      So, what could be the cause for this duplicate id error?

        • 1. Re: Duplicate component id oddities
          tmccobb

          I had the same problem, only after upgrading to 3.1.5GA. It was intermittent for no apparent reason, and only occurred with components within a nested outputPanel. So, I got rid of the nested panel and it went away.