Program: 44202
Project: 44202
Buggy source:
public static void main(String[] args) throws UCMException, IOException {
  if (args.length < 2) {
    System.err.println("String_Node_Str");
    System.exit(1);
  }
  File path=new File(args[0]);
  File devpath=new File(path,"String_Node_Str");
  File intpath=new File(path,"String_Node_Str");
  path.mkdirs();
  String name=args[1];
  File path2=new File(path,"String_Node_Str" + name + "String_Node_Str");
  UCM.setContext(UCM.ContextType.CLEARTOOL);
  Logger logger=PraqmaLogger.getLogger(false);
  logger.subscribeAll();
  logger.setLocalLog(new File("String_Node_Str"));
  Cool.setLogger(logger);
  File file=new File(path2,"String_Node_Str");
  PVob pvob=new PVob("String_Node_Str" + name + "String_Node_Str");
  System.out.println("String_Node_Str" + pvob);
  String append=System.currentTimeMillis() / 1000 + "String_Node_Str";
  Stream intStream=UCMEntity.getStream("String_Node_Str",pvob,true);
  System.out.println("String_Node_Str");
  SnapshotView intView=SnapshotView.create(intStream,intpath,"String_Node_Str" + append + "String_Node_Str");
  Baseline baseline=UCMEntity.getBaseline("String_Node_Str",pvob,true);
  Component component=UCMEntity.getComponent("String_Node_Str",pvob,true);
  SnapshotView devview=Utilities.CreateView("String_Node_Str" + append + "String_Node_Str"+ pvob,intStream,baseline,devpath,"String_Node_Str" + append + "String_Node_Str");
  System.out.println("String_Node_Str");
  devview.Update(true,true,true,false,COMP.MODIFIABLE,null);
  System.out.println("String_Node_Str");
  file.getParentFile().mkdirs();
  file.createNewFile();
  Activity activity=Activity.create("String_Node_Str" + append,pvob,true,null,devpath);
  Version.checkOut(path2,path2);
  Version version=Version.create(file,false,devview);
  PrintStream ps;
  try {
    ps=new PrintStream(new BufferedOutputStream(new FileOutputStream(file,true)));
    ps.println(append);
    ps.close();
  }
 catch (  FileNotFoundException e) {
    e.printStackTrace();
  }
  Version.checkIn(path2,false,path2);
  Baseline.create("String_Node_Str" + append,component,devpath,true,true);
}

Fixed version (ground truth):
public static void main(String[] args) throws UCMException, IOException {
  if (args.length < 2) {
    System.err.println("String_Node_Str");
    System.exit(1);
  }
  File path=new File(args[0]);
  File devpath=new File(path,"String_Node_Str");
  File intpath=new File(path,"String_Node_Str");
  path.mkdirs();
  String name=args[1];
  File path2=new File(path,"String_Node_Str" + name + "String_Node_Str");
  UCM.setContext(UCM.ContextType.CLEARTOOL);
  Logger logger=PraqmaLogger.getLogger(false);
  logger.subscribeAll();
  logger.setLocalLog(new File("String_Node_Str"));
  Cool.setLogger(logger);
  File file=new File(path2,"String_Node_Str");
  PVob pvob=new PVob("String_Node_Str" + name + "String_Node_Str");
  System.out.println("String_Node_Str" + pvob);
  String append=System.currentTimeMillis() / 1000 + "String_Node_Str";
  Stream intStream=UCMEntity.getStream("String_Node_Str",pvob,true);
  System.out.println("String_Node_Str");
  SnapshotView intView=SnapshotView.create(intStream,intpath,"String_Node_Str" + append + "String_Node_Str");
  Baseline baseline=UCMEntity.getBaseline("String_Node_Str",pvob,true);
  Component component=UCMEntity.getComponent("String_Node_Str",pvob,true);
  SnapshotView devview=Utilities.CreateView("String_Node_Str" + append + "String_Node_Str"+ pvob,intStream,baseline,devpath,"String_Node_Str" + append + "String_Node_Str");
  System.out.println("String_Node_Str");
  devview.Update(true,true,true,false,Components.MODIFIABLE,null);
  System.out.println("String_Node_Str");
  file.getParentFile().mkdirs();
  file.createNewFile();
  Activity activity=Activity.create("String_Node_Str" + append,pvob,true,null,devpath);
  Version.checkOut(path2,path2);
  Version version=Version.create(file,false,devview);
  PrintStream ps;
  try {
    ps=new PrintStream(new BufferedOutputStream(new FileOutputStream(file,true)));
    ps.println(append);
    ps.close();
  }
 catch (  FileNotFoundException e) {
    e.printStackTrace();
  }
  Version.checkIn(path2,false,path2);
  Baseline.create("String_Node_Str" + append,component,devpath,true,true);
}