diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.java index a00b67decb..98e39f6159 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/PdbAddressManager.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. @@ -358,6 +358,9 @@ public class PdbAddressManager { private void determineMemoryBlocks() throws CancelledException { AbstractPdb pdb = applicator.getPdb(); PdbDebugInfo debugInfo = pdb.getDebugInfo(); + if(debugInfo == null) { + return; + } segmentMapList = debugInfo.getSegmentMapList(); if (debugInfo instanceof PdbNewDebugInfo) { DebugData debugData = ((PdbNewDebugInfo) debugInfo).getDebugData();