Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
3.1.1.Final
-
None
-
None
Description
Hello - I'm getting error while setting up repository using modeshape 3.1.1.jar -
RepositoryCache() constructor -
Document info = repositoryInfo.getContentAsDocument(); // line 171
Below is the debug hover on info object -
Info -
{ "repositoryName" : "documentation" , "repositoryKey" : "ba2a165" , "sourceName" : "CONTENT" , "sourceKey" : "238a131" , "createdAt" :
, "intializer" : "c8b44dd0-06de-4a59-b866-aa53f09ac0f9" , "createdWithModeShapeVersion" : "3.1.1.Final" }
After this, the code checks for value of "intializedAt" key to set the initialized variable as true-
if (info.get(REPOSITORY_INITIALIZED_AT_FIELD_NAME) != null)
Since the info object is missing the intializedAt key, the repository is not getting initialized and error is getting displayed -
if (!initialized)
Jdk version - 1.7
Do I have to make any specific entries in my standalone for this?
Thanks,
Siddharth