[TIMOB-7438] Android: V8/Rhino: Ti.Utils.md5HexDigest: runtime error when passed image as argument
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-01-09T19:38:22.000+0000 |
Affected Version/s | Release 1.7.5, Release 1.8.0.1, Release 1.8.1 |
Fix Version/s | n/a |
Components | Android |
Labels | parity, qe-and012312 |
Reporter | Dustin Hyde |
Assignee | Ingo Muschenetz |
Created | 2012-01-26T17:30:08.000+0000 |
Updated | 2020-01-09T19:38:22.000+0000 |
Description
Android: V8/Rhino: Ti.Utils.md5HexDigest(): runtime error when passed image. Works on iOS. Log below.
Run Code:
/titanium_mobile_tests_internal/FeatureTest/Utils/Utils => TIMOB-3630
var win = Ti.UI.createWindow({backgroundColor:'green'});
Ti.Utils.md5HexDigest(win.toImage());
Runtime Error:
01-27 01:16:11.556: E/TiJSError(7434): (main) [9691,9856] ----- Titanium Javascript Runtime Error -----
01-27 01:16:11.556: E/TiJSError(7434): (main) [0,9856] - In acceptance.js:26,12
01-27 01:16:11.556: E/TiJSError(7434): (main) [0,9856] - Message: Uncaught Error: Invalid type for argument
01-27 01:16:11.556: E/TiJSError(7434): (main) [0,9856] - Source: Ti.Utils.md5HexDigest(win.toImage());
01-27 01:16:11.606: E/V8Exception(7434): Exception occurred at acceptance.js:26: Uncaught Error: Invalid type for argument
Note: Test-code exists in
It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.