git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1444
6f19259b-4bc3-4df7-8a09-
765794883524
\r
} catch (IOException e) {\r
Log.err("Open Module Surface Area " + modulePath, e.getMessage());\r
\r
} catch (IOException e) {\r
Log.err("Open Module Surface Area " + modulePath, e.getMessage());\r
} catch (XmlException e) {\r
Log.err("Open Module Surface Area " + modulePath, e.getMessage());\r
} catch (XmlException e) {\r
Log.err("Open Module Surface Area " + modulePath, e.getMessage());\r
} catch (Exception e) {\r
Log.err("Open Module Surface Area " + modulePath, "Invalid file type");\r
} catch (Exception e) {\r
Log.err("Open Module Surface Area " + modulePath, "Invalid file type");\r
}\r
id = Tools.getId(modulePath, msa);\r
mid = new ModuleIdentification(id, vPackageList.elementAt(indexI));\r
}\r
id = Tools.getId(modulePath, msa);\r
mid = new ModuleIdentification(id, vPackageList.elementAt(indexI));\r
spd = OpenFile.openSpdFile(path);\r
} catch (IOException e) {\r
Log.err("Open Package Surface Area " + path, e.getMessage());\r
spd = OpenFile.openSpdFile(path);\r
} catch (IOException e) {\r
Log.err("Open Package Surface Area " + path, e.getMessage());\r
} catch (XmlException e) {\r
Log.err("Open Package Surface Area " + path, e.getMessage());\r
} catch (XmlException e) {\r
Log.err("Open Package Surface Area " + path, e.getMessage());\r
} catch (Exception e) {\r
Log.err("Open Package Surface Area " + path, "Invalid file type");\r
} catch (Exception e) {\r
Log.err("Open Package Surface Area " + path, "Invalid file type");\r
}\r
id = Tools.getId(path, spd);\r
vPackageList.addElement(id);\r
}\r
id = Tools.getId(path, spd);\r
vPackageList.addElement(id);\r
fpd = OpenFile.openFpdFile(path);\r
} catch (IOException e) {\r
Log.err("Open Platform Surface Area " + path, e.getMessage());\r
fpd = OpenFile.openFpdFile(path);\r
} catch (IOException e) {\r
Log.err("Open Platform Surface Area " + path, e.getMessage());\r
} catch (XmlException e) {\r
Log.err("Open Platform Surface Area " + path, e.getMessage());\r
} catch (XmlException e) {\r
Log.err("Open Platform Surface Area " + path, e.getMessage());\r
} catch (Exception e) {\r
Log.err("Open Platform Surface Area " + path, "Invalid file type");\r
} catch (Exception e) {\r
Log.err("Open Platform Surface Area " + path, "Invalid file type");\r
}\r
id = Tools.getId(path, fpd);\r
vPlatformList.addElement(new PlatformIdentification(id));\r
}\r
id = Tools.getId(path, fpd);\r
vPlatformList.addElement(new PlatformIdentification(id));\r
for (int index = 0; index < modulePaths.size(); index++) {\r
modulePath = modulePaths.get(index);\r
ModuleIdentification id = GlobalData.openingModuleList.getIdByPath(modulePath);\r
for (int index = 0; index < modulePaths.size(); index++) {\r
modulePath = modulePaths.get(index);\r
ModuleIdentification id = GlobalData.openingModuleList.getIdByPath(modulePath);\r
-\r
- v.addElement(id);\r
+ if (id != null) {\r
+ v.addElement(id); \r
+ }\r
}\r
Sort.sortModules(v, DataType.SORT_TYPE_ASCENDING);\r
return v;\r
}\r
Sort.sortModules(v, DataType.SORT_TYPE_ASCENDING);\r
return v;\r