[jboss-jira] [JBoss JIRA] (WFLY-6666) clustering-web-infinispan: infinite recursion in session activation code

Kamil Podlešák (JIRA) issues at jboss.org
Thu Jun 2 10:06:00 EDT 2016


Kamil Podlešák created WFLY-6666:
------------------------------------

             Summary: 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
    Affects Versions: 9.0.2.Final
            Reporter: Kamil Podlešák
            Assignee: Jason Greene


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 which means it usually quickly gets rolled away.

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





--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list