Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7438] Android: V8/Rhino: Ti.Utils.md5HexDigest: runtime error when passed image as argument

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T19:38:22.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0.1, Release 1.8.1
Fix Version/sn/a
ComponentsAndroid
Labelsparity, qe-and012312
ReporterDustin Hyde
AssigneeIngo Muschenetz
Created2012-01-26T17:30:08.000+0000
Updated2020-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:

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 /titanium_mobile_tests_internal/FeatureTest/Utils/Utils => TIMOB-3630

Comments

  1. Alan Hutton 2020-01-09

    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.

JSON Source