if (reqVMM != null && reqVMM.getType() == null) {
throw new MetadataException(
"RequiredVMM encountered with missing type");
}
final Kernel kernel = req.getRequestedKernel();
if (kernel != null && kernel.getKernel() == null) {
throw new MetadataException(
"RequestedKernel encountered with missing location URI");
}
final Context context = req.getContext();