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 2008/08/21 15:47:18 UTC
DO NOT REPLY [Bug 45666] New: JspContextWrapper contains infinite
loop in include(String relativeUrlPath, boolean flush)
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
Summary: JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mybulkmail1212@gmail.com
public void include(String relativeUrlPath, boolean flush)
throws ServletException, IOException {
include(relativeUrlPath, false); // XXX
}
just calls itself it seems. Perhaps this should be (just a guess):
public void include(String relativeUrlPath, boolean flush)
throws ServletException, IOException {
invokingJspCtxt.include(relativeUrlPath, false); // XXX
}
This came up for me when I had a .tag file that had an include in it.
I was using Tomcat 5.5 but looking at the source of JspContextWrapper.java it
looks like this issue is in 5.5 as well as 6 (and the svn trunk).
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Jasper |Jasper
Product|Tomcat 6 |Tomcat 5
Target Milestone|default |---
Version|unspecified |5.5.26
--- Comment #4 from Mark Thomas <ma...@apache.org> 2008-09-06 13:13:16 PST ---
The patch has been applied to 6.0.x and will be included in 6.0.19 onwards.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Mark Thomas <ma...@apache.org> 2009-03-22 10:08:57 PST ---
This has been fixed in 5.5.x and will be included in 5.5.28 onwards.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> 2008-08-31 13:33:59 PST ---
Created an attachment (id=22504)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22504)
Demonstrates issue #45666
See /WEB-INF/tags/tag.tag
To demonstrate the issue, access the /index.jsp page.
Expected result:
A page with "Hello world!" message.
Actual result (in tc6.0):
"HTTP Status 500" error page - java.lang.StackOverflowError
Replacing "include("/include.html", false);" call in tag.tag with
include("/include.html"); displays the "Hello world!" message as expected.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-08-31 10:28:07 PST ---
I have tried to repeat this with 5.5.x and 6.0.x but have not had any luck.
I've also reviewed the code to see if I could find where the method is called
but couldn't find anywhere. Could you provide a simple test war that
demonstrates the issue?
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
--- Comment #5 from David Mansfield <bu...@dm.cobite.com> 2009-01-20 13:26:36 PST ---
any chance to get this into the 5.5 line? it's really quite a bogus bug with
an obvious fix.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
--- Comment #3 from Mark Thomas <ma...@apache.org> 2008-08-31 14:09:13 PST ---
Many thanks for the test case - it makes fixing bugs so much quicker.
This has been fixed in trunk and proposed for 6.0.x and 5.5.x.
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45666] JspContextWrapper contains infinite loop in
include(String relativeUrlPath, boolean flush)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45666
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #22504|application/octet-stream |application/zip
mime type| |
--
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org