Program: 107111
Project: 107111
Buggy source:
@Override public Answer executeRequest(Command cmd){
  try {
    if (cmd instanceof StopCommand) {
      return execute((StopCommand)cmd);
    }
 else     if (cmd instanceof GetVmStatsCommand) {
      return execute((GetVmStatsCommand)cmd);
    }
 else     if (cmd instanceof RebootRouterCommand) {
      return execute((RebootRouterCommand)cmd);
    }
 else     if (cmd instanceof RebootCommand) {
      return execute((RebootCommand)cmd);
    }
 else     if (cmd instanceof GetHostStatsCommand) {
      return execute((GetHostStatsCommand)cmd);
    }
 else     if (cmd instanceof CheckStateCommand) {
      return executeRequest(cmd);
    }
 else     if (cmd instanceof CheckHealthCommand) {
      return execute((CheckHealthCommand)cmd);
    }
 else     if (cmd instanceof PrepareForMigrationCommand) {
      return execute((PrepareForMigrationCommand)cmd);
    }
 else     if (cmd instanceof MigrateCommand) {
      return execute((MigrateCommand)cmd);
    }
 else     if (cmd instanceof PingTestCommand) {
      return execute((PingTestCommand)cmd);
    }
 else     if (cmd instanceof CheckVirtualMachineCommand) {
      return execute((CheckVirtualMachineCommand)cmd);
    }
 else     if (cmd instanceof ReadyCommand) {
      return execute((ReadyCommand)cmd);
    }
 else     if (cmd instanceof AttachIsoCommand) {
      return execute((AttachIsoCommand)cmd);
    }
 else     if (cmd instanceof AttachVolumeCommand) {
      return execute((AttachVolumeCommand)cmd);
    }
 else     if (cmd instanceof StopCommand) {
      return execute((StopCommand)cmd);
    }
 else     if (cmd instanceof CheckConsoleProxyLoadCommand) {
      return execute((CheckConsoleProxyLoadCommand)cmd);
    }
 else     if (cmd instanceof WatchConsoleProxyLoadCommand) {
      return execute((WatchConsoleProxyLoadCommand)cmd);
    }
 else     if (cmd instanceof GetVncPortCommand) {
      return execute((GetVncPortCommand)cmd);
    }
 else     if (cmd instanceof ModifySshKeysCommand) {
      return execute((ModifySshKeysCommand)cmd);
    }
 else     if (cmd instanceof MaintainCommand) {
      return execute((MaintainCommand)cmd);
    }
 else     if (cmd instanceof CreateCommand) {
      return execute((CreateCommand)cmd);
    }
 else     if (cmd instanceof DestroyCommand) {
      return execute((DestroyCommand)cmd);
    }
 else     if (cmd instanceof PrimaryStorageDownloadCommand) {
      return execute((PrimaryStorageDownloadCommand)cmd);
    }
 else     if (cmd instanceof CreatePrivateTemplateFromVolumeCommand) {
      return execute((CreatePrivateTemplateFromVolumeCommand)cmd);
    }
 else     if (cmd instanceof GetStorageStatsCommand) {
      return execute((GetStorageStatsCommand)cmd);
    }
 else     if (cmd instanceof ManageSnapshotCommand) {
      return execute((ManageSnapshotCommand)cmd);
    }
 else     if (cmd instanceof BackupSnapshotCommand) {
      return execute((BackupSnapshotCommand)cmd);
    }
 else     if (cmd instanceof DeleteSnapshotBackupCommand) {
      return execute((DeleteSnapshotBackupCommand)cmd);
    }
 else     if (cmd instanceof DeleteSnapshotsDirCommand) {
      return execute((DeleteSnapshotsDirCommand)cmd);
    }
 else     if (cmd instanceof CreateVolumeFromSnapshotCommand) {
      return execute((CreateVolumeFromSnapshotCommand)cmd);
    }
 else     if (cmd instanceof CreatePrivateTemplateFromSnapshotCommand) {
      return execute((CreatePrivateTemplateFromSnapshotCommand)cmd);
    }
 else     if (cmd instanceof UpgradeSnapshotCommand) {
      return execute((UpgradeSnapshotCommand)cmd);
    }
 else     if (cmd instanceof ModifyStoragePoolCommand) {
      return execute((ModifyStoragePoolCommand)cmd);
    }
 else     if (cmd instanceof SecurityIngressRulesCmd) {
      return execute((SecurityIngressRulesCmd)cmd);
    }
 else     if (cmd instanceof DeleteStoragePoolCommand) {
      return execute((DeleteStoragePoolCommand)cmd);
    }
 else     if (cmd instanceof FenceCommand) {
      return execute((FenceCommand)cmd);
    }
 else     if (cmd instanceof StartCommand) {
      return execute((StartCommand)cmd);
    }
 else     if (cmd instanceof NetworkElementCommand) {
      return _virtRouterResource.executeRequest(cmd);
    }
 else     if (cmd instanceof CheckSshCommand) {
      return execute((CheckSshCommand)cmd);
    }
 else     if (cmd instanceof NetworkUsageCommand) {
      return execute((NetworkUsageCommand)cmd);
    }
 else     if (cmd instanceof NetworkRulesSystemVmCommand) {
      return execute((NetworkRulesSystemVmCommand)cmd);
    }
 else     if (cmd instanceof CleanupNetworkRulesCmd) {
      return execute((CleanupNetworkRulesCmd)cmd);
    }
 else {
      s_logger.warn("String_Node_Str");
      return Answer.createUnsupportedCommandAnswer(cmd);
    }
  }
 catch (  final IllegalArgumentException e) {
    return new Answer(cmd,false,e.getMessage());
  }
}

Fixed version (ground truth):
@Override public Answer executeRequest(Command cmd){
  try {
    if (cmd instanceof StopCommand) {
      return execute((StopCommand)cmd);
    }
 else     if (cmd instanceof GetVmStatsCommand) {
      return execute((GetVmStatsCommand)cmd);
    }
 else     if (cmd instanceof RebootRouterCommand) {
      return execute((RebootRouterCommand)cmd);
    }
 else     if (cmd instanceof RebootCommand) {
      return execute((RebootCommand)cmd);
    }
 else     if (cmd instanceof GetHostStatsCommand) {
      return execute((GetHostStatsCommand)cmd);
    }
 else     if (cmd instanceof CheckStateCommand) {
      return executeRequest(cmd);
    }
 else     if (cmd instanceof CheckHealthCommand) {
      return execute((CheckHealthCommand)cmd);
    }
 else     if (cmd instanceof PrepareForMigrationCommand) {
      return execute((PrepareForMigrationCommand)cmd);
    }
 else     if (cmd instanceof MigrateCommand) {
      return execute((MigrateCommand)cmd);
    }
 else     if (cmd instanceof PingTestCommand) {
      return execute((PingTestCommand)cmd);
    }
 else     if (cmd instanceof CheckVirtualMachineCommand) {
      return execute((CheckVirtualMachineCommand)cmd);
    }
 else     if (cmd instanceof ReadyCommand) {
      return execute((ReadyCommand)cmd);
    }
 else     if (cmd instanceof AttachIsoCommand) {
      return execute((AttachIsoCommand)cmd);
    }
 else     if (cmd instanceof AttachVolumeCommand) {
      return execute((AttachVolumeCommand)cmd);
    }
 else     if (cmd instanceof StopCommand) {
      return execute((StopCommand)cmd);
    }
 else     if (cmd instanceof CheckConsoleProxyLoadCommand) {
      return execute((CheckConsoleProxyLoadCommand)cmd);
    }
 else     if (cmd instanceof WatchConsoleProxyLoadCommand) {
      return execute((WatchConsoleProxyLoadCommand)cmd);
    }
 else     if (cmd instanceof GetVncPortCommand) {
      return execute((GetVncPortCommand)cmd);
    }
 else     if (cmd instanceof ModifySshKeysCommand) {
      return execute((ModifySshKeysCommand)cmd);
    }
 else     if (cmd instanceof MaintainCommand) {
      return execute((MaintainCommand)cmd);
    }
 else     if (cmd instanceof CreateCommand) {
      return execute((CreateCommand)cmd);
    }
 else     if (cmd instanceof DestroyCommand) {
      return execute((DestroyCommand)cmd);
    }
 else     if (cmd instanceof PrimaryStorageDownloadCommand) {
      return execute((PrimaryStorageDownloadCommand)cmd);
    }
 else     if (cmd instanceof CreatePrivateTemplateFromVolumeCommand) {
      return execute((CreatePrivateTemplateFromVolumeCommand)cmd);
    }
 else     if (cmd instanceof GetStorageStatsCommand) {
      return execute((GetStorageStatsCommand)cmd);
    }
 else     if (cmd instanceof ManageSnapshotCommand) {
      return execute((ManageSnapshotCommand)cmd);
    }
 else     if (cmd instanceof BackupSnapshotCommand) {
      return execute((BackupSnapshotCommand)cmd);
    }
 else     if (cmd instanceof DeleteSnapshotBackupCommand) {
      return execute((DeleteSnapshotBackupCommand)cmd);
    }
 else     if (cmd instanceof DeleteSnapshotsDirCommand) {
      return execute((DeleteSnapshotsDirCommand)cmd);
    }
 else     if (cmd instanceof CreateVolumeFromSnapshotCommand) {
      return execute((CreateVolumeFromSnapshotCommand)cmd);
    }
 else     if (cmd instanceof CreatePrivateTemplateFromSnapshotCommand) {
      return execute((CreatePrivateTemplateFromSnapshotCommand)cmd);
    }
 else     if (cmd instanceof UpgradeSnapshotCommand) {
      return execute((UpgradeSnapshotCommand)cmd);
    }
 else     if (cmd instanceof CreateStoragePoolCommand) {
      return execute((CreateStoragePoolCommand)cmd);
    }
 else     if (cmd instanceof ModifyStoragePoolCommand) {
      return execute((ModifyStoragePoolCommand)cmd);
    }
 else     if (cmd instanceof SecurityIngressRulesCmd) {
      return execute((SecurityIngressRulesCmd)cmd);
    }
 else     if (cmd instanceof DeleteStoragePoolCommand) {
      return execute((DeleteStoragePoolCommand)cmd);
    }
 else     if (cmd instanceof FenceCommand) {
      return execute((FenceCommand)cmd);
    }
 else     if (cmd instanceof StartCommand) {
      return execute((StartCommand)cmd);
    }
 else     if (cmd instanceof NetworkElementCommand) {
      return _virtRouterResource.executeRequest(cmd);
    }
 else     if (cmd instanceof CheckSshCommand) {
      return execute((CheckSshCommand)cmd);
    }
 else     if (cmd instanceof NetworkUsageCommand) {
      return execute((NetworkUsageCommand)cmd);
    }
 else     if (cmd instanceof NetworkRulesSystemVmCommand) {
      return execute((NetworkRulesSystemVmCommand)cmd);
    }
 else     if (cmd instanceof CleanupNetworkRulesCmd) {
      return execute((CleanupNetworkRulesCmd)cmd);
    }
 else {
      s_logger.warn("String_Node_Str");
      return Answer.createUnsupportedCommandAnswer(cmd);
    }
  }
 catch (  final IllegalArgumentException e) {
    return new Answer(cmd,false,e.getMessage());
  }
}