Ghidra is a software reverse engineering (SRE) framework
GP-0: Fix rare race condition causing NPE.
Dancbc614c4cd3b
diff --git a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/model/AbstractQueryTableModel.java b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/model/AbstractQueryTableModel.javaindex a027941763..fced80404e 100644--- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/model/AbstractQueryTableModel.java+++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/model/AbstractQueryTableModel.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -302,6 +302,7 @@ public abstract class AbstractQueryTableModel<T> extends ThreadedTableModel<T, T@Overrideprotected void doLoad(Accumulator<T> accumulator, TaskMonitor monitor)throws CancelledException {+ Trace trace = this.trace;if (trace == null || query == null || trace.getObjectManager().getRootSchema() == null) {return;}