java.lang.IllegalArgumentException: "Expected a child component type of UISelectItem/UISelectItems for component ty pe javax.faces.SelectOne(j_id4).

Oracle Community | trouby | 1 decade ago
  1. 0

    Expected a child component type of UISelectItem/UISelectItems

    Oracle Community | 1 decade ago | trouby
    java.lang.IllegalArgumentException: "Expected a child component type of UISelectItem/UISelectItems for component ty pe javax.faces.SelectOne(j_id4).
  2. 0

    selectItems java.lang.IllegalArgumentException

    Stack Overflow | 4 years ago | Akheloes
    java.lang.IllegalArgumentException
  3. 0

    PLEASE HELP! Java Error! "main" java.lang.NumberFormatException - Java Q&A

    cybertechquestions.com | 2 years ago
    java.lang.IllegalArgumentException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JavaServer Faces - selectOneMenu illegal argument exception,

    Oracle Community | 7 years ago | 843844
    java.lang.IllegalArgumentException: Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectOne(j_id_id24). Found null.
  6. 0

    JSF 2: Can't load object in selectOneMenu

    Stack Overflow | 4 years ago | Valter Henrique
    java.lang.IllegalArgumentException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      "Expected a child component type of UISelectItem/UISelectItems for component ty pe javax.faces.SelectOne(j_id4).

      at com.sun.faces.renderkit.RenderKitUtils.getSelectItems()
    2. JSF
      MenuRenderer.encodeEnd
      1. com.sun.faces.renderkit.RenderKitUtils.getSelectItems(RenderKitUtils.java:342)
      2. com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:506)
      3. com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:482)
      4. com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:447)
      4 frames
    3. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:847)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
      3. javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
      4. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:827)
      5. javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
      6. javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
      6 frames
    4. Facelets
      FaceletViewHandler.renderView
      1. com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
      1 frame
    5. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
      3 frames
    6. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
      3 frames
    8. Tomahawk
      ExtensionsFilter.doFilter
      1. org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
      1 frame
    9. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      8 frames
    10. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
      1 frame
    11. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2 frames
    12. Glassfish
      VirtualServerPipeline.invoke
      1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      1 frame
    13. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      5 frames
    14. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
      1 frame
    15. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
      7 frames