You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/08/18 13:25:34 UTC

DO NOT REPLY [Bug 22508] New: - Error in running Tag Files in Tomcat5.0.7 after removing JSPC generated mapping

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22508>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22508

Error in running Tag Files in Tomcat5.0.7 after removing JSPC generated  mapping

           Summary: Error in running Tag Files in Tomcat5.0.7 after removing
                    JSPC generated  mapping
           Product: Tomcat 5
           Version: 5.0.7
          Platform: Other
               URL: http://localhost:8080/jsp-
                    examples/jsp2/simpletag/hello.jsp
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Webapps:Examples
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: thanuj_sc@yahoo.com
                CC: thanuj_sc@yahoo.com


There is problem in running the Jsp Tag files after removing the JSPC 
generated 
servlet-mappings and directly accessing the JSP file in Tomcat5.0.7

root cause 

java.lang.IllegalArgumentException: -52
	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)