Bug 780532 (SOA-2967) - StackOverflowError in DefaultCache
Summary: StackOverflowError in DefaultCache
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2967
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0 ER1
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-08 13:57 UTC by Mark Addleman
Modified: 2011-10-26 18:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Windows & Linux
Last Closed: 2011-10-26 18:33:31 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2967 0 None None None Never

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.



Note You need to log in before you can comment on or make changes to this bug.