tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53871] java.lang.StackOverflowError on deploying a web application
Date Mon, 03 Dec 2012 11:49:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53871

Matthias Schuetz <mschuetz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #5 from Matthias Schuetz <mschuetz@gmail.com> ---
I had the same problem. Steps to reproduce are:

Due to dependency management problems I deployed a WAR file containing two JAR
files containing different versions of a library, where version 1 contained a
class A which inherited from B and another version 2 which contained a class B
inheriting from A.
The classes were loaded in such an order that A and B cyclically inherited from
each other which leads to a stack overflow in populateSCIsForCacheEntry because
it does not detect cycles in the inheritance tree.

-- 
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


Mime
View raw message