[
https://issues.jboss.org/browse/TEIID-1492?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-1492.
-----------------------------------
Resolution: Done
the eldest entry removal code had an errant put, which should have been a remove. also
updated the expiration queue logic to ensure that it is properly bounded.
StackOverflowError in DefaultCache
----------------------------------
Key: TEIID-1492
URL:
https://issues.jboss.org/browse/TEIID-1492
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.2
Environment: Windows & Linux
Reporter: Mark Addleman
Assignee: Steven Hawkins
Priority: Critical
Fix For: 7.4
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)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira