/*
- * Copyright (c) 2015 - 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
+ * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
// generate new RD
}
Uuid router = null;
- if (input.getRouters() != null) {
+ if (input.getRouters() != null && !input.getRouters().isEmpty()) {
// currently only one router
router = input.getRouters().get(0);
}