Skip to content

Commit b531b7b

Browse files
committed
Fix NPE when removing non-visible remote JVMs in attach window
1 parent 4619273 commit b531b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recaf-ui/src/main/java/software/coley/recaf/ui/pane/RemoteVirtualMachinesPane.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public void onScanCompleted(@Nonnull Set<VirtualMachineDescriptor> added,
187187
vmButtonsList.getChildren().remove(removedButton);
188188

189189
VmPane cell = vmCellMap.remove(descriptor);
190-
cell.setDisable(true);
190+
if (cell != null) cell.setDisable(true);
191191
}
192192

193193
// Refresh current cell.

0 commit comments

Comments
 (0)