3 Replies Latest reply on Jun 22, 2006 3:23 AM by asdf asdf

    JSF error

    asdf asdf Newbie

      HI! I'm sorry for my english but i'll try explain you my problem...

      I have in my computer JBoss-4.0.4-GA and JSF. I have one jsp file with this code (very very simple):

      <body>
       <f:view>
       This is my Error JSF JSP page. <br>
       </f:view>
      </body>

      Well, i can see this page without jboss (with normal tomcat) but, if i want see with jboss, i get this error:

      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      org.apache.jasper.JasperException: Exception in JSP: /Error.jsp:29
      
      26: </head>
      27:
      28: <body>
      29: <f:view>
      30: This is my Error JSF JSP page. <br>
      31: </f:view>
      32: </body>
      
      
      Stacktrace:
       org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.NullPointerException
       javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
       javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
       org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
       org.apache.jsp.Error_jsp._jspx_meth_f_view_0(Error_jsp.java:109)
       org.apache.jsp.Error_jsp._jspService(Error_jsp.java:84)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
      


      Can you help me???