{ "id": "124275", "key": "TIMOB-16114", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2019-04-03T22:11:28.000+0000", "created": "2013-12-30T22:02:12.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-04-03T22:11:28.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": "h6.Issue description\r\nWhenever the Ti.Geolocation module is referenced to Javascript variable the build process errors with:\r\n\r\n{code}\r\n[ERROR] : JNIUtil: Couldn't find Java class: ti/modules/titanium/geolocation/GeolocationModule\r\n[WARN] : W/System.err: java.lang.NoClassDefFoundError: ti/modules/titanium/geolocation/GeolocationModule\r\n[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:159)\r\n[WARN] : W/System.err: at org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:289)\r\n[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:185)\r\n[WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)\r\n[WARN] : W/System.err: at android.os.Looper.loop(Looper.java:137)\r\n[WARN] : W/System.err: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\r\n[WARN] : W/System.err: Caused by: java.lang.ClassNotFoundException: ti.modules.titanium.geolocation.GeolocationModule\r\n[WARN] : W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)\r\n[WARN] : W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:501)\r\n[WARN] : W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:461)\r\n[WARN] : W/System.err: ... 7 more\r\n{code}\r\n\r\nh6.Steps to reproduce\r\nAlthough we were unable to replicate the error, the developer was setting this:\r\n\r\nvar geo = Ti.Geolocation;\r\n\r\nAfter commenting it out the Ti Project was able to build at device. The simple app is attached. \r\n\r\nh6.Devices under test\r\nError was reproduced on Galaxy S3 w/ 4.1.2\r\nNot reproducible w/ Android 4.0.4 nor Droid razr 2.3.5", "attachment": [ { "id": "44871", "filename": "AndroidEmulator_4.1.2.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-30T22:02:12.000+0000", "size": 14825, "mimeType": "text/plain" }, { "id": "44872", "filename": "GeoTest.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-30T22:02:12.000+0000", "size": 3136365, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: GeolocationModule not found when referenced from local variable", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.2.0.GA & TiStudio 3.2.0.201312191547\r\nTiCLI 3.2\r\nAndroid 4.1.2", "comment": { "comments": [ { "id": "447460", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not reproducible w/ Android 4.0.4 nor Droid razr 2.3.5", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-03T22:11:28.000+0000", "updated": "2019-04-03T22:11:28.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }