Likely fix for 2722.
Wrap ba_get_* methods in try catch for out of bounds exceptions. Fixed bugs 2620 and 2721.
Fixed bug 2625.