* Handle invalid BJData optimized type, fix #3461 * Update unit test to handle bjdata optimized array type error