Issue caused by Project code. DBConcepts returned by a database query will not be added to the working memory (created), but you can assign them as a child of an existing parent, which caused the NullPointer exception when trying to load the childs from parent concept.
It is required to add the returned DBConcepts to the working memory using catalog function Database.assertDBInstance().
eg:
Database.setCurrentConnection("/SharedResources/SFDatabase.sharedjdbc");
Concepts.testSupport.dbo.Currency[] RcvRpt = Database.queryUsingSQL("/Concepts/testSupport/dbo/Currency","select * from dbo.Currency",false);
for (int i=0;i<RcvRpt@length;i++) {
Database.assertDBInstance(RcvRpt[i],true);
cp.childs[cp.childs@length]=RcvRpt[i];
}