https://issues.apache.org/bugzilla/show_bug.cgi?id=48019

           Summary: StackOverflowError on "include"
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: illm...@sina.com


JSP file name: 
/common/headers.jsp


It's cotent:

<% // example: <%@ include file="/common/headers.jsp" % >
%>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link href="../css/css.css" rel="stylesheet" type="text/css">


Console output:

java.lang.StackOverflowError
    at java.text.DateFormat.format(DateFormat.java:275)
    at java.text.Format.format(Format.java:140)
    at java.text.MessageFormat.subformat(MessageFormat.java:1288)
    at java.text.MessageFormat.format(MessageFormat.java:795)
    at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:50)
    at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
    at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
    at java.util.logging.Logger.log(Logger.java:458)
    at java.util.logging.Logger.doLog(Logger.java:480)
    at java.util.logging.Logger.logp(Logger.java:680)
    at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:167)
    at org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135)
    at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:606)
    at org.apache.jasper.compiler.JspReader.<init>(JspReader.java:141)
    at org.apache.jasper.compiler.JspReader.<init>(JspReader.java:119)
    at
org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:399)
    at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:207)
    at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:137)
    at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
    at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:376)
    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:484)
    at
org.apache.jasper.compiler.Parser.parseTagFileDirectives(Parser.java:1784)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:127)


This not exist in "6.0.18".

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to