Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JSF debugging / JSF newsgroup

Reply
Thread Tools

JSF debugging / JSF newsgroup

 
 
Sebastian Fey
Guest
Posts: n/a
 
      04-07-2006
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:6 42)
at
com.sun.faces.renderkit.html_basic.MenuRenderer.ge tOptionNumber(MenuRenderer.java:48
at
com.sun.faces.renderkit.html_basic.MenuRenderer.re nderSelect(MenuRenderer.java:465)
at
com.sun.faces.renderkit.html_basic.MenuRenderer.en codeEnd(MenuRenderer.java:430)
at
javax.faces.component.UIComponentBase.encodeEnd(UI ComponentBase.java:712)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComp onentTag.java:616)
at javax.faces.webapp.UIComponentTag.doEndTag(UICompo nentTag.java:539)
at
com.sun.faces.taglib.html_basic.SelectOneMenuTag.d oEndTag(SelectOneMenuTag.java:505)
at
org.apache.jsp.customize_jsp._jspx_meth_h_selectOn eMenu_0(customize_jsp.java:233)
at org.apache.jsp.customize_jsp._jspx_meth_h_form_0(c ustomize_jsp.java:156)
at org.apache.jsp.customize_jsp._jspx_meth_f_view_0(c ustomize_jsp.java:119)
at org.apache.jsp.customize_jsp._jspService(customize _jsp.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:39
at
org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:301)
at
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:322)
at
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render( LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServl et.java:19
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
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.invok e(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:14
at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.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:6 42)
at
com.sun.faces.renderkit.html_basic.MenuRenderer.ge tOptionNumber(MenuRenderer.java:48
at
com.sun.faces.renderkit.html_basic.MenuRenderer.re nderSelect(MenuRenderer.java:465)
at
com.sun.faces.renderkit.html_basic.MenuRenderer.en codeEnd(MenuRenderer.java:430)
at
javax.faces.component.UIComponentBase.encodeEnd(UI ComponentBase.java:712)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComp onentTag.java:616)
at javax.faces.webapp.UIComponentTag.doEndTag(UICompo nentTag.java:539)
at
com.sun.faces.taglib.html_basic.SelectOneMenuTag.d oEndTag(SelectOneMenuTag.java:505)
at
org.apache.jsp.customize_jsp._jspx_meth_h_selectOn eMenu_0(customize_jsp.java:233)
at org.apache.jsp.customize_jsp._jspx_meth_h_form_0(c ustomize_jsp.java:156)
at org.apache.jsp.customize_jsp._jspx_meth_f_view_0(c ustomize_jsp.java:119)
at org.apache.jsp.customize_jsp._jspService(customize _jsp.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:39
at
org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:301)
at
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:322)
at
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render( LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServl et.java:19
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
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.invok e(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:14
at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.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:6 42)
at
com.sun.faces.renderkit.html_basic.MenuRenderer.ge tOptionNumber(MenuRenderer.java:48
at
com.sun.faces.renderkit.html_basic.MenuRenderer.re nderSelect(MenuRenderer.java:465)
at
com.sun.faces.renderkit.html_basic.MenuRenderer.en codeEnd(MenuRenderer.java:430)
at
javax.faces.component.UIComponentBase.encodeEnd(UI ComponentBase.java:712)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComp onentTag.java:616)
at javax.faces.webapp.UIComponentTag.doEndTag(UICompo nentTag.java:539)
at
com.sun.faces.taglib.html_basic.SelectOneMenuTag.d oEndTag(SelectOneMenuTag.java:505)
at
org.apache.jsp.customize_jsp._jspx_meth_h_selectOn eMenu_0(customize_jsp.java:233)
at org.apache.jsp.customize_jsp._jspx_meth_h_form_0(c ustomize_jsp.java:156)
at org.apache.jsp.customize_jsp._jspx_meth_f_view_0(c ustomize_jsp.java:119)
at org.apache.jsp.customize_jsp._jspService(customize _jsp.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:39
at
org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:301)
at
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:322)
at
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render( LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServl et.java:19
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
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.invok e(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:14
at
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
 
Reply With Quote
 
 
 
 
Danno
Guest
Posts: n/a
 
      04-07-2006
I had the answer to that in my blog a while back..
http://www.evolutionnext.com/blog/20...739073000.html

Some others had comments too.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging C vs debugging C++ jacob navia C Programming 11 10-27-2006 07:19 PM
Include JSF page within another JSF page BlackIce Java 1 07-05-2006 11:24 PM
Newbies Please Read: This is NOT a Windows Vista Newsgroup, it is however a Windows XP X64 Edition Newsgroup. Windows 64bit 16 06-27-2006 03:17 PM
[JSF]Need to deploy a jsf application on SunApplicationServer. dudu Java 0 03-03-2006 12:09 PM
No Debugging of C# Server-Side Script, but Code-Behind Debugging Works Johann Blake ASP .Net 1 01-05-2004 03:01 PM



Advertisments