]
Sanne Grinovero resolved HSEARCH-822.
-------------------------------------
Resolution: Fixed
SearchFactoryState should use concurrent Maps for incrementally
updated metadata
--------------------------------------------------------------------------------
Key: HSEARCH-822
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-822
Project: Hibernate Search
Issue Type: Bug
Components: engine
Affects Versions: 3.4.0.Final
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.0.0.Alpha1
I've experienced very sporadic failures of MutableFactoryTest, when trying again it
won't be reproduced.
The Workspace goes in NPE on the single-line method
{code}org.hibernate.search.backend.Workspace.getDocumentBuilder(Class<T>){code}
So it seems it's receiving work for a new entity type while the document builder of
it was not "deployed" yet.
Indeed these DocumentBuilders are stored in a non-concurrent HashMap, replacing the
implementation with a CHM it's now running the tests in a loop without reporting the
exception anymore.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: