core: Check for null in array length
core: Check for null in array length

scizzorz/rain,philipdexter/rain,philipdexter/rain,philipdexter/rain,scizzorz/rain,philipdexter/rain,scizzorz/rain,scizzorz/rain