Included better error checking after entering the error page. The ImageAdapter.getCount() was returning null. Killed the splashscreen activity after entering the error page.