Skip to content

Commit cbc614c

Browse files
nsadeveloper789ryanmkurtz
authored andcommitted
GP-0: Fix rare race condition causing NPE.
1 parent 6c03364 commit cbc614c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/model/AbstractQueryTableModel.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -302,6 +302,7 @@ public boolean isShowHidden() {
302302
@Override
303303
protected void doLoad(Accumulator<T> accumulator, TaskMonitor monitor)
304304
throws CancelledException {
305+
Trace trace = this.trace;
305306
if (trace == null || query == null || trace.getObjectManager().getRootSchema() == null) {
306307
return;
307308
}

0 commit comments

Comments
 (0)