Created by: yihuaxu
Fix the crash issue when scale or bias was null-pointer.
Add the error message for passing CI.
test=release/1.6