That's very strange, I never run into this problem. Could you please provide a complete code snippet to reproduce this problem?
Best regards,
Victor
Best regards,
Victor
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
private void printObject(GenericObject object, int level)
{
for(int i = 0; i < level; i++)
System.out.print(' ');
System.out.println(object.getObjectName());
for(GenericObject o : object.getChildsAsArray())
printObject(o, level + 2);
}
public void main() throws Exception
{
final NXCSession session = connect(); // obtain session somehow
session.syncObjects();
GenericObject object = session.findObjectById(1, EntireNetwork.class);
printObject(object, 0);
session.disconnect();
}