Fix Acra error reporting and null inputstream bug