• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to debug JSF

 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
javax.faces.FacesException: ServletException in '/jsp/template/layout.jsp': Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/pages/companySearch/companyPaymentDetail.jsp][Class: javax.faces.component.html.HtmlForm,Id: layout][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp89][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp105][Class: javax.faces.component.html.HtmlPanelGroup,Id: _idJsp110][Class: javax.faces.component.UINamingContainer,Id: test][Class: javax.faces.component.html.HtmlPanelGrid,Id: companyRemarksTable1][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp155][Class: javax.faces.component.html.HtmlPanelGroup,Id: _idJsp159][Class: javax.faces.component.html.HtmlOutputText,Id: _idJsp166]}
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236)
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222)
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)




Above is the error I get, Is there any way to find what it means?

Regards,
Joshua
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I highly recommend setting the "id" attribute on your controls. That way when you get an error, it will indicate which item needs to be fixed.
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,

That will mean setting id attribute in many components, event for output text, which I suppose is not warranted.

Is there any tool or plugin which I can use?

Regards,
Joshua
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Joshua,

What server are you using......

In case you are using the JBoss server, then you can refer to the post
"Running JBoss Project in Debug Mode" in the JBoss forum.

The solution provided there works (debugs) fine with the my end to end application(Server side, managed beans as well as JSP/JSF pages) in JBOss.

Hope this helps


Sumit
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic