tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Harmsen <jan.harm...@softwareag.com>
Subject tomcat-5.0.7 jasper jsp compiler error
Date Mon, 11 Aug 2003 12:14:12 GMT
Hi,

from 5.0.6 to 5.0.7 something must have been changed within jasper,
my jsps don't compile anymore. I tested exactly the same webapp with
5.0.6 and it works but with 5.0.7 I get the following error:


org.apache.jasper.JasperException: Unable to compile class for JSP
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause


java.lang.IllegalArgumentException: -81
	org.apache.jasper.compiler.SmapStratum$LineInfo.setOutputLineIncrement(SmapStratum.java:124)
	org.apache.jasper.compiler.SmapStratum.optimizeLineSection(SmapStratum.java:221)
	org.apache.jasper.compiler.SmapUtil.evaluateNodes(SmapUtil.java:490)
	org.apache.jasper.compiler.SmapUtil.generateSmap(SmapUtil.java:123)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:301)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:555)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


Environment: SuSE Linux 8.2 with Sun JDK 1.4.2


any idea how to fix this ?

Thanks + best regards,

Jan


Mime
View raw message