Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13362] Android: Creating MD5 hash from Blob crashes app

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-07-12T17:45:49.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterParas Mishra
AssigneeEric Merriman
Created2013-04-04T09:57:13.000+0000
Updated2017-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

Comments

  1. Lee Morris 2017-07-12

    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

JSON Source