[TIMOB-13362] Android: Creating MD5 hash from Blob crashes app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-07-12T17:45:49.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Paras Mishra |
Assignee | Eric Merriman |
Created | 2013-04-04T09:57:13.000+0000 |
Updated | 2017-07-12T17:45:49.000+0000 |
Description
Android: Creating MD5 hash from Blob crashes app.
Steps to reproduce:
1. Run the app Acceptance TIMOB-3630 under Titanium.Utils module.
Expected :
A white screen should be displayed and the app should not crash.
Actual:
App crashes with Runtime Error.
Here's the log.
04-04 15:14:49.414: E/TiExceptionHandler(12244): (main) [1547,30917] ----- Titanium Javascript Runtime Error -----
04-04 15:14:49.414: E/TiExceptionHandler(12244): (main) [0,30917] - In acceptance.js:26,12
04-04 15:14:49.414: E/TiExceptionHandler(12244): (main) [0,30917] - Message: Uncaught Error: Invalid type for argument
04-04 15:14:49.414: E/TiExceptionHandler(12244): (main) [0,30917] - Source: Ti.Utils.md5HexDigest(win.toImage());
04-04 15:14:49.444: E/V8Exception(12244): Exception occurred at acceptance.js:26: Uncaught Error: Invalid type for argument
I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131