Skip to content

Ghidra is a software reverse engineering (SRE) framework

Fix NullPointerException in BundleStatusTableModel.bundleBuilt

Saverio Miroddi21732f93900b
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleStatusTableModel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleStatusTableModel.java
index 6b11e7b968..b88abd8d15 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleStatusTableModel.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleStatusTableModel.java
@@ -300,9 +300,11 @@ public class BundleStatusTableModel
if (summary != null) {
Swing.runLater(() -> {
BundleStatus status = getStatus(bundle);
- status.setSummary(summary);
- int rowIndex = getRowIndex(status);
- fireTableRowsUpdated(rowIndex, rowIndex);
+ if (status != null) {
+ status.setSummary(summary);
+ int rowIndex = getRowIndex(status);
+ fireTableRowsUpdated(rowIndex, rowIndex);
+ }
});
}
}