]
Paul Ferraro closed WFLY-6666.
------------------------------
Resolution: Out of Date
The 9.x branch is no longer active.
clustering-web-infinispan: infinite recursion in session activation
code
------------------------------------------------------------------------
Key: WFLY-6666
URL:
https://issues.jboss.org/browse/WFLY-6666
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 9.0.2.Final
Reporter: Kamil Podlešák
Assignee: Paul Ferraro
Attachments: stacktrace, stacktrace2
When unmarshalling of session throws one of the expected exception
(ClassNotFoundException, InvalidClassException, InvalidObjectException), it is handled by
attempt to remote this session from cache (CoarseSessionFactory.findValue). This attempt,
however, ends up in the same method, tries to unmarshall the session, catches the
exception.... until it reaches stack limit and throws StackOverflowError.
As an added injury, each exception is logged with full stack, which is getting longer and
longer. Total log size is approximately 40MB per request, so it usually quite quickly
disappears by log rotation.
Version 10.0.0 is OK (the code is completely different and does not have this problem).
See also: WFLY-6665 (similar, but not exactly the same bug).