ticket: xxx fix NPE bug in NetworkManager