{ "id": "168933", "key": "TIMOB-24954", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-11-18T18:27:30.000+0000", "created": "2017-07-13T05:36:44.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "55535", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "168528", "key": "TIMOB-25056", "fields": { "summary": "On Android 7.0 Ti.Media.showCamera crashes after taking photo and tapping Retry or pressing back button", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2019-11-18T18:27:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "*Issue description*:\r\nWhen I try to load an array of images in imageView, the following error displayed in the console:\r\n{code}\r\n[ERROR] : E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null\r\n[ERROR] : E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null\r\n[ERROR] : E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null\r\n{code}\r\n\r\nThough the images are successfully displayed on device but on the console I get the error. I've tested using set of different images like .jpg and .png but the error occurs every time. It happens both in alloy and classic.\r\n\r\n*Test case:*\r\nSample code for Alloy:\r\n*index.js*\r\n{code}\r\nvar imageView;\r\nvar images = [];\r\nfor (var i = 0; i<30; i++){\r\nimages.push('/images/anim/'+i+\".jpg\");\r\n}\r\n$.win.addEventListener('open', Load_Anim);\r\n$.win.open();\r\nfunction Load_Anim(){\r\nimageView = Titanium.UI.createImageView({\r\nimages: images,\r\nduration: 50,\r\nrepeatCount: 0,\r\nwidth: Ti.UI.SIZE,\r\nheight: Ti.UI.SIZE,\r\n});\r\n$.win.add(imageView);\r\nimageView.start();\r\n}\r\n{code}\r\n\r\n*index.xml*\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n\r\nSample code for classic:\r\n\r\n*Classic code:*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\r\nbackgroundColor : \"white\"\r\n\r\n});\r\n\r\nvar imageView;\r\n\r\nvar images = [];\r\n\r\nfor (var i = 0; i < 30; i++) {\r\n\r\nimages.push('/images/' + i + \".png\");\r\n\r\n}\r\n\r\nwin.addEventListener('open', Load_Anim);\r\n\r\nfunction Load_Anim() {\r\n\r\nimageView = Titanium.UI.createImageView({\r\n\r\nimages : images,\r\n\r\nduration : 50,\r\n\r\nrepeatCount : 0,\r\n\r\nwidth : Ti.UI.SIZE,\r\n\r\nheight : Ti.UI.SIZE,\r\n\r\n});\r\n\r\nwin.add(imageView);\r\n\r\nimageView.start();\r\n\r\n}\r\nwin.open();\r\n{code}\r\n\r\n*Images*: images are attached as zipped file.\r\n\r\n*Test Steps*:\r\n1. Create a new project using the test code.\r\n2. Place the images in the /images/anim/ folder.\r\n3. Build on android 7 device.\r\n\r\n*Actual*: \r\nError showed in the console.\r\n\r\n*Expected*:\r\nNo error should be shown in the console.\r\n", "attachment": [ { "id": "62871", "filename": "animation.zip", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-07-13T05:34:53.000+0000", "size": 424488, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android 7: ImageView with an array of images does not work using ti SDK 6.1.1.GA", "creator": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "environment": "Appcelerator Command-Line Interface, version 6.1.0\r\nCopyright (c) 2014-2017, Appcelerator, Inc. All Rights Reserved.\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.12.4\r\n Architecture = 64bit\r\n CPUs = 4\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.9\r\n Core Package = 6.1.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\n node-appc Version = 0.2.39\r\nTitanium SDKs = 6.1.1.GA\r\n\r\nPhysical device: Huawei GR3 2017(android 7)", "comment": { "comments": [ { "id": "424197", "author": { "name": "mrsarrius@gmail.com", "key": "mrsarrius@gmail.com", "displayName": "mrsarrius@gmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This error occurs not only with image array. Any images in app cause this error on Android 7", "updateAuthor": { "name": "mrsarrius@gmail.com", "key": "mrsarrius@gmail.com", "displayName": "mrsarrius@gmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-17T01:10:32.000+0000", "updated": "2017-07-17T01:10:32.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }