Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: NullPointerException at CacheIndexMetadata.getField() (#2110)
PROBLEM ======= NullPointerException raising at CacheIndexMetadata.getField() while EntityManager initialising. CAUSE ======= Entity metadata XML file contains tag <cache-index><column-name>SOMENAME</column-name></cache-index>. XML Deserializer call CacheIndexMetadata default constructor. ORMetadata.m_project field stay none initialised. Call of CacheIndexMetadata.getField() throw to exception. SOLVING ======= Set ORMetadata.m_project value after XML deserialization. Signed-off-by: Radek Felcman <[email protected]>
- Loading branch information