Bug 780532 (SOA-2967)

Summary: StackOverflowError in DefaultCache
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Mark Addleman <mark.addleman>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0 GA   
Target Milestone: ---   
Target Release: 5.2.0 ER1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2967
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Windows & Linux
Last Closed: 2011-10-26 18:33:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mark Addleman 2011-03-08 13:57:00 UTC
project_key: SOA

Intermittently, we get the stack overflow error.  It doesn't seem to be related to the query.

java.lang.StackOverflowError
    at org.teiid.cache.DefaultCache.remove(DefaultCache.java:164)
    at org.teiid.cache.DefaultCache.validate(DefaultCache.java:119)
    at org.teiid.cache.DefaultCache.access$000(DefaultCache.java:36)
    at org.teiid.cache.DefaultCache$1.removeEldestEntry(DefaultCache.java:86)
    at java.util.LinkedHashMap.putImpl(LinkedHashMap.java:411)
    at java.util.LinkedHashMap.put(LinkedHashMap.java:370)
    at org.teiid.cache.DefaultCache.remove(DefaultCache.java:164)
    at org.teiid.cache.DefaultCache.validate(DefaultCache.java:119)
    at org.teiid.cache.DefaultCache.access$000(DefaultCache.java:36)
    at org.teiid.cache.DefaultCache$1.removeEldestEntry(DefaultCache.java:86)
    at java.util.LinkedHashMap.putImpl(LinkedHashMap.java:411)
    at java.util.LinkedHashMap.put(LinkedHashMap.java:370)
    at org.teiid.cache.DefaultCache.remove(DefaultCache.java:164)
    at org.teiid.cache.DefaultCache.validate(DefaultCache.java:119)
    at org.teiid.cache.DefaultCache.access$000(DefaultCache.java:36)
    at org.teiid.cache.DefaultCache$1.removeEldestEntry(DefaultCache.java:86)
    at java.util.LinkedHashMap.putImpl(LinkedHashMap.java:411)
    at java.util.LinkedHashMap.put(LinkedHashMap.java:370)
    at org.teiid.cache.DefaultCache.remove(DefaultCache.java:164)
    at org.teiid.cache.DefaultCache.validate(DefaultCache.java:119)
    at org.teiid.cache.DefaultCache.access$000(DefaultCache.java:36)
    at org.teiid.cache.DefaultCache$1.removeEldestEntry(DefaultCache.java:86)
    at java.util.LinkedHashMap.putImpl(LinkedHashMap.java:411)
    at java.util.LinkedHashMap.put(LinkedHashMap.java:370)
    at org.teiid.cache.DefaultCache.remove(DefaultCache.java:164)

Comment 1 Van Halbert 2011-03-08 13:57:00 UTC
Link: Added: This issue Cloned from TEIID-1492


Comment 2 Van Halbert 2011-03-08 13:57:47 UTC
Security: Added: Public


Comment 4 David Le Sage 2011-09-01 03:59:20 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Writer: Added: dlesage
Release Notes Text: Added: https://issues.jboss.org/browse/TEIID-1492

Users would encounter a stack overflow error: java.lang.StackOverflowError. This was caused by a bug in the entry removal code.  This code has now been rectified, so users will no longer see this problem. The expiration queue logic was updated at the same time to ensure that it is properly bounded.