responses[j] = localMonitor.queryInstance((MInstance) instanceArray.objectAtIndex(j));
} catch (MonitorException me) {
MInstance badInstance = ((MInstance) instanceArray.objectAtIndex(j));
if ( (!badInstance.isRunning_W()) &&
(NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelCritical, NSLog.DebugGroupDeployment)) ) {
NSLog.debug.appendln("Exception getting Statistics for instance: " + ((MInstance) instanceArray.objectAtIndex(j)).displayName());
}
//if we get an exception and the instance state is running, that could mean the app may have been too
//busy to respond of may have locked up in either case, we need to notify
//java monitor which instance its having problems with
if (badInstance.isRunning_W())