Program: 5124
Project: 5124
Buggy source:
public static void main(String[] args) throws Exception {
  if (args.length >= 1 && args[0].equals("String_Node_Str")) {
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println();
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + PROP_SHOW_PROGRESS + "String_Node_Str");
    System.out.println("String_Node_Str" + PROP_ROWS_CACHE + "String_Node_Str"+ "String_Node_Str");
    System.exit(1);
  }
  final QueueName queueName=args.length >= 1 ? QueueName.from(URI.create(args[0])) : null;
  Long consumerGroupId=null;
  if (args.length >= 2) {
    Preconditions.checkNotNull(queueName);
    String consumerFlowlet=args[1];
    FlowId flowId=new FlowId(queueName.getFirstComponent(),queueName.getSecondComponent(),queueName.getThirdComponent());
    consumerGroupId=FlowUtils.generateConsumerGroupId(flowId,consumerFlowlet);
  }
  HBaseQueueDebugger debugger=createDebugger();
  debugger.startAndWait();
  if (queueName != null) {
    debugger.scanQueue(queueName,consumerGroupId);
  }
 else {
    debugger.scanAllQueues();
  }
  debugger.stopAndWait();
}

Fixed version (ground truth):
public static void main(String[] args) throws Exception {
  if (args.length >= 1 && args[0].equals("String_Node_Str")) {
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println();
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + PROP_SHOW_PROGRESS + "String_Node_Str");
    System.out.println("String_Node_Str" + PROP_ROWS_CACHE + "String_Node_Str"+ "String_Node_Str");
    System.exit(1);
  }
  final QueueName queueName=args.length >= 1 ? QueueName.from(URI.create(args[0])) : null;
  Long consumerGroupId=null;
  if (args.length >= 2) {
    Preconditions.checkNotNull(queueName);
    String consumerFlowlet=args[1];
    FlowId flowId=new FlowId(queueName.getFirstComponent(),queueName.getSecondComponent(),queueName.getThirdComponent());
    consumerGroupId=FlowUtils.generateConsumerGroupId(flowId,consumerFlowlet);
  }
  final HBaseQueueDebugger debugger=createDebugger();
  debugger.startAndWait();
  Injector injector=createInjector(true);
  NoAuthService noAuthService=injector.getInstance(NoAuthService.class);
  noAuthService.startAndWait();
  NamespaceQueryAdmin namespaceQueryAdmin=noAuthService.getNamespaceQueryAdmin();
  Impersonator impersonator=noAuthService.getImpersonator();
  if (queueName != null) {
    final Long finalConsumerGroupId=consumerGroupId;
    impersonator.doAs(new NamespaceId(queueName.getFirstComponent()),new Callable<Void>(){
      @Override public Void call() throws Exception {
        debugger.scanQueue(queueName,finalConsumerGroupId);
        return null;
      }
    }
);
  }
 else {
    debugger.scanQueues(namespaceQueryAdmin.list());
  }
  noAuthService.stopAndWait();
  debugger.stopAndWait();
}