{ "id": "155566", "key": "TIMOB-20534", "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": [ { "id": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" }, { "id": "16878", "description": "Release 4.0.1", "name": "Release 4.0.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-14T02:02:30.000+0000", "created": "2016-03-08T23:14:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.2", "qe-4.0.1" ], "versions": [ { "id": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" }, { "id": "16878", "description": "Release 4.0.1", "name": "Release 4.0.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "issuelinks": [ { "id": "51061", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "152270", "key": "TIMOB-19770", "fields": { "summary": "Android: Crash on Nexus 4 java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' ", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51107", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155008", "key": "TIMOB-20431", "fields": { "summary": "Android: Google Play security alert for insecure TrustManager", "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" } }, "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": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:04:18.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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5.Steps to reproduce:\r\n1. Create a defaut alloy or clasic app. Make sure you have services enabled.\r\n2. Using the components & SDK in the description build for android device/emulator.\r\n3. Let the app launch.\r\n\r\nh5.Actual Results:\r\n1. The app crashes 2-3 seconds after launch with error:\r\n{code}\r\n[WARN] : TiVerify: (Timer-0) [5003,5003] Verifying module licenses...\r\n[ERROR] : TiApplication: (Timer-0) [4,5007] Sending event: exception on thread: Timer-0 msg:java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;; Titanium 4.0.1,2016/03/08 10:35,72e9f11\r\n[ERROR] : TiApplication: java.lang.NoClassDefFoundError: Failed resolution of: Lti/modules/titanium/network/NonValidatingSSLSocketFactory;\r\n[ERROR] : TiApplication: at org.appcelerator.titanium.TiVerify.run(Unknown Source)\r\n[ERROR] : TiApplication: at java.util.Timer$TimerImpl.run(Timer.java:284)\r\n[ERROR] : TiApplication: Caused by: java.lang.ClassNotFoundException: Didn't find class \"ti.modules.titanium.network.NonValidatingSSLSocketFactory\" on path: DexPathList[[zip file \"/data/app/com.app.theefivetwoclassic-2/base.apk\"],nativeLibraryDirectories=[/data/app/com.app.theefivetwoclassic-2/lib/arm, /vendor/lib, /system/lib]]\r\n[ERROR] : TiApplication: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n[ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)\r\n[ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\n[ERROR] : TiApplication: ... 2 more\r\n[ERROR] : TiApplication: Suppressed: java.lang.ClassNotFoundException: ti.modules.titanium.network.NonValidatingSSLSocketFactory\r\n[ERROR] : TiApplication: at java.lang.Class.classForName(Native Method)\r\n[ERROR] : TiApplication: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\n[ERROR] : TiApplication: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\n[ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)\r\n[ERROR] : TiApplication: ... 3 more\r\n[ERROR] : TiApplication: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available\r\n{code}\r\n\r\n2. This might be due to the fact that the \"NonValidatingSSLSocketFactory\" class is removed as a part of the google security fix.\r\n3. When built with SDK 3.5.1.GA & 4.0.0.GA this issue is not seen.\r\n\r\nh5.Expected Results:\r\n1. The app should not crash.\r\n", "attachment": [], "flagged": false, "summary": "Android: Services enabled app crashes with error \"Didn't find class ti.modules.titanium.network.NonValidatingSSLSocketFactory\" when built with 3.5.2 & 4.0.1 SDK", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.5.0.201602170831\r\nTi SDK : 4.0.1.v20160308103519, 3.5.2.v20160308093511\r\nTi CLI : 5.0.6\r\nAlloy : 1.7.33\r\nMAC El Capitan : 10.11.13\r\nAppc NPM : 4.1.0\r\nAppc CLI : 4.0.2\r\nNode: 0.10.37\r\nNexus 6P - Android 6.0.1\r\nCloud Module : 3.2.8", "closedSprints": [ { "id": 585, "state": "closed", "name": "2016 Sprint 5 SDK", "startDate": "2016-02-27T01:30:43.377Z", "endDate": "2016-03-12T01:30:00.000Z", "completeDate": "2016-03-14T11:50:17.995Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "379263", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hieu, can you take a look?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T23:36:27.000+0000", "updated": "2016-03-08T23:36:27.000+0000" }, { "id": "379418", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~hpham] 4_1_X will also need the fix.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-10T08:29:50.000+0000", "updated": "2016-03-10T08:29:50.000+0000" }, { "id": "379500", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR's for various branches with updated Titanium Verify *.jar and *.so:-\r\n - master (5.2.0.GA) [PR] (https://github.com/appcelerator/titanium_mobile/pull/7837)\r\n - 5_3_X (5.2.0.GA) [PR] (https://github.com/appcelerator/titanium_mobile/pull/7836)\r\n - 5_2_X (5.2.0.GA) [PR] (https://github.com/appcelerator/titanium_mobile/pull/7835)\r\n - 5_1_X (5.1.0.GA) [PR] (https://github.com/appcelerator/titanium_mobile/pull/7834)\r\n - 5_0_X (5.0.0.GA) [PR] (https://github.com/appcelerator/titanium_mobile/pull/7833)\r\n - 4_1_X (4.1.0.GA) [PR](https://github.com/appcelerator/titanium_mobile/pull/7832)\r\n - 4_0_X (4.0.0.GA) [PR](https://github.com/appcelerator/titanium_mobile/pull/7830)\r\n - 3_5_X (3.5.1.GA) [PR](https://github.com/appcelerator/titanium_mobile/pull/7831)\r\n\r\nThe bracket TitaniumMobile SDK version is what the Titanium Verify is compiled against. I've scons the branches and tried it out. No crashes and able to get it working correctly.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-03-11T04:23:11.000+0000", "updated": "2016-03-11T06:02:56.000+0000" }, { "id": "379633", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PRs that have been merged:-\r\n - 4_1_X (4.1.0.GA) [PR](https://github.com/appcelerator/titanium_mobile/pull/7832)\r\n - 4_0_X (4.0.0.GA) [PR](https://github.com/appcelerator/titanium_mobile/pull/7830)\r\n - 3_5_X (3.5.1.GA) [PR](https://github.com/appcelerator/titanium_mobile/pull/7831)", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-03-14T01:49:53.000+0000", "updated": "2016-03-14T01:49:53.000+0000" }, { "id": "380372", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~lchoudhary] Titanium SDK 3.5.x only supports Node.js 0.10.4+ and 0.12.x. - make sure you're on a supported version.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-22T15:50:17.000+0000", "updated": "2016-03-22T18:50:34.000+0000" }, { "id": "416560", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed, if there are any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:04:18.000+0000", "updated": "2017-03-31T22:04:18.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }