JSF debugging / JSF newsgroup

Discussion in 'Java' started by Sebastian Fey, Apr 7, 2006.

  1. hi there,

    actually im looking for a JSF newsgroup.

    maybe someone here is able to answer my question:

    how do i debug jsf?
    or: how do i get the real root cause of an error, ie a bean or a jsp?

    a stacktrace like this isnt very helpful, or am i missing sth?


    DEBUG - servletPath /customize.faces
    DEBUG - pathInfo null
    DEBUG - URL pattern of the FacesServlet executing the current request .faces
    DEBUG - contextDefaultSuffix .jsp
    DEBUG - Begin restoring view from response /customize.jsp
    DEBUG - Possibly a new request. Tree structure could not be restored for
    /customize.jsp
    DEBUG - End restoring view from response /customize.jsp
    DEBUG - Created new view for /customize.jsp
    DEBUG - Locale for this view as determined by calculateLocale de
    DEBUG - RenderKitId for this view as determined by calculateRenderKitId
    HTML_BASIC
    DEBUG - About to render view /customize.jsp
    DEBUG - URL pattern of the FacesServlet executing the current request .faces
    DEBUG - Found URL pattern mapping to FacesServlet .faces
    DEBUG - Before dispacthMessage to newViewId /customize.jsp
    DEBUG - Begin encoding component _id0
    DEBUG - URL pattern of the FacesServlet executing the current request .faces
    DEBUG - Begin encoding component _id1
    DEBUG - component.getValue() returned null
    DEBUG - Value to be rendered null
    DEBUG - Begin encoding component _id2
    DEBUG - Rendering 'select'
    DEBUG - resolveVariable: Resolved variable:null
    DEBUG - id: null class: com.sun.faces.taglib.html_basic.SelectOneMenuTag
    java.lang.IllegalArgumentException: Konvertierungs-Fehler: Wert ''{0}''
    für Modell ''{1}''.
    at com.sun.faces.util.Util.getSelectItems(Util.java:642)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
    at
    javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
    at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
    at
    com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:505)
    at
    org.apache.jsp.customize_jsp._jspx_meth_h_selectOneMenu_0(customize_jsp.java:233)
    at org.apache.jsp.customize_jsp._jspx_meth_h_form_0(customize_jsp.java:156)
    at org.apache.jsp.customize_jsp._jspx_meth_f_view_0(customize_jsp.java:119)
    at org.apache.jsp.customize_jsp._jspService(customize_jsp.java:75)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    at
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    at
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
    ERROR - Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: Konvertierungs-Fehler: Wert ''{0}''
    für Modell ''{1}''.
    at com.sun.faces.util.Util.getSelectItems(Util.java:642)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
    at
    javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
    at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
    at
    com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:505)
    at
    org.apache.jsp.customize_jsp._jspx_meth_h_selectOneMenu_0(customize_jsp.java:233)
    at org.apache.jsp.customize_jsp._jspx_meth_h_form_0(customize_jsp.java:156)
    at org.apache.jsp.customize_jsp._jspx_meth_f_view_0(customize_jsp.java:119)
    at org.apache.jsp.customize_jsp._jspService(customize_jsp.java:75)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    at
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    at
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
    ERROR - Servlet.service() for servlet Faces Servlet threw exception
    java.lang.IllegalArgumentException: Konvertierungs-Fehler: Wert ''{0}''
    für Modell ''{1}''.
    at com.sun.faces.util.Util.getSelectItems(Util.java:642)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
    at
    com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
    at
    javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
    at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
    at
    com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:505)
    at
    org.apache.jsp.customize_jsp._jspx_meth_h_selectOneMenu_0(customize_jsp.java:233)
    at org.apache.jsp.customize_jsp._jspx_meth_h_form_0(customize_jsp.java:156)
    at org.apache.jsp.customize_jsp._jspx_meth_f_view_0(customize_jsp.java:119)
    at org.apache.jsp.customize_jsp._jspService(customize_jsp.java:75)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    at
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    at
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
    Sebastian Fey, Apr 7, 2006
    #1
    1. Advertising

  2. Sebastian Fey

    Danno Guest

    Danno, Apr 7, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Johann Blake
    Replies:
    1
    Views:
    1,189
    Hermit Dave
    Jan 5, 2004
  2. dudu
    Replies:
    0
    Views:
    365
  3. BlackIce
    Replies:
    1
    Views:
    17,152
  4. jacob navia

    Debugging C vs debugging C++

    jacob navia, Oct 26, 2006, in forum: C Programming
    Replies:
    11
    Views:
    578
    Ian Collins
    Oct 27, 2006
  5. AAaron123
    Replies:
    3
    Views:
    648
    AAaron123
    Jul 28, 2009
Loading...

Share This Page