Project:
View Revisions: Issue #24412 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0024412: Random failures in FIC | ||
Revision | 2013-07-26 10:59 by alostale | ||
Description | After applying fix for issue 0024326, FIC randomly fails. This can be noticed in several ways: -ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session can be seen in the log -when this happens, default values are not correctly populated The problem is caused by an incomplete DAL object initialization in ApplicationDictionaryCachedStructures.getTab method, which caches and returns the tab attached to the session created for the Tab that invoked it. Previous to fix for 0024326, initialization was completed by the getParentTab method, afterwards it is not in case of root tab. The way it can happen is: -Request 1 (thread-1) gets a root tab. This tab, attached to thread-1's DAL session, is cached in ApplicationDictionaryCachedStructures without its proxies being initialized so thread-1's session is killed. -Request 2 (thread-2) gets same tab from ApplicationDictionaryCachedStructures and tries to initialize any of its proxies, as the tab is still attached to thread-1's session the error is raisen |
||
Revision | 2013-07-26 10:49 by alostale | ||
Description | After applying fix for issue 0024326, FIC randomly fails. This can be noticed in several ways: -ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session can be seen in the log -when this happens, default values are not correctly populated |
Copyright © 2000 - 2009 MantisBT Group |