Program: 61642
Project: 61642
Buggy source:
@Test(dataProvider="String_Node_Str") public void testDirectEditing(String filename) throws IOException, InterruptedException, AVM2ParseException, CompilationException {
  Configuration.autoDeobfuscate.set(false);
  try {
    SWF swf=new SWF(new BufferedInputStream(new FileInputStream(TESTDATADIR + File.separator + filename)),false);
    if ((swf.fileAttributes != null && swf.fileAttributes.actionScript3) || (swf.fileAttributes == null && swf.isAS3)) {
      boolean dotest=false;
      List<ABC> allAbcs=new ArrayList<>();
      for (      ABCContainerTag ct : swf.abcList) {
        allAbcs.add(ct.getABC());
      }
      for (      ABC abc : allAbcs) {
        for (int s=0; s < abc.script_info.size(); s++) {
          String startAfter=null;
          HilightedTextWriter htw=new HilightedTextWriter(new CodeFormatting(),false);
          MyEntry<ClassPath,ScriptPack> en=abc.script_info.get(s).getPacks(abc,s).get(0);
          if (startAfter == null || en.getKey().toString().equals(startAfter)) {
            dotest=true;
          }
          if (!dotest) {
            System.out.println("String_Node_Str" + en.getKey().toString());
            continue;
          }
          System.out.println("String_Node_Str" + en.getKey().toString() + "String_Node_Str");
          en.getValue().toSource(htw,swf.abcList,abc.script_info.get(s).traits.traits,ScriptExportMode.AS,false);
          String original=htw.toString();
          ABC nabc=new ABC(swf);
          com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScriptParser.compile(original,nabc,allAbcs,false,en.getKey().className + "String_Node_Str");
        }
      }
    }
 else {
      List<ContainerItem> list2=new ArrayList<>();
      list2.addAll(swf.tags);
      List<TreeNode> list=SWF.createASTagList(list2,null);
      TagNode.setExport(list,true);
      testAS2DirectEditingOneRecursive(swf.version,list);
    }
  }
 catch (  Exception ex) {
    System.out.println("String_Node_Str");
    throw ex;
  }
}

Fixed version (ground truth):
@Test(dataProvider="String_Node_Str") public void testDirectEditing(String filename) throws IOException, InterruptedException, AVM2ParseException, CompilationException {
  Configuration.autoDeobfuscate.set(false);
  try {
    SWF swf=new SWF(new BufferedInputStream(new FileInputStream(TESTDATADIR + File.separator + filename)),false);
    if ((swf.fileAttributes != null && swf.fileAttributes.actionScript3) || (swf.fileAttributes == null && swf.isAS3)) {
      boolean dotest=false;
      List<ABC> allAbcs=new ArrayList<>();
      for (      ABCContainerTag ct : swf.abcList) {
        allAbcs.add(ct.getABC());
      }
      for (      ABC abc : allAbcs) {
        for (int s=0; s < abc.script_info.size(); s++) {
          String startAfter=null;
          HilightedTextWriter htw=new HilightedTextWriter(new CodeFormatting(),false);
          MyEntry<ClassPath,ScriptPack> en=abc.script_info.get(s).getPacks(abc,s).get(0);
          if (startAfter == null || en.getKey().toString().equals(startAfter)) {
            dotest=true;
          }
          if (!dotest) {
            System.out.println("String_Node_Str" + en.getKey().toString());
            continue;
          }
          System.out.println("String_Node_Str" + en.getKey().toString() + "String_Node_Str");
          en.getValue().toSource(htw,swf.abcList,abc.script_info.get(s).traits.traits,ScriptExportMode.AS,false);
          String original=htw.toString();
          ABC nabc=new ABC(swf);
          com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScriptParser.compile(original,nabc,allAbcs,false,en.getKey().className + "String_Node_Str",abc.instance_info.size());
        }
      }
    }
 else {
      List<ContainerItem> list2=new ArrayList<>();
      list2.addAll(swf.tags);
      List<TreeNode> list=SWF.createASTagList(list2,null);
      TagNode.setExport(list,true);
      testAS2DirectEditingOneRecursive(swf.version,list);
    }
  }
 catch (  Exception ex) {
    System.out.println("String_Node_Str");
    throw ex;
  }
}