Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6
-
None
Description
The lazy init process is not thread safe. In particular the code checks if entityManagerResolverIsNormalScope is null to determine if the entity is initialised, however this is set before the initialisation is actually completed, meaning a thread can get an uninitialized component, which then causes problems.
The initialize() call should be moved up to before entityManagerResolverIsNormalScope is set.