Program: 115965
Project: 115965
Buggy source:
private void createCommands(){
  Command<StratosCommandContext> command=new HelpCommand();
  commands.put(command.getName(),command);
  command=new ExitCommand();
  commands.put(command.getName(),command);
  command=new ListCartridgesCommand();
  commands.put(command.getName(),command);
  command=new AddTenantCommand();
  commands.put(command.getName(),command);
  command=new AddUserCommand();
  commands.put(command.getName(),command);
  command=new DeleteUserCommand();
  commands.put(command.getName(),command);
  command=new ListUsers();
  commands.put(command.getName(),command);
  command=new ListTenants();
  commands.put(command.getName(),command);
  command=new DeactivateTenantCommand();
  commands.put(command.getName(),command);
  command=new ActivateTenantCommand();
  commands.put(command.getName(),command);
  command=new AddCartridgeCommand();
  commands.put(command.getName(),command);
  command=new UpdateCartridgeCommand();
  commands.put(command.getName(),command);
  command=new AddAutoscalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new CreateApplicationCommand();
  commands.put(command.getName(),command);
  command=new ListApplicationsCommand();
  commands.put(command.getName(),command);
  command=new RemoveCartridgeCommand();
  commands.put(command.getName(),command);
  command=new ListAutoscalePolicyCommand();
  commands.put(command.getName(),command);
  command=new DescribeCartridgeCommand();
  commands.put(command.getName(),command);
  command=new DescribeDeploymentPolicyCommand();
  commands.put(command.getName(),command);
  command=new DescribeAutoScalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new SynchronizeArtifactsCommand();
  commands.put(command.getName(),command);
  command=new AddKubernetesClusterCommand();
  commands.put(command.getName(),command);
  command=new ListKubernetesClustersCommand();
  commands.put(command.getName(),command);
  command=new ListKubernetesHostsCommand();
  commands.put(command.getName(),command);
  command=new AddKubernetesHostCommand();
  commands.put(command.getName(),command);
  command=new RemoveKubernetesClusterCommand();
  commands.put(command.getName(),command);
  command=new RemoveKubernetesHostCommand();
  commands.put(command.getName(),command);
  command=new UpdateKubernetesMasterCommand();
  commands.put(command.getName(),command);
  command=new UpdateKubernetesHostCommand();
  commands.put(command.getName(),command);
  command=new AddCartridgeGroupCommand();
  commands.put(command.getName(),command);
  command=new DescribeCartridgeGroupCommand();
  commands.put(command.getName(),command);
  command=new ListCartridgeGroupsCommand();
  commands.put(command.getName(),command);
  command=new RemoveCartridgeGroupCommand();
  commands.put(command.getName(),command);
  command=new DeployApplicationCommand();
  commands.put(command.getName(),command);
  command=new UndeployApplicationCommand();
  commands.put(command.getName(),command);
  command=new DescribeApplicationCommand();
  commands.put(command.getName(),command);
  command=new AddDomainMappingsCommand();
  commands.put(command.getName(),command);
  command=new ListDomainMappingsCommand();
  commands.put(command.getName(),command);
  command=new RemoveDomainMappingsCommand();
  commands.put(command.getName(),command);
  command=new DeleteAutoScalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new AddNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new RemoveNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new ListNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new UpdateNetworkPartitionCommand();
  commands.put(command.getName(),command);
  if (logger.isDebugEnabled()) {
    logger.debug("String_Node_Str",commands.size(),commands.keySet());
  }
}

Fixed version (ground truth):
private void createCommands(){
  Command<StratosCommandContext> command=new HelpCommand();
  commands.put(command.getName(),command);
  command=new ExitCommand();
  commands.put(command.getName(),command);
  command=new ListCartridgesCommand();
  commands.put(command.getName(),command);
  command=new AddTenantCommand();
  commands.put(command.getName(),command);
  command=new AddUserCommand();
  commands.put(command.getName(),command);
  command=new DeleteUserCommand();
  commands.put(command.getName(),command);
  command=new ListUsers();
  commands.put(command.getName(),command);
  command=new ListTenants();
  commands.put(command.getName(),command);
  command=new DeactivateTenantCommand();
  commands.put(command.getName(),command);
  command=new ActivateTenantCommand();
  commands.put(command.getName(),command);
  command=new AddCartridgeCommand();
  commands.put(command.getName(),command);
  command=new UpdateCartridgeCommand();
  commands.put(command.getName(),command);
  command=new AddAutoscalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new CreateApplicationCommand();
  commands.put(command.getName(),command);
  command=new ListApplicationsCommand();
  commands.put(command.getName(),command);
  command=new RemoveCartridgeCommand();
  commands.put(command.getName(),command);
  command=new ListAutoscalePolicyCommand();
  commands.put(command.getName(),command);
  command=new DescribeCartridgeCommand();
  commands.put(command.getName(),command);
  command=new DescribeDeploymentPolicyCommand();
  commands.put(command.getName(),command);
  command=new DescribeAutoScalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new SynchronizeArtifactsCommand();
  commands.put(command.getName(),command);
  command=new AddKubernetesClusterCommand();
  commands.put(command.getName(),command);
  command=new ListKubernetesClustersCommand();
  commands.put(command.getName(),command);
  command=new ListKubernetesHostsCommand();
  commands.put(command.getName(),command);
  command=new AddKubernetesHostCommand();
  commands.put(command.getName(),command);
  command=new RemoveKubernetesClusterCommand();
  commands.put(command.getName(),command);
  command=new RemoveKubernetesHostCommand();
  commands.put(command.getName(),command);
  command=new UpdateKubernetesMasterCommand();
  commands.put(command.getName(),command);
  command=new UpdateKubernetesHostCommand();
  commands.put(command.getName(),command);
  command=new AddCartridgeGroupCommand();
  commands.put(command.getName(),command);
  command=new DescribeCartridgeGroupCommand();
  commands.put(command.getName(),command);
  command=new ListCartridgeGroupsCommand();
  commands.put(command.getName(),command);
  command=new RemoveCartridgeGroupCommand();
  commands.put(command.getName(),command);
  command=new DeployApplicationCommand();
  commands.put(command.getName(),command);
  command=new UndeployApplicationCommand();
  commands.put(command.getName(),command);
  command=new DescribeApplicationCommand();
  commands.put(command.getName(),command);
  command=new AddDomainMappingsCommand();
  commands.put(command.getName(),command);
  command=new ListDomainMappingsCommand();
  commands.put(command.getName(),command);
  command=new RemoveDomainMappingsCommand();
  commands.put(command.getName(),command);
  command=new DeleteAutoScalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new AddNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new RemoveNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new ListNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new UpdateNetworkPartitionCommand();
  commands.put(command.getName(),command);
  command=new UpdateAutoscalingPolicyCommand();
  commands.put(command.getName(),command);
  command=new AddApplicationSignupCommand();
  commands.put(command.getName(),command);
  if (logger.isDebugEnabled()) {
    logger.debug("String_Node_Str",commands.size(),commands.keySet());
  }
}