logger.error(" Asset prototype is null");
if (logger.isErrorEnabled()) { logger.error(" Asset prototype is null"); }
  public Collection generateRationList() {    List list = new ArrayList();    String query = (String) fileParameters_.get("Class1ConsumedList");    if (query == null) { // if query not found, return null      if (logger.isDebugEnabled()) {        logger.debug("generaterationList(),  query is null");      }      return null;    }    Vector holdsQueryResult;    try {      holdsQueryResult = executeQuery(query);      if (holdsQueryResult.isEmpty()) {        return null;      }    } catch (Exception ee) {      if (logger.isDebugEnabled()) {        String str = " DB query failed. query= " + query + "\n ERROR " + ee.toString();        logger.debug(" getSupplementalList()," + str);      }      return null;    }    String typeIDPrefix = "NSN/";    PlanningFactory ldm = getLDM().getFactory();    for (int i = 0; i < holdsQueryResult.size(); i++) {      Object[] row = ((Object[]) holdsQueryResult.elementAt(i));      Asset ration = ldm.getPrototype(typeIDPrefix + (String) row[0]);      if (ration != null) {        list.add(ration);      } else {        logger.error(" Asset prototype is null");      } // if    } // for    return list;  }