Program: 30232
Project: 30232
Buggy source:
public ToolsWindow(Skin skin,ScnWidget sw){
  scnWidget=sw;
  Table table=new Table(skin);
  TextButton button1=new TextButton("String_Node_Str",skin);
  TextButton button2=new TextButton("String_Node_Str",skin);
  table.top();
  table.add(new Label("String_Node_Str",skin,"String_Node_Str")).center();
  setActor(table);
  Drawable drawable=skin.getDrawable("String_Node_Str");
  setBackground(drawable);
  table.row();
  table.add(button2).expandX().fill();
  button1.addListener(new ChangeListener(){
    @Override public void changed(    ChangeEvent event,    Actor actor){
      HashMap<String,Scene> scenes=World.getInstance().getScenes();
      for (      Scene scn : scenes.values()) {
        HashMap<String,BaseActor> actors=scn.getActors();
        for (        BaseActor a : actors.values()) {
          if (a instanceof InteractiveActor) {
            InteractiveActor ia=(InteractiveActor)a;
            HashMap<String,Verb> verbs=ia.getVerbManager().getVerbs();
            for (            Verb v : verbs.values()) {
              ArrayList<Action> actions=v.getActions();
              if (v.getState() != null && v.getState().equalsIgnoreCase("String_Node_Str"))               continue;
              if (actions.size() == 1) {
                Action act=actions.get(0);
                if (act instanceof LookAtAction || act instanceof SayAction) {
                  actions.clear();
                  SetCutmodeAction cma1=new SetCutmodeAction();
                  SetCutmodeAction cma2=new SetCutmodeAction();
                  try {
                    ActionUtils.setParam(cma1,"String_Node_Str","String_Node_Str");
                    ActionUtils.setParam(cma2,"String_Node_Str","String_Node_Str");
                  }
 catch (                  NoSuchFieldException|IllegalArgumentException|IllegalAccessException e) {
                    e.printStackTrace();
                  }
                  actions.add(cma1);
                  actions.add(act);
                  actions.add(cma2);
                }
              }
            }
          }
        }
      }
      Ctx.project.setModified();
      Message.showMsg(getStage(),"String_Node_Str",4);
      event.cancel();
    }
  }
);
  button2.addListener(new ChangeListener(){
    @Override public void changed(    ChangeEvent event,    Actor actor){
      if (Ctx.project.getSelectedScene() == null) {
        String msg="String_Node_Str";
        Message.showMsg(getStage(),msg,3);
        return;
      }
      Ctx.project.getProjectConfig().setProperty(Config.CHAPTER_PROP,Ctx.project.getChapter().getId());
      Ctx.project.getProjectConfig().setProperty(Config.TEST_SCENE_PROP,Ctx.project.getSelectedScene().getId());
      Ctx.project.setModified();
      try {
        Ctx.project.saveProject();
      }
 catch (      Exception ex) {
        String msg="String_Node_Str" + ex.getClass().getSimpleName() + "String_Node_Str"+ ex.getMessage();
        Message.showMsgDialog(getStage(),"String_Node_Str",msg);
        return;
      }
      new Thread(new Runnable(){
        Stage stage=getStage();
        @Override public void run(){
          Message.showMsg(stage,"String_Node_Str",5);
          if (!RunProccess.runGradle(Ctx.project.getProjectDir(),"String_Node_Str"))           Message.showMsg(stage,"String_Node_Str",4);
        }
      }
).start();
      Ctx.project.getProjectConfig().remove(Config.CHAPTER_PROP);
      Ctx.project.getProjectConfig().remove(Config.TEST_SCENE_PROP);
      Ctx.project.setModified();
      event.cancel();
    }
  }
);
  prefSize(200,200);
  setSize(200,200);
}

Fixed version (ground truth):
public ToolsWindow(Skin skin,ScnWidget sw){
  scnWidget=sw;
  Table table=new Table(skin);
  TextButton button1=new TextButton("String_Node_Str",skin);
  TextButton button2=new TextButton("String_Node_Str",skin);
  table.top();
  table.add(new Label("String_Node_Str",skin,"String_Node_Str")).center();
  setActor(table);
  Drawable drawable=skin.getDrawable("String_Node_Str");
  setBackground(drawable);
  table.row();
  table.add(button2).expandX().fill();
  button1.addListener(new ChangeListener(){
    @Override public void changed(    ChangeEvent event,    Actor actor){
      HashMap<String,Scene> scenes=World.getInstance().getScenes();
      for (      Scene scn : scenes.values()) {
        HashMap<String,BaseActor> actors=scn.getActors();
        for (        BaseActor a : actors.values()) {
          if (a instanceof InteractiveActor) {
            InteractiveActor ia=(InteractiveActor)a;
            HashMap<String,Verb> verbs=ia.getVerbManager().getVerbs();
            for (            Verb v : verbs.values()) {
              ArrayList<Action> actions=v.getActions();
              if (v.getState() != null && v.getState().equalsIgnoreCase("String_Node_Str"))               continue;
              if (actions.size() == 1) {
                Action act=actions.get(0);
                if (act instanceof LookAtAction || act instanceof SayAction) {
                  actions.clear();
                  SetCutmodeAction cma1=new SetCutmodeAction();
                  SetCutmodeAction cma2=new SetCutmodeAction();
                  try {
                    ActionUtils.setParam(cma1,"String_Node_Str","String_Node_Str");
                    ActionUtils.setParam(cma2,"String_Node_Str","String_Node_Str");
                  }
 catch (                  NoSuchFieldException|IllegalArgumentException|IllegalAccessException e) {
                    e.printStackTrace();
                  }
                  actions.add(cma1);
                  actions.add(act);
                  actions.add(cma2);
                }
              }
            }
          }
        }
      }
      Ctx.project.setModified();
      Message.showMsg(getStage(),"String_Node_Str",4);
      event.cancel();
    }
  }
);
  button2.addListener(new ChangeListener(){
    @Override public void changed(    ChangeEvent event,    Actor actor){
      if (Ctx.project.getSelectedScene() == null) {
        String msg="String_Node_Str";
        Message.showMsg(getStage(),msg,3);
        return;
      }
      Ctx.project.getProjectConfig().setProperty(Config.CHAPTER_PROP,Ctx.project.getChapter().getId());
      Ctx.project.getProjectConfig().setProperty(Config.TEST_SCENE_PROP,Ctx.project.getSelectedScene().getId());
      Ctx.project.setModified();
      try {
        Ctx.project.saveProject();
      }
 catch (      Exception ex) {
        String msg="String_Node_Str" + ex.getClass().getSimpleName() + "String_Node_Str"+ ex.getMessage();
        Message.showMsgDialog(getStage(),"String_Node_Str",msg);
        return;
      }
      new Thread(new Runnable(){
        Stage stage=getStage();
        @Override public void run(){
          Message.showMsg(stage,"String_Node_Str",5);
          if (!RunProccess.runGradle(Ctx.project.getProjectDir(),"String_Node_Str")) {
            Message.showMsg(stage,"String_Node_Str",4);
          }
          Ctx.project.getProjectConfig().remove(Config.CHAPTER_PROP);
          Ctx.project.getProjectConfig().remove(Config.TEST_SCENE_PROP);
          Ctx.project.setModified();
          try {
            Ctx.project.saveProject();
          }
 catch (          Exception ex) {
            String msg="String_Node_Str" + ex.getClass().getSimpleName() + "String_Node_Str"+ ex.getMessage();
            EngineLogger.error(msg);
            return;
          }
        }
      }
).start();
      event.cancel();
    }
  }
);
  prefSize(200,200);
  setSize(200,200);
}