e.printStackTrace();
  protected void attachManifestInstancesFromResult (ResultSet rs, UIDGenerator generator, Tree cargoTree, 						    Map instanceToNode) {    int rows = 0;    try{      while(rs.next()){	rows++;	String id        = rs.getString (1);	String proto     = rs.getString (2);	String name      = rs.getString (3);	String aggnumber = rs.getString (4);	String unitName  = rs.getString (5);	String protoNomen = rs.getString (6);	double weight    = rs.getDouble (7);	double width     = rs.getDouble (8);	double height    = rs.getDouble (9);	double depth     = rs.getDouble (10);	String container = rs.getString (11);	if (instanceToNode.get (id) != null) // protect against sql bug (seems to be sql bug)	  continue;	Node instanceNode = createCargoInstance (generator, id, name, aggnumber, unitName, protoNomen,						 weight, width, height, depth, width*depth, width*depth*height, proto, container);			cargoTree.addNode (cargoTree.getRoot(), instanceNode);	instanceToNode.put (id, instanceNode);      }      if (debug) 	TPFDDLoggerFactory.createLogger().logMessage(Logger.NORMAL, Logger.GENERIC, "TPFDDQuery.attachManifestInstancesFromResult - total rows for instances " + rows);    } catch (SQLException e) {      TPFDDLoggerFactory.createLogger().logMessage(Logger.NORMAL, Logger.GENERIC, "TPFDDQuery.attachManifestInstancesFromResult - SQLError : " + e);    }finally{      if(rs!=null) {	try { rs.close(); } catch (SQLException e){	  TPFDDLoggerFactory.createLogger().logMessage(Logger.NORMAL, Logger.GENERIC, "TPFDDQuery.attachManifestInstancesFromResult - " +			      "closing result set, got sql error : " + e); 	}      }    }  }