Program: 62440
Project: 62440
Buggy source:
@Override public void initialize(URL url,ResourceBundle rb){
  try {
    CodeSource codeSource=AsciiDocController.class.getProtectionDomain().getCodeSource();
    File jarFile=new File(codeSource.getLocation().toURI().getPath());
    configPath=jarFile.toPath().getParent().getParent().resolve("String_Node_Str");
  }
 catch (  URISyntaxException e) {
    e.printStackTrace();
  }
  loadConfigurations();
  loadRecentFileList();
  recentListView.setItems(recentFiles);
  recentFiles.addListener((ListChangeListener<String>)c -> {
    recentListView.visibleProperty().setValue(c.getList().size() > 0);
    recentListView.getSelectionModel().selectFirst();
  }
);
  recentListView.setOnMouseClicked(event -> {
    if (event.getClickCount() > 1) {
      openRecentListFile(event);
    }
  }
);
  tomcatPort=server.getEmbeddedServletContainer().getPort();
  lastRendered.addListener(lastRenderedChangeListener);
  mathjaxView=new WebView();
  mathjaxView.setVisible(false);
  rootAnchor.getChildren().add(mathjaxView);
  WebEngine mathjaxEngine=mathjaxView.getEngine();
  mathjaxEngine.getLoadWorker().stateProperty().addListener((observableValue1,state,state2) -> {
    if (state2 == Worker.State.SUCCEEDED) {
      JSObject window=(JSObject)mathjaxEngine.executeScript("String_Node_Str");
      if (Objects.isNull(window.getMember("String_Node_Str")))       ;
      window.setMember("String_Node_Str",this);
    }
  }
);
  mathjaxView.getEngine().load(String.format("String_Node_Str",tomcatPort));
  previewEngine=previewView.getEngine();
  previewEngine.load(String.format("String_Node_Str",tomcatPort));
  previewEngine.getLoadWorker().stateProperty().addListener((observableValue1,state,state2) -> {
    if (state2 == Worker.State.SUCCEEDED) {
      JSObject window=(JSObject)previewEngine.executeScript("String_Node_Str");
      if (Objects.isNull(window.getMember("String_Node_Str")))       ;
      window.setMember("String_Node_Str",this);
    }
  }
);
  previewEngine.getLoadWorker().exceptionProperty().addListener((ov,t,t1) -> {
    t1.printStackTrace();
  }
);
  workingDirectory=Optional.ofNullable(config.getWorkingDirectory());
  String workDir=workingDirectory.orElse(System.getProperty("String_Node_Str"));
  fileBrowser.browse(treeView,this,workDir);
  AwesomeDude.setIcon(WorkingDirButton,AwesomeIcon.FOLDER_ALT,"String_Node_Str");
  AwesomeDude.setIcon(splitHideButton,AwesomeIcon.CHEVRON_LEFT,"String_Node_Str");
  tabPane.getTabs().addListener((ListChangeListener<Tab>)c -> {
    if (tabPane.getTabs().isEmpty())     runActionLater(this::newDoc);
  }
);
  openFileTreeItem.setOnAction(event -> {
    Path path=getSelectedTabPath();
    if (!Files.isDirectory(path))     this.addTab(path);
  }
);
  openFileListItem.setOnAction(this::openRecentListFile);
  copyPathTreeItem.setOnAction(event -> {
    Path path=getSelectedTabPath();
    this.cutCopy(path.toString());
  }
);
  copyPathListItem.setOnAction(event -> {
    this.cutCopy(recentListView.getSelectionModel().getSelectedItem());
  }
);
  copyTreeItem.setOnAction(event -> {
    Path path=getSelectedTabPath();
    this.copyFile(path);
  }
);
  copyListItem.setOnAction(event -> {
    Path path=Paths.get(recentListView.getSelectionModel().getSelectedItem());
    this.copyFile(path);
  }
);
  treeView.setOnMouseClicked(event -> {
    TreeItem<Item> selectedItem=treeView.getSelectionModel().getSelectedItem();
    if (Objects.isNull(selectedItem))     return;
    Path selectedPath=selectedItem.getValue().getPath();
    if (event.getButton() == MouseButton.PRIMARY)     if (Files.isDirectory(selectedPath)) {
      try {
        if (selectedItem.getChildren().size() == 0)         Files.newDirectoryStream(selectedPath).forEach(path -> {
          if (pathResolver.isHidden(path))           return;
          if (Files.isDirectory(path) || pathResolver.isAsciidoc(path))           selectedItem.getChildren().add(new TreeItem<>(new Item(path)));
        }
);
        selectedItem.setExpanded(!selectedItem.isExpanded());
      }
 catch (      IOException e) {
        e.printStackTrace();
      }
    }
 else     if (event.getClickCount() > 1) {
      this.addTab(selectedPath);
    }
  }
);
  runActionLater(this::newDoc);
}

Fixed version (ground truth):
@Override public void initialize(URL url,ResourceBundle rb){
  try {
    CodeSource codeSource=AsciiDocController.class.getProtectionDomain().getCodeSource();
    File jarFile=new File(codeSource.getLocation().toURI().getPath());
    configPath=jarFile.toPath().getParent().getParent().resolve("String_Node_Str");
  }
 catch (  URISyntaxException e) {
    e.printStackTrace();
  }
  loadConfigurations();
  loadRecentFileList();
  recentListView.setItems(recentFiles);
  recentFiles.addListener((ListChangeListener<String>)c -> {
    recentListView.visibleProperty().setValue(c.getList().size() > 0);
    recentListView.getSelectionModel().selectFirst();
  }
);
  recentListView.setOnMouseClicked(event -> {
    if (event.getClickCount() > 1) {
      openRecentListFile(event);
    }
  }
);
  tomcatPort=server.getEmbeddedServletContainer().getPort();
  lastRendered.addListener(lastRenderedChangeListener);
  mathjaxView=new WebView();
  mathjaxView.setVisible(false);
  rootAnchor.getChildren().add(mathjaxView);
  WebEngine mathjaxEngine=mathjaxView.getEngine();
  mathjaxEngine.getLoadWorker().stateProperty().addListener((observableValue1,state,state2) -> {
    JSObject window=(JSObject)mathjaxEngine.executeScript("String_Node_Str");
    if (Objects.isNull(window.getMember("String_Node_Str")))     ;
    window.setMember("String_Node_Str",this);
  }
);
  mathjaxView.getEngine().load(String.format("String_Node_Str",tomcatPort));
  previewEngine=previewView.getEngine();
  previewEngine.load(String.format("String_Node_Str",tomcatPort));
  previewEngine.getLoadWorker().stateProperty().addListener((observableValue1,state,state2) -> {
    JSObject window=(JSObject)previewEngine.executeScript("String_Node_Str");
    if (Objects.isNull(window.getMember("String_Node_Str")))     ;
    window.setMember("String_Node_Str",this);
  }
);
  previewEngine.getLoadWorker().exceptionProperty().addListener((ov,t,t1) -> {
    t1.printStackTrace();
  }
);
  workingDirectory=Optional.ofNullable(config.getWorkingDirectory());
  String workDir=workingDirectory.orElse(System.getProperty("String_Node_Str"));
  fileBrowser.browse(treeView,this,workDir);
  AwesomeDude.setIcon(WorkingDirButton,AwesomeIcon.FOLDER_ALT,"String_Node_Str");
  AwesomeDude.setIcon(splitHideButton,AwesomeIcon.CHEVRON_LEFT,"String_Node_Str");
  tabPane.getTabs().addListener((ListChangeListener<Tab>)c -> {
    if (tabPane.getTabs().isEmpty())     runActionLater(this::newDoc);
  }
);
  openFileTreeItem.setOnAction(event -> {
    Path path=getSelectedTabPath();
    if (!Files.isDirectory(path))     this.addTab(path);
  }
);
  openFileListItem.setOnAction(this::openRecentListFile);
  copyPathTreeItem.setOnAction(event -> {
    Path path=getSelectedTabPath();
    this.cutCopy(path.toString());
  }
);
  copyPathListItem.setOnAction(event -> {
    this.cutCopy(recentListView.getSelectionModel().getSelectedItem());
  }
);
  copyTreeItem.setOnAction(event -> {
    Path path=getSelectedTabPath();
    this.copyFile(path);
  }
);
  copyListItem.setOnAction(event -> {
    Path path=Paths.get(recentListView.getSelectionModel().getSelectedItem());
    this.copyFile(path);
  }
);
  treeView.setOnMouseClicked(event -> {
    TreeItem<Item> selectedItem=treeView.getSelectionModel().getSelectedItem();
    if (Objects.isNull(selectedItem))     return;
    Path selectedPath=selectedItem.getValue().getPath();
    if (event.getButton() == MouseButton.PRIMARY)     if (Files.isDirectory(selectedPath)) {
      try {
        if (selectedItem.getChildren().size() == 0)         Files.newDirectoryStream(selectedPath).forEach(path -> {
          if (pathResolver.isHidden(path))           return;
          if (Files.isDirectory(path) || pathResolver.isAsciidoc(path))           selectedItem.getChildren().add(new TreeItem<>(new Item(path)));
        }
);
        selectedItem.setExpanded(!selectedItem.isExpanded());
      }
 catch (      IOException e) {
        e.printStackTrace();
      }
    }
 else     if (event.getClickCount() > 1) {
      this.addTab(selectedPath);
    }
  }
);
  runActionLater(this::newDoc);
}