Skip to Content
0
Former Member
Jun 15, 2011 at 12:26 PM

Repository Schema is null

42 Views

Hi,

I am new to MDM.

While trying to fetch some record from MDM, the value returned for repositorySchema object comes as null.

The relevant code is :

GetRepositorySchemaCommand getRepositorySchemaCommand = new GetRepositorySchemaCommand(con);

getRepositorySchemaCommand.setSession(userSession);

getRepositoryRegionListCommand.execute();

RepositorySchema repositorySchema = getRepositorySchemaCommand.getRepositorySchema();

The "con" and "getRepositoryRegionListCommand" are not null . I printed them and they contain some values.

However the repositorySchema object as declared in the above code is null. If I try to do any operation on this, I get a null pointer exception.

Can someone help me sort out as to why repositorySchema comes as null.

Thanks and Regards,

Himanshu