]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java
For encapsulated sections in FFS layout in FpdBuildOptions, if no longer exists secti...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / ui / FpdModuleSA.java
index db54307c4343afeb04c2d3d119a0bbca8085b93b..96d2ccf3b2f16ed4fd70188f872c87e75b2debc5 100644 (file)
@@ -160,6 +160,9 @@ public class FpdModuleSA extends JDialog implements ActionListener {
         jTabbedPane.setSelectedIndex(0);\r
         initPcdBuildDefinition(i);\r
         ModuleIdentification mi = WorkspaceProfile.getModuleId(moduleKey);\r
+        if (mi == null) {\r
+            return;\r
+        }\r
         int tabIndex = jTabbedPane.indexOfTab("Libraries");\r
         if (mi.isLibrary()) {\r
             jTabbedPane.setEnabledAt(tabIndex, false);\r