try to catch weird npe in android sdk
This commit is contained in:
parent
5dd83a5fe6
commit
4274fe90ac
|
@ -235,6 +235,8 @@ public class FileBackend {
|
|||
} else {
|
||||
throw new FileCopyException(R.string.error_out_of_memory);
|
||||
}
|
||||
} catch (NullPointerException e) {
|
||||
throw new FileCopyException(R.string.error_io_exception);
|
||||
} finally {
|
||||
close(os);
|
||||
close(is);
|
||||
|
|
Loading…
Reference in a new issue