Check your server.xml - this should be in it - if not - then you will
(sometimes) get the error as described below:
<Listener className="org.apache.catalina.core.JasperListener" />
-Tim
Zaphod wrote:
I try to use the JSF 1.2_03 RI with Tomcat 6.0.8.
I get a NullPointerException:
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.VDVRequest_jsp._jspInit(VDVRequest_jsp.java:25)
at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:80)
at
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:157)
<SNIP>
in VDVRequest_jsp.java:
public void _jspInit() {
_005fjspx_005ftagPool_005ff_005fview =
org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fh_005foutputText_005fvalue_005fnobody =
org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
[here is line no. 25:]
_el_expressionfactory =
JspFactory.getDefaultFactory().getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor)
getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
I suppose JspFactory.getDefaultFactory() is null.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]