Hi,
I'm currently trying to load data in to an alfresco testing environment using the benchmark framework and the dataload tool. The tool can create sites, add users and sometimes create files and folders. No failures show up on the benchmark framework web interface.
The "schedule site loaders" event is completed, scheduling 8 site loaders. However after this, the site loaders are never used and the "schedule site loaders" event keeps being called saying that it "raised 0 events and rescheduled self".
While no failures are listed on the front end, in the command line terminal for the dataload tool there are 8 "json can't serialize type : class org.alfresco.bm.cm.FolderData" exceptions listed.
I am running these tests on Centos 7.
Solved! Go to Solution.
For anyone experiencing the same issue, the route of the problem was an issue with authentication for the test users I was using.
However this issue was hidden because the code that catches this type of error has a bug in it, namely line 319 of "dataload/src/main/java/org/alfresco/bm/dataload/SiteFolderLoader.java".
This line reads ".append("folder", folder)". This line can be commented out as a quick fix. It seems like the FolderData type is not serializeable as json. This might not fix what is causing the dataload to fail but it will allow the program to at least print out information about the underlying error.
For anyone experiencing the same issue, the route of the problem was an issue with authentication for the test users I was using.
However this issue was hidden because the code that catches this type of error has a bug in it, namely line 319 of "dataload/src/main/java/org/alfresco/bm/dataload/SiteFolderLoader.java".
This line reads ".append("folder", folder)". This line can be commented out as a quick fix. It seems like the FolderData type is not serializeable as json. This might not fix what is causing the dataload to fail but it will allow the program to at least print out information about the underlying error.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.