[Acc] [PATCH] uadk: fix null pointer error