{ "id": "111400", "key": "AC-2476", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2014-01-17T06:54:13.000+0000", "created": "2013-03-19T16:49:47.000+0000", "labels": [ "MapModule" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41: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": "Hi, good day,\r\n\r\nI'm developing an app with MapModule updated but the problem is present when click annotation in a map. \r\n\r\n03-15 10:06:34.060: E/TiApplication(13011): (main) [18509,103048] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.0.2,2013/02/15 19:02,5a77fe7\r\n03-15 10:06:34.060: E/TiApplication(13011): java.lang.NullPointerException\r\n03-15 10:06:34.060: E/TiApplication(13011): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369)\r\n03-15 10:06:34.060: E/TiApplication(13011): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at com.google.android.gms.internal.an$a.onTransact(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at android.os.Binder.transact(Binder.java:300)\r\n03-15 10:06:34.060: E/TiApplication(13011): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.z.by.a(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.y.ba.a(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.y.d.c(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.y.bj.a(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.y.v.c(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.y.bf.onSingleTapConfirmed(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.d.v.onSingleTapConfirmed(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at maps.d.j.handleMessage(Unknown Source)\r\n03-15 10:06:34.060: E/TiApplication(13011): at android.os.Handler.dispatchMessage(Handler.java:99)\r\n03-15 10:06:34.060: E/TiApplication(13011): at android.os.Looper.loop(Looper.java:137)\r\n03-15 10:06:34.060: E/TiApplication(13011): at android.app.ActivityThread.main(ActivityThread.java:4464)\r\n03-15 10:06:34.060: E/TiApplication(13011): at java.lang.reflect.Method.invokeNative(Native Method)\r\n03-15 10:06:34.060: E/TiApplication(13011): at java.lang.reflect.Method.invoke(Method.java:511)\r\n03-15 10:06:34.060: E/TiApplication(13011): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:822)\r\n03-15 10:06:34.060: E/TiApplication(13011): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)\r\n03-15 10:06:34.060: E/TiApplication(13011): at dalvik.system.NativeStart.main(Native Method)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): FATAL EXCEPTION: main\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): java.lang.NullPointerException\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at com.google.android.gms.internal.an$a.onTransact(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at android.os.Binder.transact(Binder.java:300)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.z.by.a(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.y.ba.a(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.y.d.c(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.y.bj.a(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.y.v.c(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.y.bf.onSingleTapConfirmed(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.d.v.onSingleTapConfirmed(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at maps.d.j.handleMessage(Unknown Source)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at android.os.Handler.dispatchMessage(Handler.java:99)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at android.os.Looper.loop(Looper.java:137)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at android.app.ActivityThread.main(ActivityThread.java:4464)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at java.lang.reflect.Method.invokeNative(Native Method)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at java.lang.reflect.Method.invoke(Method.java:511)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:822)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)\r\n03-15 10:06:34.200: E/AndroidRuntime(13011): at dalvik.system.NativeStart.main(Native Method)", "attachment": [], "flagged": false, "summary": "NullPointerException when click Map Annotation TIMOB-12857", "creator": { "name": "eddesus", "key": "eddesus", "displayName": "Jorge E. Aparicio", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "eddesus", "key": "eddesus", "displayName": "Jorge E. Aparicio", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.0.3, Titanium SDK 3.0.2GA, Map Module commit 6bde65405649f2e14045b26e048406182b2cbade", "comment": { "comments": [ { "id": "243150", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nCan you please provide a sample code to replicate the problem?\r\n\r\nThank you", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-20T15:05:16.000+0000", "updated": "2013-03-20T15:05:16.000+0000" }, { "id": "243186", "author": { "name": "eddesus", "key": "eddesus", "displayName": "Jorge E. Aparicio", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Davide, thanks for your time,\n\nI'm attach a Project with the issue in this link: https://dl.dropbox.com/u/16053085/MapTest.zip\n\nThe code used in my app is:\n\n{code}\nvar MapModule = require('ti.map');\n\n\n/***\n * Args example\n * {\n * \t\ttitulo_mapa: 'Ágora de la Ciudad de Xalapa',\n * \t\tsubtitulo_mapa: 'Bajos del Parque Juárez s/n. Centro',\n * \t\tlatitude: 19.526586455103,\n * \t\tlongitude: -96.923961639404\n * \t}\n * \n */\n\n\nfunction NormalView(args) {\n\t\n\t// properties to render the view\n\tvar opciones = args || {};\n\n\tvar mapWrapper = Ti.UI.createView({\n\t\tbackgroundColor: '#FFF',\n\t\twidth: Ti.UI.FILL,\n\t\theight: 400 /* px */ \n\t})\n\t\n\tvar mapview = MapModule.createView({\n\t\tmapType : MapModule.NORMAL_TYPE,\n\t\tregionFit : true,\n\t\tuserLocation : false,\n\t});\n\n\tmapWrapper.add(mapview);\n\n\tvar ubicacion = MapModule.createAnnotation({\n\t\tlatitude : opciones.latitude,\t\t\t\t\t\t/* Latitud */\n\t\tlongitude : opciones.longitude,\t\t\t\t\t\t/* Longitud */\n\t\ttitle : opciones.titulo_mapa,\t\t\t\t\t\t/* Titulo mapa */\n\t\tsubtitle : opciones.subtitulo_mapa,\t\t\t\t\t/* Subtitulo de mapa */\n\t\tImage : '/images/pin-map.png',\n\t\tdraggable : false\n\t});\n\n\tmapview.region = {\n\t\tlatitude : opciones.latitude,\n\t\tlongitude : opciones.longitude,\n\t\tlatitudeDelta : 0.007,\n\t\tlongitudeDelta : 0.007\n\t};\n\t\n\t\n\tmapview.addAnnotation(ubicacion);\n\n\t\t\n\treturn mapWrapper;\n\t\t\n}\n\nmodule.exports = NormalView;\n\n{code}", "updateAuthor": { "name": "eddesus", "key": "eddesus", "displayName": "Jorge E. Aparicio", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-20T16:55:10.000+0000", "updated": "2013-03-20T16:55:10.000+0000" }, { "id": "245187", "author": { "name": "joshuajensen", "key": "joshuajensen", "displayName": "Josh Jensen", "active": true, "timeZone": "America/New_York" }, "body": "I am having the exact same issue. This is marked as \"Needs more info.\" What info is needed to get this resolved. Thanks!", "updateAuthor": { "name": "joshuajensen", "key": "joshuajensen", "displayName": "Josh Jensen", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-02T14:59:50.000+0000", "updated": "2013-04-02T14:59:50.000+0000" }, { "id": "288588", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We have not been able to reproduce the reported issue with 3.2.0 SDK release. Please note that there were a number of native map crashes and memory leaks on Android platform that were resolved with V2 version. \r\n\r\nWe would suggest you to upgrade to 3.2.0 SDK and let us know if the issue persists and we would be happy to investigate it further.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-17T06:54:13.000+0000", "updated": "2014-01-17T06:54:13.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }