[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Null Pointer in JSP compile
nodari
do-not-reply at jboss.com
Wed Nov 14 13:55:03 EST 2007
Hi,
I have a web application deployed in JBoss 4.2.1 GA and when I try to access the JSP pages I get the following error:
Exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:574)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Root cause
java.lang.NullPointerException
java.io.Writer.write(Writer.java:126)
java.io.PrintWriter.newLine(PrintWriter.java:408)
java.io.PrintWriter.println(PrintWriter.java:559)
java.io.PrintWriter.println(PrintWriter.java:670)
org.apache.jasper.compiler.ServletWriter.printil(ServletWriter.java:130)
org.apache.jasper.compiler.Generator.genPreamblePackage(Generator.java:454)
org.apache.jasper.compiler.Generator.generatePreamble(Generator.java:557)
org.apache.jasper.compiler.Generator.generate(Generator.java:3371)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Someone can help me with this ?
Thanks in advance,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104742#4104742
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104742
More information about the jboss-user
mailing list