If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

add/delete users problem on getBaseObjects method

Started by akoymakoy, 29 Oct 2009 11:19:41 PM

Previous topic - Next topic

akoymakoy

i get this error:
getBaseObjects: CM-REQ-4342 An error occured with the client

CODE:

BaseClass baseObjects[] = new BaseClass[] {};

try {
// Note we want members of groups, so include members in properties.
       PropEnum[] properties = new PropEnum[] { PropEnum.defaultName, PropEnum.searchPath, PropEnum.members };
baseObjects = cmService.query(new SearchPathMultipleObject(searchPath), properties, new Sort[] {}, new QueryOptions());
} catch (RemoteException e) {
throw new ArtException("getBaseObjects: " + e.getMessage() + " " + e.getCause());
}
return (baseObjects);



kolonell

I think I had the same once. Remove the members property. That should do it. As far as I recall the error only occurs when account objects are part of the result set. try limiting the resultset to only groups.