ICEfaces
  1. ICEfaces
  2. ICE-7887

showcase - ace:dataTable single cell selection generates a Server Internal Error when using MyFaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.BETA
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 3.0.x-maintenance branch rev. 28285 (build using MyFaces)
      Server: Tomcat6
      Browsers: all
      Showcase application -> ace:dataTable -> Row Selector -> Single Cell
    • Assignee Priority:
      P1

      Description

      The showcase test for dataTable Cell Selector (DataTable - Row Selector -> Single Cell) fails when using myFaces, because of a Server Internal Error.
      This test passes with Mojarra.

      Steps to reproduce:
      - Build showcase app using MyFaces with ant target: servlet-profile -Dmyfaces="true"
      - Load ace:DataTable -> Row Selector
      - Select option Single Cell.
      - Select a cell from the table -> Server Internal Error.

      Error in Tomcat log (localhost.log):
      ar 12, 2012 1:32:16 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.IllegalStateException: component with duplicate id "form:carTableRowExpansion:selectable" found
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:54)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:75)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:75)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:75)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:75)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:75)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:75)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIdsStatefulComponents(CheckDuplicateIdFaceletUtils.java:35)
          at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:489)
          at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:189)
          at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1971)
          at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
          at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:115)
          at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
          at java.lang.Thread.run(Thread.java:619)

        Issue Links

          Activity

          Hide
          Nils Lundquist added a comment -

          Can't replicate this error as such. Never get the duplicate id exception, only an out of bounds exception without a stack trace.

          Only occurs on maintenance branch / showcase also.

          Investigating further.

          Show
          Nils Lundquist added a comment - Can't replicate this error as such. Never get the duplicate id exception, only an out of bounds exception without a stack trace. Only occurs on maintenance branch / showcase also. Investigating further.
          Hide
          Nils Lundquist added a comment -

          Refactor of cell selection feature in ICE-7672 solves this issue and will be delivered in 3.1

          Show
          Nils Lundquist added a comment - Refactor of cell selection feature in ICE-7672 solves this issue and will be delivered in 3.1

            People

            • Assignee:
              Nils Lundquist
              Reporter:
              Carmen Cristurean
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: