Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GP-2102_Dan_fixNPEAtLaunchNoPause--SQUASHED'
Ryan Kurtz87ffbb6c0b67
diff --cc Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.javaindex b08681a407,302fef8fe3..d5fef0742e--- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.java+++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.java@@@ -530,14 -575,11 +590,14 @@@ public abstract class AbstractDebuggerP.timeOut(waitRecorder(service, t), getTimeoutMillis(),() -> onTimedOutRecorder(monitor, service, t));}).thenCompose(r -> {+ checkCancelled(monitor);monitor.incrementProgress(1);+ if (r == null) {+ throw new CancellationException();+ }monitor.setMessage("Confirming program is mapped to target");- CompletableFuture<Void> futureMapped = listenForMapping(mappingService, r);return AsyncTimer.DEFAULT_TIMER.mark()- .timeOut(futureMapped, getTimeoutMillis(),+ .timeOut(listenForMapping(mappingService, r), getTimeoutMillis(),() -> onTimedOutMapping(monitor, mappingService, r));}).exceptionally(ex -> {if (AsyncUtils.unwrapThrowable(ex) instanceof CancellationException) {