bug fix: solve the problem of core dumped when use resolver

Signed-off-by: jason <liu_yt@neusoft.com>