@Override
protected Object doExecute() throws Exception {
- mappingServiceShell.addDefaultKeyIPv4();
- mappingServiceShell.addDefaultKeyIPv6();
+ if (mappingServiceShell != null) {
+ mappingServiceShell.addDefaultKeyIPv4();
+ mappingServiceShell.addDefaultKeyIPv6();
+ }
return null;
}