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 {
|
} else {
|
||||||
throw new FileCopyException(R.string.error_out_of_memory);
|
throw new FileCopyException(R.string.error_out_of_memory);
|
||||||
}
|
}
|
||||||
|
} catch (NullPointerException e) {
|
||||||
|
throw new FileCopyException(R.string.error_io_exception);
|
||||||
} finally {
|
} finally {
|
||||||
close(os);
|
close(os);
|
||||||
close(is);
|
close(is);
|
||||||
|
|
Loading…
Reference in a new issue