AISVIEW-21 invalid positions/nullpointer bug fix