Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-1766: fix

d-millar2b46dc6abba1
diff --git a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java
index c1a7927e85..1f068e9dea 100644
--- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java
+++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java
@@ -255,7 +255,7 @@ public class DebuggerConsoleProvider extends ComponentProviderAdapter
if (renderer instanceof ConsoleActionsCellRenderer) {
ActionList actions =
(ActionList) getModel().getValueAt(r, convertColumnIndexToModel(c));
- if (!actions.isEmpty()) {
+ if (actions != null && !actions.isEmpty()) {
return ACTION_BUTTON_SIZE;
}
return 0;