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