-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
9.0.2.Final
-
None
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).