Program: 30146
Project: 30146
Buggy source:
@Override public void show(){
  float size=DPIUtils.getPrefButtonSize();
  float margin=DPIUtils.getMarginSize();
  stage=new Stage(new ScreenViewport());
  table=new Table(ui.getSkin());
  table.setFillParent(true);
  table.left().top();
  table.pad(margin);
  table.addListener(new InputListener(){
    @Override public boolean keyUp(    InputEvent event,    int keycode){
      if (keycode == Input.Keys.ESCAPE || keycode == Input.Keys.BACK)       ui.setCurrentScreen(Screens.SCENE_SCREEN);
      return true;
    }
  }
);
  stage.setKeyboardFocus(table);
  Button back=new Button(ui.getSkin(),"String_Node_Str");
  back.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  Label title=new Label("String_Node_Str",ui.getSkin(),"String_Node_Str");
  Table header=new Table();
  header.padBottom(margin);
  Container<Button> cont=new Container<Button>(back);
  cont.size(size);
  header.add(cont);
  header.add(title).fillX().expandX().left();
  table.add(header).colspan(3).fillX().expandX().left();
  speedText=new TextField(Float.toString(((SceneScreen)ui.getScreen(Screens.SCENE_SCREEN)).getSpeed()),ui.getSkin());
  TextButton speedButton=new TextButton("String_Node_Str",ui.getSkin());
  speedButton.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      SceneScreen scnScr=(SceneScreen)ui.getScreen(Screens.SCENE_SCREEN);
      scnScr.setSpeed(Float.parseFloat(speedText.getText()));
    }
  }
);
  speedButton.pad(2,3,2,3);
  HorizontalGroup sGroup=new HorizontalGroup();
  sGroup.space(10);
  sGroup.addActor(speedText);
  sGroup.addActor(speedButton);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(sGroup);
  final Recorder r=ui.getRecorder();
  TextButton play=new TextButton(r.isPlaying() ? "String_Node_Str" : "String_Node_Str",ui.getSkin());
  rec=new TextButton(r.isRecording() ? "String_Node_Str" : "String_Node_Str",ui.getSkin());
  play.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final Recorder r=ui.getRecorder();
      if (!r.isPlaying()) {
        r.setFilename(recordings.getSelected());
        r.load();
        r.setPlaying(true);
        ui.setCurrentScreen(Screens.SCENE_SCREEN);
      }
 else {
        r.setPlaying(false);
        ui.setCurrentScreen(Screens.SCENE_SCREEN);
      }
    }
  }
);
  rec.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final Recorder r=ui.getRecorder();
      if (r.isPlaying()) {
        r.setPlaying(false);
      }
      if (!r.isRecording())       r.setFilename(recFilename.getText());
      r.setRecording(!r.isRecording());
      rec.setText(r.isRecording() ? "String_Node_Str" : "String_Node_Str");
      if (r.isRecording())       ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  recordings=new SelectBox<String>(ui.getSkin());
  String[] testFiles=EngineAssetManager.getInstance().listAssetFiles("String_Node_Str");
  ArrayList<String> al=new ArrayList<String>();
  for (  String file : testFiles)   if (file.endsWith(Recorder.RECORD_EXT))   al.add(file.substring(0,file.indexOf(Recorder.RECORD_EXT)));
  FileHandle[] testFiles2=EngineAssetManager.getInstance().getUserFolder().list();
  for (  FileHandle file : testFiles2)   if (file.name().endsWith(Recorder.RECORD_EXT))   al.add(file.name().substring(0,file.name().indexOf(Recorder.RECORD_EXT)));
  recordings.setItems(al.toArray(new String[al.size()]));
  play.pad(2,3,2,3);
  rec.pad(2,3,2,3);
  recFilename=new TextField(r.getFileName(),ui.getSkin());
  HorizontalGroup rGroup=new HorizontalGroup();
  rGroup.space(10);
  rGroup.addActor(recordings);
  rGroup.addActor(play);
  rGroup.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  rGroup.addActor(recFilename);
  rGroup.addActor(rec);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(rGroup);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  HorizontalGroup chGroup=new HorizontalGroup();
  chGroup.space(10);
  final TextField chapter=new TextField("String_Node_Str",ui.getSkin());
  chGroup.addActor(chapter);
  TextButton loadButton=new TextButton("String_Node_Str",ui.getSkin());
  loadButton.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      String c=chapter.getText();
      if (!c.isEmpty()) {
        try {
          ui.getWorld().getSerializer().loadChapter(c);
          ui.setCurrentScreen(Screens.SCENE_SCREEN);
        }
 catch (        IOException e) {
          EngineLogger.error("String_Node_Str",e);
        }
      }
    }
  }
);
  chGroup.addActor(loadButton);
  table.add(chGroup);
  final TextButton testScene=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  final TextButton initScene=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  initScene.setChecked(true);
  TextButton go=new TextButton("String_Node_Str",ui.getSkin());
  go.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      ui.getWorld().resume();
      ui.getWorld().setCutMode(false);
      if (testScene.isChecked())       ui.getWorld().setTestScene(scenes.getSelected());
      ui.getWorld().enterScene(scenes.getSelected(),initScene.isChecked());
      ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  go.pad(2,3,2,3);
  scenes=new SelectBox<String>(ui.getSkin());
  scenes.setItems(ui.getWorld().getScenes().keySet().toArray(new String[ui.getWorld().getScenes().size()]));
  HorizontalGroup scGroup=new HorizontalGroup();
  scGroup.space(10);
  scGroup.addActor(scenes);
  scGroup.addActor(go);
  scGroup.addActor(testScene);
  scGroup.addActor(initScene);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(scGroup);
  final TesterBot bot=ui.getTesterBot();
  TextButton runBot=new TextButton(bot.isEnabled() ? "String_Node_Str" : "String_Node_Str",ui.getSkin());
  runBot.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setMaxWaitInverval(Float.parseFloat(testerTimeConf.getText()));
      bot.setInSceneTime(Float.parseFloat(inSceneTimeConf.getText()));
      bot.setExcludeList(testerExcludeList.getText());
      bot.setEnabled(!bot.isEnabled());
      ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  runBot.pad(2,3,2,3);
  testerTimeConf=new TextField(Float.toString(bot.getMaxWaitInverval()),ui.getSkin());
  inSceneTimeConf=new TextField(Float.toString(bot.getInSceneTime()),ui.getSkin());
  testerExcludeList=new TextField(bot.getExcludeList(),ui.getSkin());
  TextButton testerLeaveConf=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerLeaveConf.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setRunLeaveVerbs(!bot.isRunLeaveVerbs());
    }
  }
);
  testerLeaveConf.setChecked(bot.isRunLeaveVerbs());
  TextButton testerGotoConf=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerGotoConf.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setRunGoto(!bot.isRunGoto());
    }
  }
);
  testerGotoConf.setChecked(bot.isRunGoto());
  TextButton testerPassText=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerPassText.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setPassTexts(!bot.isPassTexts());
    }
  }
);
  testerPassText.setChecked(bot.isPassTexts());
  TextButton testerWaitWhenWalking=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerWaitWhenWalking.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setWaitWhenWalking(!bot.isWaitWhenWalking());
    }
  }
);
  testerWaitWhenWalking.setChecked(bot.isWaitWhenWalking());
  HorizontalGroup botGroup=new HorizontalGroup();
  botGroup.space(10);
  botGroup.addActor(testerLeaveConf);
  botGroup.addActor(testerGotoConf);
  botGroup.addActor(testerPassText);
  botGroup.addActor(testerWaitWhenWalking);
  HorizontalGroup botGroup2=new HorizontalGroup();
  botGroup2.space(10);
  botGroup2.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  botGroup2.addActor(testerExcludeList);
  botGroup2.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  botGroup2.addActor(testerTimeConf);
  botGroup2.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  botGroup2.addActor(inSceneTimeConf);
  botGroup2.addActor(runBot);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(botGroup);
  table.row().pad(5).align(Align.left);
  table.add();
  table.add(botGroup2);
  String versionString=Config.getProperty(Config.TITLE_PROP,"String_Node_Str") + "String_Node_Str" + Config.getProperty(Config.VERSION_PROP,"String_Node_Str")+ "String_Node_Str"+ "String_Node_Str"+ Config.getProperty(Config.BLADE_ENGINE_VERSION_PROP,"String_Node_Str")+ "String_Node_Str"+ "String_Node_Str"+ Config.getProperty("String_Node_Str","String_Node_Str")+ "String_Node_Str"+ "String_Node_Str"+ Config.getProperty("String_Node_Str","String_Node_Str")+ "String_Node_Str";
  Label version=new Label(versionString,ui.getSkin(),"String_Node_Str");
  version.setColor(Color.LIGHT_GRAY);
  Table versionStack=new Table();
  versionStack.defaults().pad(DPIUtils.getSpacing());
  versionStack.pad(0);
  versionStack.add(version);
  versionStack.bottom().left();
  versionStack.setFillParent(true);
  versionStack.pack();
  table.row();
  table.add(versionStack).colspan(3).left();
  table.pack();
  ScrollPane scrollPane=new ScrollPane(table);
  scrollPane.setFillParent(true);
  stage.addActor(scrollPane);
  pointer=new Pointer(ui.getSkin());
  stage.addActor(pointer);
  Gdx.input.setInputProcessor(stage);
}

Fixed version (ground truth):
@Override public void show(){
  float size=DPIUtils.getPrefButtonSize();
  float margin=DPIUtils.getMarginSize();
  stage=new Stage(new ScreenViewport());
  table=new Table(ui.getSkin());
  table.setFillParent(true);
  table.left().top();
  table.pad(margin);
  table.addListener(new InputListener(){
    @Override public boolean keyUp(    InputEvent event,    int keycode){
      if (keycode == Input.Keys.ESCAPE || keycode == Input.Keys.BACK)       ui.setCurrentScreen(Screens.SCENE_SCREEN);
      return true;
    }
  }
);
  stage.setKeyboardFocus(table);
  Button back=new Button(ui.getSkin(),"String_Node_Str");
  back.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  Label title=new Label("String_Node_Str",ui.getSkin(),"String_Node_Str");
  Table header=new Table();
  header.padBottom(margin);
  Container<Button> cont=new Container<Button>(back);
  cont.size(size);
  header.add(cont);
  header.add(title).fillX().expandX().left();
  table.add(header).colspan(3).fillX().expandX().left();
  speedText=new TextField(Float.toString(((SceneScreen)ui.getScreen(Screens.SCENE_SCREEN)).getSpeed()),ui.getSkin());
  TextButton speedButton=new TextButton("String_Node_Str",ui.getSkin());
  speedButton.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      SceneScreen scnScr=(SceneScreen)ui.getScreen(Screens.SCENE_SCREEN);
      scnScr.setSpeed(Float.parseFloat(speedText.getText()));
    }
  }
);
  speedButton.pad(2,3,2,3);
  HorizontalGroup sGroup=new HorizontalGroup();
  sGroup.space(10);
  sGroup.addActor(speedText);
  sGroup.addActor(speedButton);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(sGroup);
  final Recorder r=ui.getRecorder();
  TextButton play=new TextButton(r.isPlaying() ? "String_Node_Str" : "String_Node_Str",ui.getSkin());
  rec=new TextButton(r.isRecording() ? "String_Node_Str" : "String_Node_Str",ui.getSkin());
  play.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final Recorder r=ui.getRecorder();
      if (!r.isPlaying()) {
        r.setFilename(recordings.getSelected());
        r.load();
        r.setPlaying(true);
        ui.setCurrentScreen(Screens.SCENE_SCREEN);
      }
 else {
        r.setPlaying(false);
        ui.setCurrentScreen(Screens.SCENE_SCREEN);
      }
    }
  }
);
  rec.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final Recorder r=ui.getRecorder();
      if (r.isPlaying()) {
        r.setPlaying(false);
      }
      if (!r.isRecording())       r.setFilename(recFilename.getText());
      r.setRecording(!r.isRecording());
      rec.setText(r.isRecording() ? "String_Node_Str" : "String_Node_Str");
      if (r.isRecording())       ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  recordings=new SelectBox<String>(ui.getSkin());
  String[] testFiles=EngineAssetManager.getInstance().listAssetFiles("String_Node_Str");
  ArrayList<String> al=new ArrayList<String>();
  for (  String file : testFiles)   if (file.endsWith(Recorder.RECORD_EXT))   al.add(file.substring(0,file.indexOf(Recorder.RECORD_EXT)));
  FileHandle[] testFiles2=EngineAssetManager.getInstance().getUserFolder().list();
  for (  FileHandle file : testFiles2)   if (file.name().endsWith(Recorder.RECORD_EXT))   al.add(file.name().substring(0,file.name().indexOf(Recorder.RECORD_EXT)));
  recordings.setItems(al.toArray(new String[al.size()]));
  play.pad(2,3,2,3);
  rec.pad(2,3,2,3);
  recFilename=new TextField(r.getFileName(),ui.getSkin());
  HorizontalGroup rGroup=new HorizontalGroup();
  rGroup.space(10);
  rGroup.addActor(recordings);
  rGroup.addActor(play);
  rGroup.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  rGroup.addActor(recFilename);
  rGroup.addActor(rec);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(rGroup);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  HorizontalGroup chGroup=new HorizontalGroup();
  chGroup.space(10);
  final TextField chapter=new TextField("String_Node_Str",ui.getSkin());
  chGroup.addActor(chapter);
  TextButton loadButton=new TextButton("String_Node_Str",ui.getSkin());
  loadButton.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      String c=chapter.getText();
      if (!c.isEmpty()) {
        try {
          ui.getWorld().getSerializer().loadChapter(c);
          ui.setCurrentScreen(Screens.SCENE_SCREEN);
        }
 catch (        IOException e) {
          EngineLogger.error("String_Node_Str",e);
        }
      }
    }
  }
);
  chGroup.addActor(loadButton);
  table.add(chGroup);
  final TextButton testScene=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  final TextButton initScene=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  initScene.setChecked(true);
  TextButton go=new TextButton("String_Node_Str",ui.getSkin());
  go.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      ui.getWorld().resume();
      ui.getWorld().setCutMode(false);
      if (testScene.isChecked())       ui.getWorld().setTestScene(scenes.getSelected());
      ui.getWorld().setCurrentScene(scenes.getSelected(),initScene.isChecked());
      ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  go.pad(2,3,2,3);
  scenes=new SelectBox<String>(ui.getSkin());
  scenes.setItems(ui.getWorld().getScenes().keySet().toArray(new String[ui.getWorld().getScenes().size()]));
  HorizontalGroup scGroup=new HorizontalGroup();
  scGroup.space(10);
  scGroup.addActor(scenes);
  scGroup.addActor(go);
  scGroup.addActor(testScene);
  scGroup.addActor(initScene);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(scGroup);
  final TesterBot bot=ui.getTesterBot();
  TextButton runBot=new TextButton(bot.isEnabled() ? "String_Node_Str" : "String_Node_Str",ui.getSkin());
  runBot.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setMaxWaitInverval(Float.parseFloat(testerTimeConf.getText()));
      bot.setInSceneTime(Float.parseFloat(inSceneTimeConf.getText()));
      bot.setExcludeList(testerExcludeList.getText());
      bot.setEnabled(!bot.isEnabled());
      ui.setCurrentScreen(Screens.SCENE_SCREEN);
    }
  }
);
  runBot.pad(2,3,2,3);
  testerTimeConf=new TextField(Float.toString(bot.getMaxWaitInverval()),ui.getSkin());
  inSceneTimeConf=new TextField(Float.toString(bot.getInSceneTime()),ui.getSkin());
  testerExcludeList=new TextField(bot.getExcludeList(),ui.getSkin());
  TextButton testerLeaveConf=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerLeaveConf.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setRunLeaveVerbs(!bot.isRunLeaveVerbs());
    }
  }
);
  testerLeaveConf.setChecked(bot.isRunLeaveVerbs());
  TextButton testerGotoConf=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerGotoConf.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setRunGoto(!bot.isRunGoto());
    }
  }
);
  testerGotoConf.setChecked(bot.isRunGoto());
  TextButton testerPassText=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerPassText.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setPassTexts(!bot.isPassTexts());
    }
  }
);
  testerPassText.setChecked(bot.isPassTexts());
  TextButton testerWaitWhenWalking=new TextButton("String_Node_Str",ui.getSkin(),"String_Node_Str");
  testerWaitWhenWalking.addListener(new ClickListener(){
    public void clicked(    InputEvent event,    float x,    float y){
      final TesterBot bot=ui.getTesterBot();
      bot.setWaitWhenWalking(!bot.isWaitWhenWalking());
    }
  }
);
  testerWaitWhenWalking.setChecked(bot.isWaitWhenWalking());
  HorizontalGroup botGroup=new HorizontalGroup();
  botGroup.space(10);
  botGroup.addActor(testerLeaveConf);
  botGroup.addActor(testerGotoConf);
  botGroup.addActor(testerPassText);
  botGroup.addActor(testerWaitWhenWalking);
  HorizontalGroup botGroup2=new HorizontalGroup();
  botGroup2.space(10);
  botGroup2.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  botGroup2.addActor(testerExcludeList);
  botGroup2.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  botGroup2.addActor(testerTimeConf);
  botGroup2.addActor(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  botGroup2.addActor(inSceneTimeConf);
  botGroup2.addActor(runBot);
  table.row().pad(5).align(Align.left);
  table.add(new Label("String_Node_Str",ui.getSkin(),"String_Node_Str"));
  table.add(botGroup);
  table.row().pad(5).align(Align.left);
  table.add();
  table.add(botGroup2);
  String versionString=Config.getProperty(Config.TITLE_PROP,"String_Node_Str") + "String_Node_Str" + Config.getProperty(Config.VERSION_PROP,"String_Node_Str")+ "String_Node_Str"+ "String_Node_Str"+ Config.getProperty(Config.BLADE_ENGINE_VERSION_PROP,"String_Node_Str")+ "String_Node_Str"+ "String_Node_Str"+ Config.getProperty("String_Node_Str","String_Node_Str")+ "String_Node_Str"+ "String_Node_Str"+ Config.getProperty("String_Node_Str","String_Node_Str")+ "String_Node_Str";
  Label version=new Label(versionString,ui.getSkin(),"String_Node_Str");
  version.setColor(Color.LIGHT_GRAY);
  Table versionStack=new Table();
  versionStack.defaults().pad(DPIUtils.getSpacing());
  versionStack.pad(0);
  versionStack.add(version);
  versionStack.bottom().left();
  versionStack.setFillParent(true);
  versionStack.pack();
  table.row();
  table.add(versionStack).colspan(3).left();
  table.pack();
  ScrollPane scrollPane=new ScrollPane(table);
  scrollPane.setFillParent(true);
  stage.addActor(scrollPane);
  pointer=new Pointer(ui.getSkin());
  stage.addActor(pointer);
  Gdx.input.setInputProcessor(stage);
}