Program: 36559
Project: 36559
Buggy source:
@Override public void init(){
  out_sel=outputs.create(widget.id,"String_Node_Str",Metadata.class,null);
  d(Player.librarySelected.i.bind(out_sel));
  root.getChildren().add(table.getRoot());
  setAnchors(table.getRoot(),0d);
  table.setFixedCellSize(GUI.font.getValue().getSize() + 5);
  table.getSelectionModel().setSelectionMode(MULTIPLE);
  table.searchSetColumn(TITLE);
  d(maintain(orient,table.nodeOrientationProperty()));
  d(maintain(zeropad,table.zeropadIndex));
  d(maintain(orig_index,table.showOriginalIndex));
  d(maintain(show_header,table.headerVisible));
  d(maintain(show_footer,table.footerVisible));
  table.footerPane.setRight(new HBox(7,taskInfo.message,taskInfo.progressIndicator));
  taskInfo.setVisible(false);
  table.items_info.textFactory=(all,list) -> {
    double Σms=list.stream().mapToDouble(Metadata::getLengthInMs).sum();
    return DEFAULT_TEXT_FACTORY.apply(all,list) + "String_Node_Str" + new FormattedDuration(Σms);
  }
;
  table.menuAdd.getItems().addAll(menuItem("String_Node_Str",this::addFiles),menuItem("String_Node_Str",this::addDirectory),editOnAdd_menuItem);
  table.menuRemove.getItems().addAll(menuItem("String_Node_Str",this::removeInvalid),menuItem("String_Node_Str",DB::removeAllItems));
  table.setColumnStateFacory(f -> {
    double w=f == PATH || f == TITLE ? 150 : 50;
    return new ColumnInfo(f.toString(),f.ordinal(),f.isCommon(),w);
  }
);
  table.setColumnFactory(f -> {
    TableColumn<Metadata,?> c=new TableColumn(f.toString());
    c.setCellValueFactory(cf -> cf.getValue() == null ? null : new PojoV(cf.getValue().getField(f)));
    c.setCellFactory(f == RATING ? (Callback)App.ratingCell.getValue() : (Callback)col -> table.buildDefaultCell(f));
    return c;
  }
);
  table.setColumnResizePolicy(resize -> {
    boolean b=UNCONSTRAINED_RESIZE_POLICY.call(resize);
    table.getColumn(ColumnField.INDEX).ifPresent(i -> i.setPrefWidth(table.calculateIndexColumnWidth()));
    return b;
  }
);
  App.ratingCell.addListener((o,ov,nv) -> table.getColumn(RATING).ifPresent(c -> c.setCellFactory((Callback)nv)));
  table.getDefaultColumnInfo();
  table.setRowFactory(tbl -> new ImprovedTableRow<Metadata>().onLeftDoubleClick((r,e) -> PlaylistManager.use(pl -> pl.setNplayFrom(table.getItems(),r.getIndex()))).onRightSingleClick((r,e) -> {
    if (!r.isSelected())     tbl.getSelectionModel().clearAndSelect(r.getIndex());
    contxt_menu.show(table,e);
  }
).styleRuleAdd("String_Node_Str",m -> Player.playingtem.get().same(m)));
  d(Player.playingtem.onChange(o -> table.updateStyleRules()));
  table.getSelectionModel().selectedItemProperty().addListener((o,ov,nv) -> out_sel.setValue(nv));
  table.setOnKeyReleased(e -> {
    if (e.getCode() == ENTER) {
      if (!table.getSelectionModel().isEmpty()) {
        PlaylistManager.use(pl -> pl.setNplayFrom(table.getItems(),table.getSelectionModel().getSelectedIndex()));
      }
    }
 else     if (e.getCode() == DELETE)     DB.removeItems(table.getSelectedItems());
 else     if (e.getCode() == ESCAPE)     table.getSelectionModel().clearSelection();
  }
);
  table.setOnDragOver_NoSelf(e -> {
    e.acceptTransferModes(COPY);
    e.consume();
  }
);
  table.setOnDragDropped(e -> {
    addNeditDo(DragUtil.getSongs(e),editOnAdd.get());
    e.setDropCompleted(true);
    e.consume();
  }
);
  table.setOnDragDetected(e -> {
    if (e.getButton() == PRIMARY && !table.getSelectedItems().isEmpty() && table.isRowFull(table.getRowS(e.getSceneX(),e.getSceneY()))) {
      Dragboard db=table.startDragAndDrop(COPY);
      DragUtil.setItemList(table.getSelectedItemsCopy(),db,true);
    }
    e.consume();
  }
);
  table.setOnScroll(Event::consume);
  maintain(table.itemsComparator,DB.library_sorter);
}

Fixed version (ground truth):
@Override public void init(){
  out_sel=outputs.create(widget.id,"String_Node_Str",Metadata.class,null);
  d(Player.librarySelected.i.bind(out_sel));
  root.getChildren().add(table.getRoot());
  setAnchors(table.getRoot(),0d);
  table.setFixedCellSize(GUI.font.getValue().getSize() + 5);
  table.getSelectionModel().setSelectionMode(MULTIPLE);
  table.searchSetColumn(TITLE);
  d(maintain(orient,table.nodeOrientationProperty()));
  d(maintain(zeropad,table.zeropadIndex));
  d(maintain(orig_index,table.showOriginalIndex));
  d(maintain(show_header,table.headerVisible));
  d(maintain(show_footer,table.footerVisible));
  table.footerPane.setRight(new HBox(7,taskInfo.message,taskInfo.progressIndicator));
  taskInfo.setVisible(false);
  table.items_info.textFactory=(all,list) -> {
    double Σms=list.stream().mapToDouble(Metadata::getLengthInMs).sum();
    return DEFAULT_TEXT_FACTORY.apply(all,list) + "String_Node_Str" + new FormattedDuration(Σms);
  }
;
  table.menuAdd.getItems().addAll(menuItem("String_Node_Str",this::addFiles),menuItem("String_Node_Str",this::addDirectory),editOnAdd_menuItem);
  table.menuRemove.getItems().addAll(menuItem("String_Node_Str",this::removeInvalid),menuItem("String_Node_Str",DB::removeAllItems));
  table.setColumnStateFacory(f -> {
    double w=f == PATH || f == TITLE ? 150 : 50;
    return new ColumnInfo(f.toString(),f.ordinal(),f.isCommon(),w);
  }
);
  table.setColumnFactory(f -> {
    TableColumn<Metadata,?> c=new TableColumn(f.toString());
    c.setCellValueFactory(cf -> cf.getValue() == null ? null : new PojoV(cf.getValue().getField(f)));
    c.setCellFactory(f == RATING ? (Callback)App.ratingCell.getValue() : (Callback)col -> table.buildDefaultCell(f));
    return c;
  }
);
  table.setColumnResizePolicy(resize -> {
    boolean b=UNCONSTRAINED_RESIZE_POLICY.call(resize);
    table.getColumn(ColumnField.INDEX).ifPresent(i -> i.setPrefWidth(table.calculateIndexColumnWidth()));
    return b;
  }
);
  App.ratingCell.addListener((o,ov,nv) -> table.getColumn(RATING).ifPresent(c -> c.setCellFactory((Callback)nv)));
  table.getDefaultColumnInfo();
  table.setRowFactory(tbl -> new ImprovedTableRow<Metadata>().onLeftDoubleClick((r,e) -> PlaylistManager.use(pl -> pl.setNplayFrom(table.getItems(),r.getIndex()))).onRightSingleClick((r,e) -> {
    if (!r.isSelected())     tbl.getSelectionModel().clearAndSelect(r.getIndex());
    contxt_menu.show(table,e);
  }
).styleRuleAdd("String_Node_Str",Player.playingtem.get()::same));
  d(Player.playingtem.onUpdate(o -> table.updateStyleRules()));
  table.getSelectionModel().selectedItemProperty().addListener((o,ov,nv) -> out_sel.setValue(nv));
  table.setOnKeyReleased(e -> {
    if (e.getCode() == ENTER) {
      if (!table.getSelectionModel().isEmpty()) {
        PlaylistManager.use(pl -> pl.setNplayFrom(table.getItems(),table.getSelectionModel().getSelectedIndex()));
      }
    }
 else     if (e.getCode() == DELETE)     DB.removeItems(table.getSelectedItems());
 else     if (e.getCode() == ESCAPE)     table.getSelectionModel().clearSelection();
  }
);
  table.setOnDragOver_NoSelf(e -> {
    e.acceptTransferModes(COPY);
    e.consume();
  }
);
  table.setOnDragDropped(e -> {
    addNeditDo(DragUtil.getSongs(e),editOnAdd.get());
    e.setDropCompleted(true);
    e.consume();
  }
);
  table.setOnDragDetected(e -> {
    if (e.getButton() == PRIMARY && !table.getSelectedItems().isEmpty() && table.isRowFull(table.getRowS(e.getSceneX(),e.getSceneY()))) {
      Dragboard db=table.startDragAndDrop(COPY);
      DragUtil.setItemList(table.getSelectedItemsCopy(),db,true);
    }
    e.consume();
  }
);
  table.setOnScroll(Event::consume);
  maintain(table.itemsComparator,DB.library_sorter);
}