Fixed possibility of using uninit variables

Static analysis complained of an array that could have been used before being initialized. This should not have happened because getObjArrayParam(...) would have returned false.