java.lang.NullPointerException

Appcelerator JIRA | Eduardo Gomez | 4 years ago
  1. 0

    h6.Issues A. Annotations do not use images for the pins, they just show the default annotation despite being specified. B. Clicking on an Annotation causes a Crash see: {code} 03-05 15:00:12.515: I/ActivityManager(123): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.map/.MaptestActivity bnds=[240,410][357,528] } from pid 730 03-05 15:00:12.575: I/[POST_RESELECT](730): [spanChange] (o, oldStart, newStart, oldEnd, newEnd)=(android.text.Selection$START@4013dbc8,-1,0,-1,0) 03-05 15:00:12.585: I/[POST_RESELECT](730): [spanChange] (o, oldStart, newStart, oldEnd, newEnd)=(android.text.Selection$END@401371c8,-1,0,-1,0) 03-05 15:00:12.615: I/ActivityManager(123): Start proc com.map for activity com.map/.MaptestActivity: pid=8645 uid=10079 gids={1015, 3003} 03-05 15:00:12.735: D/SensorService(123): enable: connection.get() = 0x486268, (2.3.4) 03-05 15:00:12.735: D/SensorService(123): enable: get sensor name = BMA150 3-axis Accelerometer 03-05 15:00:12.735: D/SensorService(123): SensorDevice::activate: handle = 0x0, enabled = 0x1 03-05 15:00:12.735: D/Sensors(123): Enable akm: en = 1 03-05 15:00:12.735: D/AK8973(87): Compass Start 03-05 15:00:12.735: D/SensorService(123): noteStartSensor: uid = 0x3e8, handle = 0x0 03-05 15:00:12.735: D/SensorService(123): pid=123, uid=1000 03-05 15:00:12.735: D/SensorService(123): Active sensors: 03-05 15:00:12.735: D/SensorService(123): BMA150 3-axis Accelerometer (handle=0x00000000, connections=1) 03-05 15:00:12.735: D/SensorService(123): CM3602 Light sensor (handle=0x00000004, connections=1) 03-05 15:00:12.815: I/TiApplication(8645): (main) [0,0] checkpoint, app created. 03-05 15:00:12.905: I/TiApplication(8645): (main) [95,95] Titanium 2.1.3.MapsModule (2013/03/04 08:32 15997d0) 03-05 15:00:12.945: W/dalvikvm(730): disableGcForExternalAlloc: false 03-05 15:00:12.995: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, flag = 6, file size = 4096 03-05 15:00:12.995: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, mode: delete, disk free size: 127 M, handle: 0x33ece8 03-05 15:00:13.055: D/Database(8645): dbclose(): path = /data/data/com.map/databases/Titanium, handle = 0x33ece8 03-05 15:00:13.055: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, flag = 6, file size = 4096 03-05 15:00:13.075: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, mode: delete, disk free size: 127 M, handle: 0x34cfe0 03-05 15:00:13.075: D/Database(8645): dbclose(): path = /data/data/com.map/databases/Titanium, handle = 0x34cfe0 03-05 15:00:13.115: D/dalvikvm(8645): GC_CONCURRENT freed 290K, 47% free 3023K/5639K, external 0K/0K, paused 5ms+3ms 03-05 15:00:13.115: I/TiApplication(8645): (main) [208,303] Titanium Javascript runtime: v8 03-05 15:00:13.115: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libstlport_shared.so 0x4051bdc8 03-05 15:00:13.125: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libstlport_shared.so 0x4051bdc8 03-05 15:00:13.125: D/dalvikvm(8645): No JNI_OnLoad found in /data/data/com.map/lib/libstlport_shared.so 0x4051bdc8, skipping init 03-05 15:00:13.125: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libkroll-v8.so 0x4051bdc8 03-05 15:00:13.135: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libkroll-v8.so 0x4051bdc8 03-05 15:00:13.166: I/TiRootActivity(8645): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 03-05 15:00:13.166: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, flag = 6, file size = 10240 03-05 15:00:13.176: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, mode: delete, disk free size: 127 M, handle: 0x368090 03-05 15:00:13.186: D/Database(8645): dbclose(): path = /data/data/com.map/databases/tianalytics.db, handle = 0x368090 03-05 15:00:13.446: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, flag = 6, file size = 10240 03-05 15:00:13.446: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, mode: delete, disk free size: 127 M, handle: 0x33de20 03-05 15:00:13.476: D/Database(8645): dbclose(): path = /data/data/com.map/databases/tianalytics.db, handle = 0x33de20 03-05 15:00:13.626: E/TiApplication(8645): (KrollRuntimeThread) [464,464] APP PROXY: ti.modules.titanium.app.AppModule@4055a9a8 03-05 15:00:13.696: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libti.map.so 0x4051bdc8 03-05 15:00:13.696: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libti.map.so 0x4051bdc8 03-05 15:00:13.696: D/dalvikvm(8645): No JNI_OnLoad found in /data/data/com.map/lib/libti.map.so 0x4051bdc8, skipping init 03-05 15:00:13.756: D/Module(8645): Loading module: ui/handheld/android/ApplicationWindow -> Resources/ui/handheld/android/ApplicationWindow.js 03-05 15:00:13.776: D/Module(8645): Loading module: ui/common/FirstView -> Resources/ui/common/FirstView.js 03-05 15:00:13.996: I/ActivityManager(123): Starting activity: Intent { cmp=com.map/org.appcelerator.titanium.TiActivity (has extras) } from pid 8645 03-05 15:00:14.126: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libtiverify.so 0x4051bdc8 03-05 15:00:14.136: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libtiverify.so 0x4051bdc8 03-05 15:00:14.136: D/ATRecorder(8645): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@405986e8 03-05 15:00:14.136: I/TiRootActivity(8645): (main) [0,0] checkpoint, on root activity resume. activity = com.map.MaptestActivity@4053f2e8 03-05 15:00:14.227: W/dalvikvm(8645): VFY: unable to resolve static field 549 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string; 03-05 15:00:14.227: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0041 03-05 15:00:14.227: W/dalvikvm(8645): VFY: unable to resolve static field 545 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string; 03-05 15:00:14.227: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x004c 03-05 15:00:14.227: W/dalvikvm(8645): VFY: unable to resolve static field 553 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0057 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x0043-004a in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x004e-0056 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x0059-0061 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-05 15:00:14.237: W/dalvikvm(8645): VFY: unable to resolve static field 546 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0009 03-05 15:00:14.237: W/dalvikvm(8645): VFY: unable to resolve static field 543 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0010 03-05 15:00:14.237: W/dalvikvm(8645): VFY: unable to resolve static field 551 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0017 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x000b-000f in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0012-0016 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0019-001d in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-05 15:00:14.247: W/dalvikvm(8645): VFY: unable to resolve static field 550 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; 03-05 15:00:14.247: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0004 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0006-0065 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/Context;II)Ljava/lang/String; 03-05 15:00:14.247: D/dalvikvm(8645): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp 03-05 15:00:14.247: W/dalvikvm(8645): VFY: unable to resolve instance field 30 03-05 15:00:14.247: D/dalvikvm(8645): VFY: replacing opcode 0x52 at 0x0012 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z 03-05 15:00:14.387: D/dalvikvm(8645): GC_CONCURRENT freed 366K, 46% free 3204K/5895K, external 0K/0K, paused 3ms+3ms 03-05 15:00:14.517: W/dalvikvm(8645): Unable to resolve superclass of Lmaps/p/s; (427) 03-05 15:00:14.517: W/dalvikvm(8645): Link of class 'Lmaps/p/s;' failed 03-05 15:00:14.527: W/dalvikvm(8645): Unable to resolve superclass of Lmaps/y/bo; (3820) 03-05 15:00:14.527: W/dalvikvm(8645): Link of class 'Lmaps/y/bo;' failed 03-05 15:00:14.527: W/dalvikvm(8645): Unable to resolve superclass of Lmaps/i/k; (4208) 03-05 15:00:14.527: W/dalvikvm(8645): Link of class 'Lmaps/i/k;' failed 03-05 15:00:14.527: E/dalvikvm(8645): Could not find class 'maps.i.k', referenced from method maps.z.ag.a 03-05 15:00:14.527: W/dalvikvm(8645): VFY: unable to resolve new-instance 3540 (Lmaps/i/k;) in Lmaps/z/ag; 03-05 15:00:14.527: D/dalvikvm(8645): VFY: replacing opcode 0x22 at 0x006d 03-05 15:00:14.547: D/dalvikvm(8645): VFY: dead code 0x006f-007f in Lmaps/z/ag;.a (Landroid/view/LayoutInflater;Lcom/google/android/gms/maps/GoogleMapOptions;ZLjava/lang/String;)Lmaps/z/ag; 03-05 15:00:14.717: D/dalvikvm(8645): GC_CONCURRENT freed 300K, 44% free 3460K/6087K, external 0K/0K, paused 4ms+7ms 03-05 15:00:14.987: V/LocationManagerService(123): requestLocationUpdates 03-05 15:00:14.997: W/AnnotationProxy(8645): (main) [853,853] Image does not exist 03-05 15:00:15.017: W/AnnotationProxy(8645): (main) [26,879] Image does not exist 03-05 15:00:15.037: D/SensorGUI(123): SensorChannel(): mSendFd = 240, mReceiveFd = 239 03-05 15:00:15.037: D/SensorGUI(8645): SensorChannel(const Parcel& data): mSendFd = -1, mReceiveFd = 85 03-05 15:00:15.037: D/dalvikvm(8645): GC_CONCURRENT freed 270K, 41% free 3747K/6343K, external 0K/0K, paused 5ms+5ms 03-05 15:00:15.047: D/SensorService(123): enable: connection.get() = 0x6028a8, (2.3.4) 03-05 15:00:15.047: D/SensorService(123): enable: get sensor name = BMA150 3-axis Accelerometer 03-05 15:00:15.047: D/SensorService(123): SensorDevice::activate: handle = 0x0, enabled = 0x1 03-05 15:00:15.047: D/Sensors(123): Enable akm: en = 1 03-05 15:00:15.047: D/SensorService(123): noteStartSensor: uid = 0x275f, handle = 0x0 03-05 15:00:15.047: D/SensorService(123): pid=8645, uid=10079 03-05 15:00:15.047: D/SensorService(123): Active sensors: 03-05 15:00:15.047: D/SensorService(123): BMA150 3-axis Accelerometer (handle=0x00000000, connections=2) 03-05 15:00:15.047: D/SensorService(123): CM3602 Light sensor (handle=0x00000004, connections=1) 03-05 15:00:15.047: W/AnnotationProxy(8645): (main) [28,907] Image does not exist 03-05 15:00:15.047: V/LocationManagerService(123): requestLocationUpdates 03-05 15:00:15.067: D/TiUIView(8645): (main) [24,931] Nativeview is null 03-05 15:00:15.137: D/TiUIView(8645): (main) [67,998] Nativeview is null 03-05 15:00:15.228: D/libEGL(8645): loaded /system/lib/egl/libGLES_android.so 03-05 15:00:15.248: I/ActivityManager(123): Displayed com.map/org.appcelerator.titanium.TiActivity: +1s90ms (total +2s640ms) 03-05 15:00:15.258: D/libEGL(8645): loaded /system/lib/egl/libEGL_adreno200.so 03-05 15:00:15.258: W/SchedPolicy(8645): add_tid_to_cgroup failed to write '' (Invalid argument); background=0 03-05 15:00:15.268: W/InputManagerService(123): [unbindCurrentClientLocked] Disable input method client. 03-05 15:00:15.268: W/InputManagerService(123): [startInputLocked] Enable input method client. 03-05 15:00:15.308: D/libEGL(8645): loaded /system/lib/egl/libGLESv1_CM_adreno200.so 03-05 15:00:15.328: D/libEGL(8645): loaded /system/lib/egl/libGLESv2_adreno200.so 03-05 15:00:15.638: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 120K, 41% free 3784K/6343K, external 0K/0K, paused 86ms 03-05 15:00:16.148: W/dalvikvm(8645): VFY: unable to resolve static field 554 (MapAttrs) in Lcom/google/android/gms/R$styleable; 03-05 15:00:16.148: D/dalvikvm(8645): VFY: replacing opcode 0x62 at 0x000d 03-05 15:00:16.148: D/dalvikvm(8645): VFY: dead code 0x000f-0066 in Lcom/google/android/gms/maps/model/CameraPosition;.createFromAttributes (Landroid/content/Context;Landroid/util/AttributeSet;)Lcom/google/android/gms/maps/model/CameraPosition; 03-05 15:00:16.299: D/dalvikvm(8645): GC_CONCURRENT freed 312K, 40% free 3961K/6599K, external 235K/512K, paused 5ms+5ms 03-05 15:00:17.059: D/dalvikvm(8645): GC_CONCURRENT freed 410K, 40% free 4119K/6855K, external 227K/512K, paused 3ms+7ms 03-05 15:00:17.380: D/dalvikvm(8645): GC_FOR_MALLOC freed 242K, 41% free 4167K/6983K, external 194K/512K, paused 52ms 03-05 15:00:17.380: I/dalvikvm-heap(8645): Grow heap (frag case) to 6.741MB for 220740-byte allocation 03-05 15:00:17.440: D/dalvikvm(8645): GC_FOR_MALLOC freed 27K, 40% free 4355K/7239K, external 194K/512K, paused 47ms 03-05 15:00:18.250: D/dalvikvm(8645): GC_CONCURRENT freed 626K, 41% free 4284K/7239K, external 215K/512K, paused 5ms+4ms 03-05 15:00:18.801: D/dalvikvm(8645): GC_FOR_MALLOC freed 214K, 42% free 4253K/7239K, external 194K/512K, paused 56ms 03-05 15:00:18.801: I/dalvikvm-heap(8645): Grow heap (frag case) to 6.673MB for 62710-byte allocation 03-05 15:00:18.851: D/dalvikvm(8645): GC_FOR_MALLOC freed 0K, 41% free 4314K/7303K, external 194K/512K, paused 39ms 03-05 15:00:18.941: D/dalvikvm(8645): GC_FOR_MALLOC freed 118K, 42% free 4305K/7303K, external 194K/512K, paused 48ms 03-05 15:00:19.031: D/dalvikvm(8645): GC_FOR_MALLOC freed 1K, 41% free 4366K/7303K, external 194K/512K, paused 44ms 03-05 15:00:19.031: I/dalvikvm-heap(8645): Grow heap (frag case) to 6.784MB for 62578-byte allocation 03-05 15:00:19.081: D/dalvikvm(8645): GC_FOR_MALLOC freed 0K, 40% free 4427K/7367K, external 194K/512K, paused 42ms 03-05 15:00:19.151: D/dalvikvm(8645): GC_FOR_MALLOC freed 63K, 41% free 4419K/7367K, external 194K/512K, paused 40ms 03-05 15:00:19.161: W/ActivityManager(123): Activity destroy timeout for HistoryRecord{40a31a20 com.map/org.appcelerator.titanium.TiActivity} 03-05 15:00:19.231: D/dalvikvm(8645): GC_FOR_MALLOC freed 76K, 41% free 4407K/7367K, external 194K/512K, paused 43ms 03-05 15:00:19.231: I/dalvikvm-heap(8645): Grow heap (frag case) to 7.002MB for 250684-byte allocation 03-05 15:00:19.281: D/dalvikvm(8645): GC_FOR_MALLOC freed <1K, 39% free 4651K/7623K, external 194K/512K, paused 39ms 03-05 15:00:19.452: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 265K, 41% free 4539K/7687K, external 194K/512K, paused 60ms 03-05 15:00:19.772: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 60K, 40% free 4633K/7687K, external 1444K/1729K, paused 59ms 03-05 15:00:20.192: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 129K, 39% free 4735K/7687K, external 1704K/1762K, paused 63ms 03-05 15:00:20.433: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 86K, 39% free 4732K/7687K, external 422K/835K, paused 66ms 03-05 15:00:20.873: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 351K, 41% free 4582K/7687K, external 1543K/1734K, paused 61ms 03-05 15:00:21.203: D/dalvikvm(7630): GC_EXPLICIT freed 24K, 47% free 2905K/5379K, external 0K/0K, paused 401ms 03-05 15:00:21.804: D/dalvikvm(8645): GC_CONCURRENT freed 453K, 38% free 4839K/7687K, external 1255K/1731K, paused 4ms+4ms 03-05 15:00:22.745: D/skia(730): purging 178K from font cache [22 entries] 03-05 15:00:22.835: D/dalvikvm(730): GC_EXPLICIT freed 12K, 40% free 4709K/7751K, external 18347K/20395K, paused 91ms 03-05 15:00:23.125: D/AndroidRuntime(8645): Shutting down VM 03-05 15:00:23.125: W/dalvikvm(8645): threadid=1: thread exiting with uncaught exception (group=0x4001d5a0) 03-05 15:00:23.155: E/TiApplication(8645): (main) [8003,9001] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 2.1.3.MapsModule,2013/03/04 08:32,15997d0 03-05 15:00:23.155: E/TiApplication(8645): java.lang.NullPointerException 03-05 15:00:23.155: E/TiApplication(8645): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369) 03-05 15:00:23.155: E/TiApplication(8645): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at android.os.Binder.transact(Binder.java:279) 03-05 15:00:23.155: E/TiApplication(8645): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-05 15:00:23.155: E/TiApplication(8645): at maps.z.by.a(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.ba.a(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.d.c(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.bj.a(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.v.c(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.d.j.handleMessage(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at android.os.Handler.dispatchMessage(Handler.java:99) 03-05 15:00:23.155: E/TiApplication(8645): at android.os.Looper.loop(Looper.java:150) 03-05 15:00:23.155: E/TiApplication(8645): at android.app.ActivityThread.main(ActivityThread.java:4263) 03-05 15:00:23.155: E/TiApplication(8645): at java.lang.reflect.Method.invokeNative(Native Method) 03-05 15:00:23.155: E/TiApplication(8645): at java.lang.reflect.Method.invoke(Method.java:507) 03-05 15:00:23.155: E/TiApplication(8645): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 03-05 15:00:23.155: E/TiApplication(8645): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-05 15:00:23.155: E/TiApplication(8645): at dalvik.system.NativeStart.main(Native Method) 03-05 15:00:23.165: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, flag = 6, file size = 11264 03-05 15:00:23.165: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, mode: delete, disk free size: 127 M, handle: 0x4e23e0 03-05 15:00:23.185: D/Database(8645): dbclose(): path = /data/data/com.map/databases/tianalytics.db, handle = 0x4e23e0 03-05 15:00:23.185: E/AndroidRuntime(8645): FATAL EXCEPTION: main 03-05 15:00:23.185: E/AndroidRuntime(8645): java.lang.NullPointerException 03-05 15:00:23.185: E/AndroidRuntime(8645): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.os.Binder.transact(Binder.java:279) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.z.by.a(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.ba.a(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.d.c(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.bj.a(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.v.c(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.d.j.handleMessage(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.os.Handler.dispatchMessage(Handler.java:99) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.os.Looper.loop(Looper.java:150) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.app.ActivityThread.main(ActivityThread.java:4263) 03-05 15:00:23.185: E/AndroidRuntime(8645): at java.lang.reflect.Method.invokeNative(Native Method) 03-05 15:00:23.185: E/AndroidRuntime(8645): at java.lang.reflect.Method.invoke(Method.java:507) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-05 15:00:23.185: E/AndroidRuntime(8645): at dalvik.system.NativeStart.main(Native Method) 03-05 15:00:23.195: W/ActivityManager(123): Force finishing activity com.map/org.appcelerator.titanium.TiActivity 03-05 15:00:23.706: W/ActivityManager(123): Activity pause timeout fo {code} h6.Steps to reproduce Sample project attached, Resources/ui/common/FirstView.js code require the Map Module. Annotations images are attached as well. h6.Additional details Public link 2.1.3.MapsModule patched 2.1.3.GA SDK for use: http://dl.dropbox.com/u/34061091/mobilesdk-2.1.3.MapsModule-osx.zip

    Appcelerator JIRA | 4 years ago | Eduardo Gomez
    java.lang.NullPointerException
  2. 0

    h6.Issues A. Annotations do not use images for the pins, they just show the default annotation despite being specified. B. Clicking on an Annotation causes a Crash see: {code} 03-05 15:00:12.515: I/ActivityManager(123): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.map/.MaptestActivity bnds=[240,410][357,528] } from pid 730 03-05 15:00:12.575: I/[POST_RESELECT](730): [spanChange] (o, oldStart, newStart, oldEnd, newEnd)=(android.text.Selection$START@4013dbc8,-1,0,-1,0) 03-05 15:00:12.585: I/[POST_RESELECT](730): [spanChange] (o, oldStart, newStart, oldEnd, newEnd)=(android.text.Selection$END@401371c8,-1,0,-1,0) 03-05 15:00:12.615: I/ActivityManager(123): Start proc com.map for activity com.map/.MaptestActivity: pid=8645 uid=10079 gids={1015, 3003} 03-05 15:00:12.735: D/SensorService(123): enable: connection.get() = 0x486268, (2.3.4) 03-05 15:00:12.735: D/SensorService(123): enable: get sensor name = BMA150 3-axis Accelerometer 03-05 15:00:12.735: D/SensorService(123): SensorDevice::activate: handle = 0x0, enabled = 0x1 03-05 15:00:12.735: D/Sensors(123): Enable akm: en = 1 03-05 15:00:12.735: D/AK8973(87): Compass Start 03-05 15:00:12.735: D/SensorService(123): noteStartSensor: uid = 0x3e8, handle = 0x0 03-05 15:00:12.735: D/SensorService(123): pid=123, uid=1000 03-05 15:00:12.735: D/SensorService(123): Active sensors: 03-05 15:00:12.735: D/SensorService(123): BMA150 3-axis Accelerometer (handle=0x00000000, connections=1) 03-05 15:00:12.735: D/SensorService(123): CM3602 Light sensor (handle=0x00000004, connections=1) 03-05 15:00:12.815: I/TiApplication(8645): (main) [0,0] checkpoint, app created. 03-05 15:00:12.905: I/TiApplication(8645): (main) [95,95] Titanium 2.1.3.MapsModule (2013/03/04 08:32 15997d0) 03-05 15:00:12.945: W/dalvikvm(730): disableGcForExternalAlloc: false 03-05 15:00:12.995: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, flag = 6, file size = 4096 03-05 15:00:12.995: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, mode: delete, disk free size: 127 M, handle: 0x33ece8 03-05 15:00:13.055: D/Database(8645): dbclose(): path = /data/data/com.map/databases/Titanium, handle = 0x33ece8 03-05 15:00:13.055: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, flag = 6, file size = 4096 03-05 15:00:13.075: D/Database(8645): dbopen(): path = /data/data/com.map/databases/Titanium, mode: delete, disk free size: 127 M, handle: 0x34cfe0 03-05 15:00:13.075: D/Database(8645): dbclose(): path = /data/data/com.map/databases/Titanium, handle = 0x34cfe0 03-05 15:00:13.115: D/dalvikvm(8645): GC_CONCURRENT freed 290K, 47% free 3023K/5639K, external 0K/0K, paused 5ms+3ms 03-05 15:00:13.115: I/TiApplication(8645): (main) [208,303] Titanium Javascript runtime: v8 03-05 15:00:13.115: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libstlport_shared.so 0x4051bdc8 03-05 15:00:13.125: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libstlport_shared.so 0x4051bdc8 03-05 15:00:13.125: D/dalvikvm(8645): No JNI_OnLoad found in /data/data/com.map/lib/libstlport_shared.so 0x4051bdc8, skipping init 03-05 15:00:13.125: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libkroll-v8.so 0x4051bdc8 03-05 15:00:13.135: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libkroll-v8.so 0x4051bdc8 03-05 15:00:13.166: I/TiRootActivity(8645): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 03-05 15:00:13.166: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, flag = 6, file size = 10240 03-05 15:00:13.176: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, mode: delete, disk free size: 127 M, handle: 0x368090 03-05 15:00:13.186: D/Database(8645): dbclose(): path = /data/data/com.map/databases/tianalytics.db, handle = 0x368090 03-05 15:00:13.446: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, flag = 6, file size = 10240 03-05 15:00:13.446: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, mode: delete, disk free size: 127 M, handle: 0x33de20 03-05 15:00:13.476: D/Database(8645): dbclose(): path = /data/data/com.map/databases/tianalytics.db, handle = 0x33de20 03-05 15:00:13.626: E/TiApplication(8645): (KrollRuntimeThread) [464,464] APP PROXY: ti.modules.titanium.app.AppModule@4055a9a8 03-05 15:00:13.696: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libti.map.so 0x4051bdc8 03-05 15:00:13.696: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libti.map.so 0x4051bdc8 03-05 15:00:13.696: D/dalvikvm(8645): No JNI_OnLoad found in /data/data/com.map/lib/libti.map.so 0x4051bdc8, skipping init 03-05 15:00:13.756: D/Module(8645): Loading module: ui/handheld/android/ApplicationWindow -> Resources/ui/handheld/android/ApplicationWindow.js 03-05 15:00:13.776: D/Module(8645): Loading module: ui/common/FirstView -> Resources/ui/common/FirstView.js 03-05 15:00:13.996: I/ActivityManager(123): Starting activity: Intent { cmp=com.map/org.appcelerator.titanium.TiActivity (has extras) } from pid 8645 03-05 15:00:14.126: D/dalvikvm(8645): Trying to load lib /data/data/com.map/lib/libtiverify.so 0x4051bdc8 03-05 15:00:14.136: D/dalvikvm(8645): Added shared lib /data/data/com.map/lib/libtiverify.so 0x4051bdc8 03-05 15:00:14.136: D/ATRecorder(8645): com.htc.autotest.dlib.RecordEngine in loader dalvik.system.DexClassLoader@405986e8 03-05 15:00:14.136: I/TiRootActivity(8645): (main) [0,0] checkpoint, on root activity resume. activity = com.map.MaptestActivity@4053f2e8 03-05 15:00:14.227: W/dalvikvm(8645): VFY: unable to resolve static field 549 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string; 03-05 15:00:14.227: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0041 03-05 15:00:14.227: W/dalvikvm(8645): VFY: unable to resolve static field 545 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string; 03-05 15:00:14.227: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x004c 03-05 15:00:14.227: W/dalvikvm(8645): VFY: unable to resolve static field 553 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0057 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x0043-004a in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x004e-0056 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x0059-0061 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-05 15:00:14.237: W/dalvikvm(8645): VFY: unable to resolve static field 546 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0009 03-05 15:00:14.237: W/dalvikvm(8645): VFY: unable to resolve static field 543 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0010 03-05 15:00:14.237: W/dalvikvm(8645): VFY: unable to resolve static field 551 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string; 03-05 15:00:14.237: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0017 03-05 15:00:14.237: D/dalvikvm(8645): VFY: dead code 0x000b-000f in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0012-0016 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0019-001d in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-05 15:00:14.247: W/dalvikvm(8645): VFY: unable to resolve static field 550 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; 03-05 15:00:14.247: D/dalvikvm(8645): VFY: replacing opcode 0x60 at 0x0004 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0006-0065 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/Context;II)Ljava/lang/String; 03-05 15:00:14.247: D/dalvikvm(8645): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp 03-05 15:00:14.247: W/dalvikvm(8645): VFY: unable to resolve instance field 30 03-05 15:00:14.247: D/dalvikvm(8645): VFY: replacing opcode 0x52 at 0x0012 03-05 15:00:14.247: D/dalvikvm(8645): VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z 03-05 15:00:14.387: D/dalvikvm(8645): GC_CONCURRENT freed 366K, 46% free 3204K/5895K, external 0K/0K, paused 3ms+3ms 03-05 15:00:14.517: W/dalvikvm(8645): Unable to resolve superclass of Lmaps/p/s; (427) 03-05 15:00:14.517: W/dalvikvm(8645): Link of class 'Lmaps/p/s;' failed 03-05 15:00:14.527: W/dalvikvm(8645): Unable to resolve superclass of Lmaps/y/bo; (3820) 03-05 15:00:14.527: W/dalvikvm(8645): Link of class 'Lmaps/y/bo;' failed 03-05 15:00:14.527: W/dalvikvm(8645): Unable to resolve superclass of Lmaps/i/k; (4208) 03-05 15:00:14.527: W/dalvikvm(8645): Link of class 'Lmaps/i/k;' failed 03-05 15:00:14.527: E/dalvikvm(8645): Could not find class 'maps.i.k', referenced from method maps.z.ag.a 03-05 15:00:14.527: W/dalvikvm(8645): VFY: unable to resolve new-instance 3540 (Lmaps/i/k;) in Lmaps/z/ag; 03-05 15:00:14.527: D/dalvikvm(8645): VFY: replacing opcode 0x22 at 0x006d 03-05 15:00:14.547: D/dalvikvm(8645): VFY: dead code 0x006f-007f in Lmaps/z/ag;.a (Landroid/view/LayoutInflater;Lcom/google/android/gms/maps/GoogleMapOptions;ZLjava/lang/String;)Lmaps/z/ag; 03-05 15:00:14.717: D/dalvikvm(8645): GC_CONCURRENT freed 300K, 44% free 3460K/6087K, external 0K/0K, paused 4ms+7ms 03-05 15:00:14.987: V/LocationManagerService(123): requestLocationUpdates 03-05 15:00:14.997: W/AnnotationProxy(8645): (main) [853,853] Image does not exist 03-05 15:00:15.017: W/AnnotationProxy(8645): (main) [26,879] Image does not exist 03-05 15:00:15.037: D/SensorGUI(123): SensorChannel(): mSendFd = 240, mReceiveFd = 239 03-05 15:00:15.037: D/SensorGUI(8645): SensorChannel(const Parcel& data): mSendFd = -1, mReceiveFd = 85 03-05 15:00:15.037: D/dalvikvm(8645): GC_CONCURRENT freed 270K, 41% free 3747K/6343K, external 0K/0K, paused 5ms+5ms 03-05 15:00:15.047: D/SensorService(123): enable: connection.get() = 0x6028a8, (2.3.4) 03-05 15:00:15.047: D/SensorService(123): enable: get sensor name = BMA150 3-axis Accelerometer 03-05 15:00:15.047: D/SensorService(123): SensorDevice::activate: handle = 0x0, enabled = 0x1 03-05 15:00:15.047: D/Sensors(123): Enable akm: en = 1 03-05 15:00:15.047: D/SensorService(123): noteStartSensor: uid = 0x275f, handle = 0x0 03-05 15:00:15.047: D/SensorService(123): pid=8645, uid=10079 03-05 15:00:15.047: D/SensorService(123): Active sensors: 03-05 15:00:15.047: D/SensorService(123): BMA150 3-axis Accelerometer (handle=0x00000000, connections=2) 03-05 15:00:15.047: D/SensorService(123): CM3602 Light sensor (handle=0x00000004, connections=1) 03-05 15:00:15.047: W/AnnotationProxy(8645): (main) [28,907] Image does not exist 03-05 15:00:15.047: V/LocationManagerService(123): requestLocationUpdates 03-05 15:00:15.067: D/TiUIView(8645): (main) [24,931] Nativeview is null 03-05 15:00:15.137: D/TiUIView(8645): (main) [67,998] Nativeview is null 03-05 15:00:15.228: D/libEGL(8645): loaded /system/lib/egl/libGLES_android.so 03-05 15:00:15.248: I/ActivityManager(123): Displayed com.map/org.appcelerator.titanium.TiActivity: +1s90ms (total +2s640ms) 03-05 15:00:15.258: D/libEGL(8645): loaded /system/lib/egl/libEGL_adreno200.so 03-05 15:00:15.258: W/SchedPolicy(8645): add_tid_to_cgroup failed to write '' (Invalid argument); background=0 03-05 15:00:15.268: W/InputManagerService(123): [unbindCurrentClientLocked] Disable input method client. 03-05 15:00:15.268: W/InputManagerService(123): [startInputLocked] Enable input method client. 03-05 15:00:15.308: D/libEGL(8645): loaded /system/lib/egl/libGLESv1_CM_adreno200.so 03-05 15:00:15.328: D/libEGL(8645): loaded /system/lib/egl/libGLESv2_adreno200.so 03-05 15:00:15.638: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 120K, 41% free 3784K/6343K, external 0K/0K, paused 86ms 03-05 15:00:16.148: W/dalvikvm(8645): VFY: unable to resolve static field 554 (MapAttrs) in Lcom/google/android/gms/R$styleable; 03-05 15:00:16.148: D/dalvikvm(8645): VFY: replacing opcode 0x62 at 0x000d 03-05 15:00:16.148: D/dalvikvm(8645): VFY: dead code 0x000f-0066 in Lcom/google/android/gms/maps/model/CameraPosition;.createFromAttributes (Landroid/content/Context;Landroid/util/AttributeSet;)Lcom/google/android/gms/maps/model/CameraPosition; 03-05 15:00:16.299: D/dalvikvm(8645): GC_CONCURRENT freed 312K, 40% free 3961K/6599K, external 235K/512K, paused 5ms+5ms 03-05 15:00:17.059: D/dalvikvm(8645): GC_CONCURRENT freed 410K, 40% free 4119K/6855K, external 227K/512K, paused 3ms+7ms 03-05 15:00:17.380: D/dalvikvm(8645): GC_FOR_MALLOC freed 242K, 41% free 4167K/6983K, external 194K/512K, paused 52ms 03-05 15:00:17.380: I/dalvikvm-heap(8645): Grow heap (frag case) to 6.741MB for 220740-byte allocation 03-05 15:00:17.440: D/dalvikvm(8645): GC_FOR_MALLOC freed 27K, 40% free 4355K/7239K, external 194K/512K, paused 47ms 03-05 15:00:18.250: D/dalvikvm(8645): GC_CONCURRENT freed 626K, 41% free 4284K/7239K, external 215K/512K, paused 5ms+4ms 03-05 15:00:18.801: D/dalvikvm(8645): GC_FOR_MALLOC freed 214K, 42% free 4253K/7239K, external 194K/512K, paused 56ms 03-05 15:00:18.801: I/dalvikvm-heap(8645): Grow heap (frag case) to 6.673MB for 62710-byte allocation 03-05 15:00:18.851: D/dalvikvm(8645): GC_FOR_MALLOC freed 0K, 41% free 4314K/7303K, external 194K/512K, paused 39ms 03-05 15:00:18.941: D/dalvikvm(8645): GC_FOR_MALLOC freed 118K, 42% free 4305K/7303K, external 194K/512K, paused 48ms 03-05 15:00:19.031: D/dalvikvm(8645): GC_FOR_MALLOC freed 1K, 41% free 4366K/7303K, external 194K/512K, paused 44ms 03-05 15:00:19.031: I/dalvikvm-heap(8645): Grow heap (frag case) to 6.784MB for 62578-byte allocation 03-05 15:00:19.081: D/dalvikvm(8645): GC_FOR_MALLOC freed 0K, 40% free 4427K/7367K, external 194K/512K, paused 42ms 03-05 15:00:19.151: D/dalvikvm(8645): GC_FOR_MALLOC freed 63K, 41% free 4419K/7367K, external 194K/512K, paused 40ms 03-05 15:00:19.161: W/ActivityManager(123): Activity destroy timeout for HistoryRecord{40a31a20 com.map/org.appcelerator.titanium.TiActivity} 03-05 15:00:19.231: D/dalvikvm(8645): GC_FOR_MALLOC freed 76K, 41% free 4407K/7367K, external 194K/512K, paused 43ms 03-05 15:00:19.231: I/dalvikvm-heap(8645): Grow heap (frag case) to 7.002MB for 250684-byte allocation 03-05 15:00:19.281: D/dalvikvm(8645): GC_FOR_MALLOC freed <1K, 39% free 4651K/7623K, external 194K/512K, paused 39ms 03-05 15:00:19.452: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 265K, 41% free 4539K/7687K, external 194K/512K, paused 60ms 03-05 15:00:19.772: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 60K, 40% free 4633K/7687K, external 1444K/1729K, paused 59ms 03-05 15:00:20.192: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 129K, 39% free 4735K/7687K, external 1704K/1762K, paused 63ms 03-05 15:00:20.433: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 86K, 39% free 4732K/7687K, external 422K/835K, paused 66ms 03-05 15:00:20.873: D/dalvikvm(8645): GC_EXTERNAL_ALLOC freed 351K, 41% free 4582K/7687K, external 1543K/1734K, paused 61ms 03-05 15:00:21.203: D/dalvikvm(7630): GC_EXPLICIT freed 24K, 47% free 2905K/5379K, external 0K/0K, paused 401ms 03-05 15:00:21.804: D/dalvikvm(8645): GC_CONCURRENT freed 453K, 38% free 4839K/7687K, external 1255K/1731K, paused 4ms+4ms 03-05 15:00:22.745: D/skia(730): purging 178K from font cache [22 entries] 03-05 15:00:22.835: D/dalvikvm(730): GC_EXPLICIT freed 12K, 40% free 4709K/7751K, external 18347K/20395K, paused 91ms 03-05 15:00:23.125: D/AndroidRuntime(8645): Shutting down VM 03-05 15:00:23.125: W/dalvikvm(8645): threadid=1: thread exiting with uncaught exception (group=0x4001d5a0) 03-05 15:00:23.155: E/TiApplication(8645): (main) [8003,9001] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 2.1.3.MapsModule,2013/03/04 08:32,15997d0 03-05 15:00:23.155: E/TiApplication(8645): java.lang.NullPointerException 03-05 15:00:23.155: E/TiApplication(8645): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369) 03-05 15:00:23.155: E/TiApplication(8645): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at android.os.Binder.transact(Binder.java:279) 03-05 15:00:23.155: E/TiApplication(8645): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-05 15:00:23.155: E/TiApplication(8645): at maps.z.by.a(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.ba.a(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.d.c(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.bj.a(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.v.c(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at maps.d.j.handleMessage(Unknown Source) 03-05 15:00:23.155: E/TiApplication(8645): at android.os.Handler.dispatchMessage(Handler.java:99) 03-05 15:00:23.155: E/TiApplication(8645): at android.os.Looper.loop(Looper.java:150) 03-05 15:00:23.155: E/TiApplication(8645): at android.app.ActivityThread.main(ActivityThread.java:4263) 03-05 15:00:23.155: E/TiApplication(8645): at java.lang.reflect.Method.invokeNative(Native Method) 03-05 15:00:23.155: E/TiApplication(8645): at java.lang.reflect.Method.invoke(Method.java:507) 03-05 15:00:23.155: E/TiApplication(8645): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 03-05 15:00:23.155: E/TiApplication(8645): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-05 15:00:23.155: E/TiApplication(8645): at dalvik.system.NativeStart.main(Native Method) 03-05 15:00:23.165: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, flag = 6, file size = 11264 03-05 15:00:23.165: D/Database(8645): dbopen(): path = /data/data/com.map/databases/tianalytics.db, mode: delete, disk free size: 127 M, handle: 0x4e23e0 03-05 15:00:23.185: D/Database(8645): dbclose(): path = /data/data/com.map/databases/tianalytics.db, handle = 0x4e23e0 03-05 15:00:23.185: E/AndroidRuntime(8645): FATAL EXCEPTION: main 03-05 15:00:23.185: E/AndroidRuntime(8645): java.lang.NullPointerException 03-05 15:00:23.185: E/AndroidRuntime(8645): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.os.Binder.transact(Binder.java:279) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.z.by.a(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.ba.a(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.d.c(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.bj.a(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.v.c(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at maps.d.j.handleMessage(Unknown Source) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.os.Handler.dispatchMessage(Handler.java:99) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.os.Looper.loop(Looper.java:150) 03-05 15:00:23.185: E/AndroidRuntime(8645): at android.app.ActivityThread.main(ActivityThread.java:4263) 03-05 15:00:23.185: E/AndroidRuntime(8645): at java.lang.reflect.Method.invokeNative(Native Method) 03-05 15:00:23.185: E/AndroidRuntime(8645): at java.lang.reflect.Method.invoke(Method.java:507) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 03-05 15:00:23.185: E/AndroidRuntime(8645): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 03-05 15:00:23.185: E/AndroidRuntime(8645): at dalvik.system.NativeStart.main(Native Method) 03-05 15:00:23.195: W/ActivityManager(123): Force finishing activity com.map/org.appcelerator.titanium.TiActivity 03-05 15:00:23.706: W/ActivityManager(123): Activity pause timeout fo {code} h6.Steps to reproduce Sample project attached, Resources/ui/common/FirstView.js code require the Map Module. Annotations images are attached as well. h6.Additional details Public link 2.1.3.MapsModule patched 2.1.3.GA SDK for use: http://dl.dropbox.com/u/34061091/mobilesdk-2.1.3.MapsModule-osx.zip

    Appcelerator JIRA | 4 years ago | Eduardo Gomez
    java.lang.NullPointerException
  3. 0

    h6.Issue addAnnotations method forces app to close. h6.Steps to reproduce 1. load app - app opens and run Maps as expected 2. click on any annotation - offending code under Resources/ui/common/FirstView.js 3. Monitor logs - from there h6.console logs {code} 03-26 13:16:51.689: I/ActivityManager(499): Start proc com.map for activity com.map/.MaptestActivity: pid=11910 uid=10150 gids={1015, 3003} 03-26 13:16:51.744: I/TiApplication(11910): (main) [0,0] checkpoint, app created. 03-26 13:16:51.775: I/TiApplication(11910): (main) [34,34] Titanium 2.1.3.MapsModule (2013/03/04 08:32 15997d0) 03-26 13:16:51.853: I/TiApplication(11910): (main) [82,116] Titanium Javascript runtime: v8 03-26 13:16:51.861: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libstlport_shared.so 0x4051b880 03-26 13:16:51.861: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libstlport_shared.so 0x4051b880 03-26 13:16:51.861: D/dalvikvm(11910): No JNI_OnLoad found in /data/data/com.map/lib/libstlport_shared.so 0x4051b880, skipping init 03-26 13:16:51.861: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libkroll-v8.so 0x4051b880 03-26 13:16:51.869: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libkroll-v8.so 0x4051b880 03-26 13:16:51.924: I/TiRootActivity(11910): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 03-26 13:16:52.127: E/TiApplication(11910): (KrollRuntimeThread) [204,204] APP PROXY: ti.modules.titanium.app.AppModule@405baf10 03-26 13:16:52.150: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libti.map.so 0x4051b880 03-26 13:16:52.150: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libti.map.so 0x4051b880 03-26 13:16:52.150: D/dalvikvm(11910): No JNI_OnLoad found in /data/data/com.map/lib/libti.map.so 0x4051b880, skipping init 03-26 13:16:52.181: D/Module(11910): Loading module: ui/tablet/ApplicationWindow -> Resources/ui/tablet/ApplicationWindow.js 03-26 13:16:52.189: D/Module(11910): Loading module: ui/common/FirstView -> Resources/ui/common/FirstView.js 03-26 13:16:52.220: W/ProcessStats(499): Skipping unknown process pid 11954 03-26 13:16:52.260: I/dalvikvm(11910): Could not find method org.appcelerator.titanium.TiBlob.getImage, referenced from method ti.map.AnnotationProxy.handleCustomView 03-26 13:16:52.260: W/dalvikvm(11910): VFY: unable to resolve virtual method 5930: Lorg/appcelerator/titanium/TiBlob;.getImage ()Landroid/graphics/Bitmap; 03-26 13:16:52.260: D/dalvikvm(11910): VFY: replacing opcode 0x6e at 0x0017 03-26 13:16:52.260: D/dalvikvm(11910): VFY: dead code 0x001a-0025 in Lti/map/AnnotationProxy;.handleCustomView (Ljava/lang/Object;)V 03-26 13:16:52.260: D/dalvikvm(11910): VFY: dead code 0x0027-003f in Lti/map/AnnotationProxy;.handleCustomView (Ljava/lang/Object;)V 03-26 13:16:52.314: I/dalvikvm(11910): Could not find method org.appcelerator.kroll.common.Log.d, referenced from method ti.map.TiUIMapView.onMarkerDrag 03-26 13:16:52.314: W/dalvikvm(11910): VFY: unable to resolve static method 5483: Lorg/appcelerator/kroll/common/Log;.d (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I 03-26 13:16:52.314: D/dalvikvm(11910): VFY: replacing opcode 0x71 at 0x0006 03-26 13:16:52.322: D/dalvikvm(11910): VFY: dead code 0x0009-0009 in Lti/map/TiUIMapView;.onMarkerDrag (Lcom/google/android/gms/maps/model/Marker;)V 03-26 13:16:52.322: I/dalvikvm(11910): Could not find method org.appcelerator.titanium.util.TiConvert.toBoolean, referenced from method ti.map.TiUIMapView.processMapProperties 03-26 13:16:52.322: W/dalvikvm(11910): VFY: unable to resolve static method 6734: Lorg/appcelerator/titanium/util/TiConvert;.toBoolean (Ljava/util/HashMap;Ljava/lang/String;Z)Z 03-26 13:16:52.322: D/dalvikvm(11910): VFY: replacing opcode 0x71 at 0x0079 03-26 13:16:52.322: D/dalvikvm(11910): VFY: dead code 0x007c-007f in Lti/map/TiUIMapView;.processMapProperties (Lorg/appcelerator/kroll/KrollDict;)V 03-26 13:16:52.322: I/dalvikvm(11910): Could not find method org.appcelerator.titanium.util.TiConvert.toBoolean, referenced from method ti.map.TiUIMapView.propertyChanged 03-26 13:16:52.322: W/dalvikvm(11910): VFY: unable to resolve static method 6732: Lorg/appcelerator/titanium/util/TiConvert;.toBoolean (Ljava/lang/Object;Z)Z 03-26 13:16:52.322: D/dalvikvm(11910): VFY: replacing opcode 0x71 at 0x0066 03-26 13:16:52.322: D/dalvikvm(11910): VFY: dead code 0x0069-006d in Lti/map/TiUIMapView;.propertyChanged (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lorg/appcelerator/kroll/KrollProxy;)V 03-26 13:16:52.369: D/dalvikvm(11910): GC_EXTERNAL_ALLOC freed 603K, 46% free 3343K/6087K, external 2357K/2773K, paused 31ms 03-26 13:16:52.424: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libtiverify.so 0x4051b880 03-26 13:16:52.424: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libtiverify.so 0x4051b880 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 549 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0041 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 545 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x004c 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 553 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0057 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0043-004a in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x004e-0056 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0059-0061 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 546 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0009 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 543 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0010 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 551 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0017 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x000b-000f in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0012-0016 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0019-001d in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 550 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0004 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0006-0065 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/Context;II)Ljava/lang/String; 03-26 13:16:52.431: D/dalvikvm(11910): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve instance field 30 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x52 at 0x0012 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0224 at 0x18 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0223 at 0x38 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0220 at 0x3f in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0228 at 0x46 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.478: W/dalvikvm(11910): Unable to resolve superclass of Lmaps/p/s; (427) 03-26 13:16:52.478: W/dalvikvm(11910): Link of class 'Lmaps/p/s;' failed 03-26 13:16:52.478: W/dalvikvm(11910): Unable to resolve superclass of Lmaps/y/bo; (3820) 03-26 13:16:52.478: W/dalvikvm(11910): Link of class 'Lmaps/y/bo;' failed 03-26 13:16:52.478: W/dalvikvm(11910): Unable to resolve superclass of Lmaps/i/k; (4208) 03-26 13:16:52.478: W/dalvikvm(11910): Link of class 'Lmaps/i/k;' failed 03-26 13:16:52.478: E/dalvikvm(11910): Could not find class 'maps.i.k', referenced from method maps.z.ag.a 03-26 13:16:52.478: W/dalvikvm(11910): VFY: unable to resolve new-instance 3540 (Lmaps/i/k;) in Lmaps/z/ag; 03-26 13:16:52.478: D/dalvikvm(11910): VFY: replacing opcode 0x22 at 0x006d 03-26 13:16:52.486: D/dalvikvm(11910): VFY: dead code 0x006f-007f in Lmaps/z/ag;.a (Landroid/view/LayoutInflater;Lcom/google/android/gms/maps/GoogleMapOptions;ZLjava/lang/String;)Lmaps/z/ag; 03-26 13:16:52.588: I/TiRootActivity(11910): (main) [0,0] checkpoint, on root activity resume. activity = com.map.MaptestActivity@405a2128 03-26 13:16:52.650: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:52.713: D/dalvikvm(11910): GC_CONCURRENT freed 965K, 44% free 4079K/7175K, external 5955K/6705K, paused 2ms+3ms 03-26 13:16:52.744: D/libEGL(11910): loaded /system/lib/egl/libGLES_android.so 03-26 13:16:52.744: D/libEGL(11910): loaded /system/lib/egl/libEGL_POWERVR_SGX540_120.so 03-26 13:16:52.744: D/libEGL(11910): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so 03-26 13:16:52.752: I/ActivityManager(499): Displayed com.map/.MaptestActivity: +1s60ms 03-26 13:16:52.760: D/libEGL(11910): loaded /system/lib/egl/libGLESv2_POWERVR_SGX540_120.so 03-26 13:16:52.760: W/InputManagerService(499): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@409415c8 (uid=10035 pid=861) 03-26 13:16:52.799: W/SocketListener(260): Num of active clients:1 03-26 13:16:52.814: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:52.869: W/dalvikvm(11910): VFY: unable to resolve static field 554 (MapAttrs) in Lcom/google/android/gms/R$styleable; 03-26 13:16:52.869: D/dalvikvm(11910): VFY: replacing opcode 0x62 at 0x000d 03-26 13:16:52.869: D/dalvikvm(11910): VFY: dead code 0x000f-0066 in Lcom/google/android/gms/maps/model/CameraPosition;.createFromAttributes (Landroid/content/Context;Landroid/util/AttributeSet;)Lcom/google/android/gms/maps/model/CameraPosition; 03-26 13:16:52.877: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:52.908: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:53.150: W/SocketListener(260): Num of active clients:1 03-26 13:16:54.150: D/dalvikvm(11910): GC_FOR_MALLOC freed 1336K, 44% free 4578K/8071K, external 6468K/6705K, paused 47ms 03-26 13:16:55.252: D/dalvikvm(11910): GC_FOR_MALLOC freed 991K, 44% free 4956K/8775K, external 6150K/6705K, paused 30ms 03-26 13:16:55.314: D/dalvikvm(11910): GC_EXTERNAL_ALLOC freed 12K, 43% free 5010K/8775K, external 6150K/6705K, paused 33ms 03-26 13:16:55.353: W/SocketListener(260): Num of active clients:1 03-26 13:16:55.572: W/SocketListener(260): Num of active clients:1 03-26 13:16:57.502: D/AndroidRuntime(11910): Shutting down VM 03-26 13:16:57.502: W/dalvikvm(11910): threadid=1: thread exiting with uncaught exception (group=0x4001e560) 03-26 13:16:57.510: E/TiApplication(11910): (main) [4912,4912] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 2.1.3.MapsModule,2013/03/04 08:32,15997d0 03-26 13:16:57.510: E/TiApplication(11910): java.lang.NullPointerException 03-26 13:16:57.510: E/TiApplication(11910): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:411) 03-26 13:16:57.510: E/TiApplication(11910): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at android.os.Binder.transact(Binder.java:295) 03-26 13:16:57.510: E/TiApplication(11910): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-26 13:16:57.510: E/TiApplication(11910): at maps.z.by.a(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.ba.a(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.d.c(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.bj.a(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.v.c(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.d.j.handleMessage(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at android.os.Handler.dispatchMessage(Handler.java:99) 03-26 13:16:57.510: E/TiApplication(11910): at android.os.Looper.loop(Looper.java:130) 03-26 13:16:57.510: E/TiApplication(11910): at android.app.ActivityThread.main(ActivityThread.java:3859) 03-26 13:16:57.510: E/TiApplication(11910): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 13:16:57.510: E/TiApplication(11910): at java.lang.reflect.Method.invoke(Method.java:507) 03-26 13:16:57.510: E/TiApplication(11910): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:840) 03-26 13:16:57.510: E/TiApplication(11910): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598) 03-26 13:16:57.510: E/TiApplication(11910): at dalvik.system.NativeStart.main(Native Method) 03-26 13:16:57.572: E/AndroidRuntime(11910): FATAL EXCEPTION: main 03-26 13:16:57.572: E/AndroidRuntime(11910): java.lang.NullPointerException 03-26 13:16:57.572: E/AndroidRuntime(11910): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:411) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.os.Binder.transact(Binder.java:295) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.z.by.a(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.ba.a(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.d.c(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.bj.a(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.v.c(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.d.j.handleMessage(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.os.Handler.dispatchMessage(Handler.java:99) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.os.Looper.loop(Looper.java:130) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.app.ActivityThread.main(ActivityThread.java:3859) 03-26 13:16:57.572: E/AndroidRuntime(11910): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 13:16:57.572: E/AndroidRuntime(11910): at java.lang.reflect.Method.invoke(Method.java:507) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:840) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598) 03-26 13:16:57.572: E/AndroidRuntime(11910): at dalvik.system.NativeStart.main(Native Method) 03-26 13:16:57.580: W/ActivityManager(499): Force finishing activity com.map/.MaptestActivity 03-26 13:16:57.713: D/dalvikvm(499): GC_EXTERNAL_ALLOC freed 221K, 35% free 9552K/14535K, external 9368K/9368K, paused 114ms 03-26 13:16:57.744: W/ApplicationContext(499): Unable to create files directory 03-26 13:16:57.759: I/gralloc(499): Allocated 0x64657375 size 1818322493 03-26 13:16:58.088: W/ActivityManager(499): Activity pause timeout for HistoryRecord{40702598 com.map/.MaptestActivity} 03-26 13:16:58.103: D/ActivitityRenderTarget(861): onResume 03-26 13:16:58.127: W/IMGSRV(861): eglglue.c:778: InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER {code} h6.Additional details Patched 2.1.3.GA SDK for use: http://dl.dropbox.com/u/34061091/mobilesdk-2.1.3.MapsModule-osx.zip h6.Further info Map Module does not force the app to close as long as all the annotations have been added during Map creation i.e. "var map = MapModule.createView({ annotations : [anno1, anno2, anno3],"

    Appcelerator JIRA | 4 years ago | Eduardo Gomez
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h6.Issue addAnnotations method forces app to close. h6.Steps to reproduce 1. load app - app opens and run Maps as expected 2. click on any annotation - offending code under Resources/ui/common/FirstView.js 3. Monitor logs - from there h6.console logs {code} 03-26 13:16:51.689: I/ActivityManager(499): Start proc com.map for activity com.map/.MaptestActivity: pid=11910 uid=10150 gids={1015, 3003} 03-26 13:16:51.744: I/TiApplication(11910): (main) [0,0] checkpoint, app created. 03-26 13:16:51.775: I/TiApplication(11910): (main) [34,34] Titanium 2.1.3.MapsModule (2013/03/04 08:32 15997d0) 03-26 13:16:51.853: I/TiApplication(11910): (main) [82,116] Titanium Javascript runtime: v8 03-26 13:16:51.861: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libstlport_shared.so 0x4051b880 03-26 13:16:51.861: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libstlport_shared.so 0x4051b880 03-26 13:16:51.861: D/dalvikvm(11910): No JNI_OnLoad found in /data/data/com.map/lib/libstlport_shared.so 0x4051b880, skipping init 03-26 13:16:51.861: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libkroll-v8.so 0x4051b880 03-26 13:16:51.869: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libkroll-v8.so 0x4051b880 03-26 13:16:51.924: I/TiRootActivity(11910): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 03-26 13:16:52.127: E/TiApplication(11910): (KrollRuntimeThread) [204,204] APP PROXY: ti.modules.titanium.app.AppModule@405baf10 03-26 13:16:52.150: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libti.map.so 0x4051b880 03-26 13:16:52.150: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libti.map.so 0x4051b880 03-26 13:16:52.150: D/dalvikvm(11910): No JNI_OnLoad found in /data/data/com.map/lib/libti.map.so 0x4051b880, skipping init 03-26 13:16:52.181: D/Module(11910): Loading module: ui/tablet/ApplicationWindow -> Resources/ui/tablet/ApplicationWindow.js 03-26 13:16:52.189: D/Module(11910): Loading module: ui/common/FirstView -> Resources/ui/common/FirstView.js 03-26 13:16:52.220: W/ProcessStats(499): Skipping unknown process pid 11954 03-26 13:16:52.260: I/dalvikvm(11910): Could not find method org.appcelerator.titanium.TiBlob.getImage, referenced from method ti.map.AnnotationProxy.handleCustomView 03-26 13:16:52.260: W/dalvikvm(11910): VFY: unable to resolve virtual method 5930: Lorg/appcelerator/titanium/TiBlob;.getImage ()Landroid/graphics/Bitmap; 03-26 13:16:52.260: D/dalvikvm(11910): VFY: replacing opcode 0x6e at 0x0017 03-26 13:16:52.260: D/dalvikvm(11910): VFY: dead code 0x001a-0025 in Lti/map/AnnotationProxy;.handleCustomView (Ljava/lang/Object;)V 03-26 13:16:52.260: D/dalvikvm(11910): VFY: dead code 0x0027-003f in Lti/map/AnnotationProxy;.handleCustomView (Ljava/lang/Object;)V 03-26 13:16:52.314: I/dalvikvm(11910): Could not find method org.appcelerator.kroll.common.Log.d, referenced from method ti.map.TiUIMapView.onMarkerDrag 03-26 13:16:52.314: W/dalvikvm(11910): VFY: unable to resolve static method 5483: Lorg/appcelerator/kroll/common/Log;.d (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I 03-26 13:16:52.314: D/dalvikvm(11910): VFY: replacing opcode 0x71 at 0x0006 03-26 13:16:52.322: D/dalvikvm(11910): VFY: dead code 0x0009-0009 in Lti/map/TiUIMapView;.onMarkerDrag (Lcom/google/android/gms/maps/model/Marker;)V 03-26 13:16:52.322: I/dalvikvm(11910): Could not find method org.appcelerator.titanium.util.TiConvert.toBoolean, referenced from method ti.map.TiUIMapView.processMapProperties 03-26 13:16:52.322: W/dalvikvm(11910): VFY: unable to resolve static method 6734: Lorg/appcelerator/titanium/util/TiConvert;.toBoolean (Ljava/util/HashMap;Ljava/lang/String;Z)Z 03-26 13:16:52.322: D/dalvikvm(11910): VFY: replacing opcode 0x71 at 0x0079 03-26 13:16:52.322: D/dalvikvm(11910): VFY: dead code 0x007c-007f in Lti/map/TiUIMapView;.processMapProperties (Lorg/appcelerator/kroll/KrollDict;)V 03-26 13:16:52.322: I/dalvikvm(11910): Could not find method org.appcelerator.titanium.util.TiConvert.toBoolean, referenced from method ti.map.TiUIMapView.propertyChanged 03-26 13:16:52.322: W/dalvikvm(11910): VFY: unable to resolve static method 6732: Lorg/appcelerator/titanium/util/TiConvert;.toBoolean (Ljava/lang/Object;Z)Z 03-26 13:16:52.322: D/dalvikvm(11910): VFY: replacing opcode 0x71 at 0x0066 03-26 13:16:52.322: D/dalvikvm(11910): VFY: dead code 0x0069-006d in Lti/map/TiUIMapView;.propertyChanged (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lorg/appcelerator/kroll/KrollProxy;)V 03-26 13:16:52.369: D/dalvikvm(11910): GC_EXTERNAL_ALLOC freed 603K, 46% free 3343K/6087K, external 2357K/2773K, paused 31ms 03-26 13:16:52.424: D/dalvikvm(11910): Trying to load lib /data/data/com.map/lib/libtiverify.so 0x4051b880 03-26 13:16:52.424: D/dalvikvm(11910): Added shared lib /data/data/com.map/lib/libtiverify.so 0x4051b880 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 549 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0041 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 545 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x004c 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 553 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0057 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0043-004a in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x004e-0056 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0059-0061 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (ILandroid/app/Activity;ILandroid/content/DialogInterface$OnCancelListener;I)Landroid/app/Dialog; 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 546 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0009 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 543 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0010 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 551 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0017 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x000b-000f in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0012-0016 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0019-001d in Lcom/google/android/gms/common/GooglePlayServicesUtil;.a (Landroid/content/Context;I)Ljava/lang/String; 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve static field 550 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x60 at 0x0004 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0006-0065 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/Context;II)Ljava/lang/String; 03-26 13:16:52.431: D/dalvikvm(11910): DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp 03-26 13:16:52.431: W/dalvikvm(11910): VFY: unable to resolve instance field 30 03-26 13:16:52.431: D/dalvikvm(11910): VFY: replacing opcode 0x52 at 0x0012 03-26 13:16:52.431: D/dalvikvm(11910): VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0224 at 0x18 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0223 at 0x38 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0220 at 0x3f in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.431: I/dalvikvm(11910): DexOpt: unable to optimize static field ref 0x0228 at 0x46 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 03-26 13:16:52.478: W/dalvikvm(11910): Unable to resolve superclass of Lmaps/p/s; (427) 03-26 13:16:52.478: W/dalvikvm(11910): Link of class 'Lmaps/p/s;' failed 03-26 13:16:52.478: W/dalvikvm(11910): Unable to resolve superclass of Lmaps/y/bo; (3820) 03-26 13:16:52.478: W/dalvikvm(11910): Link of class 'Lmaps/y/bo;' failed 03-26 13:16:52.478: W/dalvikvm(11910): Unable to resolve superclass of Lmaps/i/k; (4208) 03-26 13:16:52.478: W/dalvikvm(11910): Link of class 'Lmaps/i/k;' failed 03-26 13:16:52.478: E/dalvikvm(11910): Could not find class 'maps.i.k', referenced from method maps.z.ag.a 03-26 13:16:52.478: W/dalvikvm(11910): VFY: unable to resolve new-instance 3540 (Lmaps/i/k;) in Lmaps/z/ag; 03-26 13:16:52.478: D/dalvikvm(11910): VFY: replacing opcode 0x22 at 0x006d 03-26 13:16:52.486: D/dalvikvm(11910): VFY: dead code 0x006f-007f in Lmaps/z/ag;.a (Landroid/view/LayoutInflater;Lcom/google/android/gms/maps/GoogleMapOptions;ZLjava/lang/String;)Lmaps/z/ag; 03-26 13:16:52.588: I/TiRootActivity(11910): (main) [0,0] checkpoint, on root activity resume. activity = com.map.MaptestActivity@405a2128 03-26 13:16:52.650: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:52.713: D/dalvikvm(11910): GC_CONCURRENT freed 965K, 44% free 4079K/7175K, external 5955K/6705K, paused 2ms+3ms 03-26 13:16:52.744: D/libEGL(11910): loaded /system/lib/egl/libGLES_android.so 03-26 13:16:52.744: D/libEGL(11910): loaded /system/lib/egl/libEGL_POWERVR_SGX540_120.so 03-26 13:16:52.744: D/libEGL(11910): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so 03-26 13:16:52.752: I/ActivityManager(499): Displayed com.map/.MaptestActivity: +1s60ms 03-26 13:16:52.760: D/libEGL(11910): loaded /system/lib/egl/libGLESv2_POWERVR_SGX540_120.so 03-26 13:16:52.760: W/InputManagerService(499): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@409415c8 (uid=10035 pid=861) 03-26 13:16:52.799: W/SocketListener(260): Num of active clients:1 03-26 13:16:52.814: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:52.869: W/dalvikvm(11910): VFY: unable to resolve static field 554 (MapAttrs) in Lcom/google/android/gms/R$styleable; 03-26 13:16:52.869: D/dalvikvm(11910): VFY: replacing opcode 0x62 at 0x000d 03-26 13:16:52.869: D/dalvikvm(11910): VFY: dead code 0x000f-0066 in Lcom/google/android/gms/maps/model/CameraPosition;.createFromAttributes (Landroid/content/Context;Landroid/util/AttributeSet;)Lcom/google/android/gms/maps/model/CameraPosition; 03-26 13:16:52.877: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:52.908: I/gralloc(499): Allocated 0x660072 size 6488161 03-26 13:16:53.150: W/SocketListener(260): Num of active clients:1 03-26 13:16:54.150: D/dalvikvm(11910): GC_FOR_MALLOC freed 1336K, 44% free 4578K/8071K, external 6468K/6705K, paused 47ms 03-26 13:16:55.252: D/dalvikvm(11910): GC_FOR_MALLOC freed 991K, 44% free 4956K/8775K, external 6150K/6705K, paused 30ms 03-26 13:16:55.314: D/dalvikvm(11910): GC_EXTERNAL_ALLOC freed 12K, 43% free 5010K/8775K, external 6150K/6705K, paused 33ms 03-26 13:16:55.353: W/SocketListener(260): Num of active clients:1 03-26 13:16:55.572: W/SocketListener(260): Num of active clients:1 03-26 13:16:57.502: D/AndroidRuntime(11910): Shutting down VM 03-26 13:16:57.502: W/dalvikvm(11910): threadid=1: thread exiting with uncaught exception (group=0x4001e560) 03-26 13:16:57.510: E/TiApplication(11910): (main) [4912,4912] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 2.1.3.MapsModule,2013/03/04 08:32,15997d0 03-26 13:16:57.510: E/TiApplication(11910): java.lang.NullPointerException 03-26 13:16:57.510: E/TiApplication(11910): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:411) 03-26 13:16:57.510: E/TiApplication(11910): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at android.os.Binder.transact(Binder.java:295) 03-26 13:16:57.510: E/TiApplication(11910): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-26 13:16:57.510: E/TiApplication(11910): at maps.z.by.a(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.ba.a(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.d.c(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.bj.a(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.v.c(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at maps.d.j.handleMessage(Unknown Source) 03-26 13:16:57.510: E/TiApplication(11910): at android.os.Handler.dispatchMessage(Handler.java:99) 03-26 13:16:57.510: E/TiApplication(11910): at android.os.Looper.loop(Looper.java:130) 03-26 13:16:57.510: E/TiApplication(11910): at android.app.ActivityThread.main(ActivityThread.java:3859) 03-26 13:16:57.510: E/TiApplication(11910): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 13:16:57.510: E/TiApplication(11910): at java.lang.reflect.Method.invoke(Method.java:507) 03-26 13:16:57.510: E/TiApplication(11910): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:840) 03-26 13:16:57.510: E/TiApplication(11910): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598) 03-26 13:16:57.510: E/TiApplication(11910): at dalvik.system.NativeStart.main(Native Method) 03-26 13:16:57.572: E/AndroidRuntime(11910): FATAL EXCEPTION: main 03-26 13:16:57.572: E/AndroidRuntime(11910): java.lang.NullPointerException 03-26 13:16:57.572: E/AndroidRuntime(11910): at ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:411) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.google.android.gms.maps.GoogleMap$4.f(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.google.android.gms.internal.an$a.onTransact(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.os.Binder.transact(Binder.java:295) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.z.by.a(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.ba.a(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.d.c(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.bj.a(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.v.c(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.y.bf.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.d.v.onSingleTapConfirmed(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at maps.d.j.handleMessage(Unknown Source) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.os.Handler.dispatchMessage(Handler.java:99) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.os.Looper.loop(Looper.java:130) 03-26 13:16:57.572: E/AndroidRuntime(11910): at android.app.ActivityThread.main(ActivityThread.java:3859) 03-26 13:16:57.572: E/AndroidRuntime(11910): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 13:16:57.572: E/AndroidRuntime(11910): at java.lang.reflect.Method.invoke(Method.java:507) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:840) 03-26 13:16:57.572: E/AndroidRuntime(11910): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598) 03-26 13:16:57.572: E/AndroidRuntime(11910): at dalvik.system.NativeStart.main(Native Method) 03-26 13:16:57.580: W/ActivityManager(499): Force finishing activity com.map/.MaptestActivity 03-26 13:16:57.713: D/dalvikvm(499): GC_EXTERNAL_ALLOC freed 221K, 35% free 9552K/14535K, external 9368K/9368K, paused 114ms 03-26 13:16:57.744: W/ApplicationContext(499): Unable to create files directory 03-26 13:16:57.759: I/gralloc(499): Allocated 0x64657375 size 1818322493 03-26 13:16:58.088: W/ActivityManager(499): Activity pause timeout for HistoryRecord{40702598 com.map/.MaptestActivity} 03-26 13:16:58.103: D/ActivitityRenderTarget(861): onResume 03-26 13:16:58.127: W/IMGSRV(861): eglglue.c:778: InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER {code} h6.Additional details Patched 2.1.3.GA SDK for use: http://dl.dropbox.com/u/34061091/mobilesdk-2.1.3.MapsModule-osx.zip h6.Further info Map Module does not force the app to close as long as all the annotations have been added during Map creation i.e. "var map = MapModule.createView({ annotations : [anno1, anno2, anno3],"

    Appcelerator JIRA | 4 years ago | Eduardo Gomez
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at ti.map.TiUIMapView.onMarkerClick()
    2. ti.map
      TiUIMapView.onMarkerClick
      1. ti.map.TiUIMapView.onMarkerClick(TiUIMapView.java:369)
      1 frame
    3. com.google.android
      an$a.onTransact
      1. com.google.android.gms.maps.GoogleMap$4.f(Unknown Source)
      2. com.google.android.gms.internal.an$a.onTransact(Unknown Source)
      2 frames
    4. Android Platform
      Binder.transact
      1. android.os.Binder.transact(Binder.java:279)
      1 frame
    5. com.google.android
      IOnMarkerClickListener$Stub$Proxy.onMarkerClick
      1. com.google.android.gms.maps.internal.IOnMarkerClickListener$Stub$Proxy.onMarkerClick(IOnMarkerClickListener.java:84)
      1 frame
    6. maps.z
      by.a
      1. maps.z.by.a(Unknown Source)
      1 frame
    7. maps.y
      bf.onSingleTapConfirmed
      1. maps.y.ba.a(Unknown Source)
      2. maps.y.d.c(Unknown Source)
      3. maps.y.bj.a(Unknown Source)
      4. maps.y.v.c(Unknown Source)
      5. maps.y.bf.onSingleTapConfirmed(Unknown Source)
      5 frames
    8. maps.d
      j.handleMessage
      1. maps.d.v.onSingleTapConfirmed(Unknown Source)
      2. maps.d.j.handleMessage(Unknown Source)
      2 frames
    9. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:99)
      2. android.os.Looper.loop(Looper.java:150)
      3. android.app.ActivityThread.main(ActivityThread.java:4263)
      3 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame