add an exception handling for displaying problem

Signed-off-by: Zhao, Zhongjie <123378840@qq.com>