Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-325

gets an ClassCastException on using forceId and forceIdIndex in t:HtmlSelectOneRadio along with Myfaces and facelets

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      N/A

      Description

      I get This exception in two places. once on rendering the radio buttons and agian here(org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.validateValue(HtmlSelectOneRadio.java:64))

      here is the error stack trace.

      java.lang.ClassCastException
      at org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.validateValue(HtmlSelectOneRadio.java:64)
      at javax.faces.component.UIInput.validate(UIInput.java:269)
      at javax.faces.component.UIInput.processValidators(UIInput.java:144)
      at javax.faces.component.UIData.process(UIData.java:623)
      at javax.faces.component.UIData.processColumnChildren(UIData.java:607)
      at javax.faces.component.UIData.processValidators(UIData.java:496)
      at org.apache.myfaces.component.html.ext.HtmlDataTableHack.processValidators(HtmlDataTableHack.java:114)
      at org.apache.myfaces.component.html.ext.HtmlDataTable.processValidators(HtmlDataTable.java:220)
      at javax.faces.component.UIForm.processValidators(UIForm.java:68)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:607)
      at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142)
      at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:259)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
      at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
      at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:123)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      at de.mindmatters.faces.spring.support.RequestHandledFilter.doFilter(RequestHandledFilter.java:150)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      at com.bmw.gss.client.dms.DmsFilter.doFilter(DmsFilter.java:39)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:137)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
      at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

        Attachments

        1. HtmlSelectOneRadio.java
          11 kB
          alvin antony
        2. HtmlComponentUtils.java
          6 kB
          alvin antony

          Activity

            People

            • Assignee:
              mmarinschek Martin Marinschek
              Reporter:
              alvinbush alvin antony
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: