Skip to content

Instantly share code, notes, and snippets.

@pjcollins
Created May 21, 2013 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjcollins/65dbb8ebeeaa85eb64f4 to your computer and use it in GitHub Desktop.
Save pjcollins/65dbb8ebeeaa85eb64f4 to your computer and use it in GitHub Desktop.
NRE when attempting to launch Action Bar Display Options in APIDemo (Target API14)
--------- beginning of /dev/log/main
05-21 18:47:43.854 467 558 D wifi : doString: SIGNAL_POLL
05-21 18:47:44.323 587 587 V PhoneStatusBar: setLightsOn(true)
05-21 18:47:44.386 679 841 D Swype : showNavigationBar()
05-21 18:47:44.386 467 527 I ActivityManager: Displayed mono.samples.apidemo/monodroid.apidemo.ApiDemo: +2s49ms
05-21 18:47:45.597 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:46.597 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:46.847 679 841 D Swype : showNavigationBar()
05-21 18:47:46.862 467 558 D wifi : doString: SIGNAL_POLL
--------- beginning of /dev/log/system
05-21 18:47:47.058 467 480 I ActivityManager: No longer want com.android.providers.calendar (pid 29882): hidden #21
05-21 18:47:48.604 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:49.604 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:49.862 467 558 D wifi : doString: SIGNAL_POLL
05-21 18:47:51.081 467 583 D BackupManagerService: Now staging backup of android
05-21 18:47:52.620 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:52.870 467 558 D wifi : doString: SIGNAL_POLL
05-21 18:47:53.190 467 526 V AlarmManager: sending alarm Alarm{42124108 type 2 com.motorola.blur.service.blur}
05-21 18:47:53.198 467 785 D CheckinProvider: insertEvents Process tag not allowed: PollingManager
05-21 18:47:53.198 703 703 I PollingManager: alarm fired!
05-21 18:47:53.198 467 776 D CheckinProvider: insertEvents Process tag not allowed: PollingManager
05-21 18:47:53.198 703 703 I PollingManager: now: 278079445 ,futureTime: 280782629
05-21 18:47:53.198 703 703 D PollingManager: wake lock acquired
05-21 18:47:53.198 703 703 D PollingManager: decideWhoNeedsPolling(): polling PushService
05-21 18:47:53.198 467 1689 D CheckinProvider: insertEvents Process tag not allowed: PollingManager
05-21 18:47:53.198 703 703 I PollingManager: Polling alarm set to expire at: 280782629
05-21 18:47:53.206 467 2918 D CheckinProvider: insertEvents Process tag not allowed: PacketWriter
05-21 18:47:53.206 703 27794 I PacketWriter: Wrote out 1 bytes of data.
05-21 18:47:53.206 703 703 D DevicePushListener: Finished sending keep alive
05-21 18:47:53.206 703 703 D PollingManager: modifyApp(): PushService
05-21 18:47:53.206 703 703 D PollingManager: calculateShortestInterval(): shortest interval is 540000
05-21 18:47:53.206 467 478 D CheckinProvider: insertEvents Process tag not allowed: PollingManager
05-21 18:47:53.206 703 703 I PollingManager: Polling alarm set to expire at: 278619455
05-21 18:47:53.214 703 703 D PollingManager: wake lock released
05-21 18:47:53.237 2007 2007 D AndroidRuntime:
05-21 18:47:53.237 2007 2007 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-21 18:47:53.237 2007 2007 D AndroidRuntime: CheckJNI is OFF
05-21 18:47:53.245 2007 2007 D dalvikvm: Trying to load lib libjavacore.so 0x0
05-21 18:47:53.245 2007 2007 D dalvikvm: Added shared lib libjavacore.so 0x0
05-21 18:47:53.253 2007 2007 D dalvikvm: Trying to load lib libnativehelper.so 0x0
05-21 18:47:53.253 2007 2007 D dalvikvm: Added shared lib libnativehelper.so 0x0
05-21 18:47:53.573 2007 2007 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-21 18:47:53.620 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:53.644 2007 2007 D AndroidRuntime: Shutting down VM
05-21 18:47:53.651 2007 2011 D dalvikvm: GC_CONCURRENT freed 103K, 87% free 565K/4096K, paused 1ms+1ms, total 6ms
05-21 18:47:54.120 2023 2023 D AndroidRuntime:
05-21 18:47:54.120 2023 2023 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-21 18:47:54.120 2023 2023 D AndroidRuntime: CheckJNI is OFF
05-21 18:47:54.128 2023 2023 D dalvikvm: Trying to load lib libjavacore.so 0x0
05-21 18:47:54.136 2023 2023 D dalvikvm: Added shared lib libjavacore.so 0x0
05-21 18:47:54.144 2023 2023 D dalvikvm: Trying to load lib libnativehelper.so 0x0
05-21 18:47:54.144 2023 2023 D dalvikvm: Added shared lib libnativehelper.so 0x0
05-21 18:47:54.417 2023 2023 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-21 18:47:54.456 467 1365 I ActivityManager: Force stopping package mono.samples.apidemo uid=10009
05-21 18:47:54.456 467 1365 I ActivityManager: Killing proc 1954:mono.samples.apidemo/u0a9: force stop
05-21 18:47:54.472 2023 2023 D AndroidRuntime: Shutting down VM
05-21 18:47:54.472 2023 2033 I AndroidRuntime: NOTE: attach of thread 'Binder_3' failed
05-21 18:47:54.472 2023 2027 D dalvikvm: GC_CONCURRENT freed 96K, 87% free 534K/4096K, paused 0ms+1ms, total 5ms
05-21 18:47:54.620 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:54.847 2036 2036 D AndroidRuntime:
05-21 18:47:54.847 2036 2036 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-21 18:47:54.847 2036 2036 D AndroidRuntime: CheckJNI is OFF
05-21 18:47:54.862 2036 2036 D dalvikvm: Trying to load lib libjavacore.so 0x0
05-21 18:47:54.862 2036 2036 D dalvikvm: Added shared lib libjavacore.so 0x0
05-21 18:47:54.870 2036 2036 D dalvikvm: Trying to load lib libnativehelper.so 0x0
05-21 18:47:54.870 2036 2036 D dalvikvm: Added shared lib libnativehelper.so 0x0
05-21 18:47:55.175 2036 2036 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
05-21 18:47:55.198 2036 2036 D AndroidRuntime: Shutting down VM
05-21 18:47:55.206 2036 2040 D dalvikvm: GC_CONCURRENT freed 98K, 87% free 544K/4096K, paused 1ms+1ms, total 4ms
05-21 18:47:55.628 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:55.800 2065 2065 D AndroidRuntime:
05-21 18:47:55.800 2065 2065 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-21 18:47:55.800 2065 2065 D AndroidRuntime: CheckJNI is OFF
05-21 18:47:55.808 2065 2065 D dalvikvm: Trying to load lib libjavacore.so 0x0
05-21 18:47:55.815 2065 2065 D dalvikvm: Added shared lib libjavacore.so 0x0
05-21 18:47:55.815 2065 2065 D dalvikvm: Trying to load lib libnativehelper.so 0x0
05-21 18:47:55.815 2065 2065 D dalvikvm: Added shared lib libnativehelper.so 0x0
05-21 18:47:55.870 467 558 D wifi : doString: SIGNAL_POLL
05-21 18:47:56.112 2065 2065 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-21 18:47:56.167 467 1690 I ActivityManager: START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=mono.samples.apidemo/monodroid.apidemo.ApiDemo u=0} from pid 2065
05-21 18:47:56.229 2075 2075 D dalvikvm: Late-enabling CheckJNI
05-21 18:47:56.229 2065 2065 D AndroidRuntime: Shutting down VM
05-21 18:47:56.237 2065 2069 D dalvikvm: GC_CONCURRENT freed 99K, 87% free 562K/4096K, paused 1ms+1ms, total 6ms
05-21 18:47:56.253 2075 2075 I dalvikvm: Turning on JNI app bug workarounds for target SDK version 4...
05-21 18:47:56.253 467 478 I ActivityManager: Start proc mono.samples.apidemo for activity mono.samples.apidemo/monodroid.apidemo.ApiDemo: pid=2075 uid=10009 gids={1006, 3003, 1028}
05-21 18:47:56.292 2075 2075 E Trace : error opening trace file: No such file or directory (2)
05-21 18:47:56.308 2075 2075 I ActivityThread: Pub mono.samples.apidemo.mono.MonoRuntimeProvider.__mono_init__: mono.MonoRuntimeProvider
05-21 18:47:56.308 2075 2075 D dalvikvm: Trying to load lib /data/data/mono.samples.apidemo/lib/libmonodroid.so 0x41658ff8
05-21 18:47:56.308 2075 2075 D dalvikvm: Added shared lib /data/data/mono.samples.apidemo/lib/libmonodroid.so 0x41658ff8
05-21 18:47:56.315 2075 2075 W MonoDroid-Debugger: Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8991,server=y,embedding=1
05-21 18:47:56.487 2075 2075 W MonoDroid-Debugger: Accepted stdout connection: 40
05-21 18:47:56.636 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:57.081 2075 2075 W monodroid-gc: GREF GC Threshold: 46800
05-21 18:47:57.456 467 552 D Tethering: interfaceLinkStateChanged wlan0, true
05-21 18:47:57.456 467 558 D wifi : doBoolean: AP_SCAN 1
05-21 18:47:57.456 467 558 D wifi : doString: SCAN_RESULTS
05-21 18:47:57.456 467 552 D Tethering: interfaceStatusChanged wlan0, true
05-21 18:47:57.464 32561 32561 D LSAPP_LSDet: hasPoi:...no POIs !
05-21 18:47:57.479 32561 32561 D LSAPP_Beacon: notifyAllCallers : notify caller POI=null caller:Handler (com.motorola.contextual.virtualsensor.locationsensor.LocationDetection$MessageHandler) {416c79d8}
05-21 18:47:57.479 32561 32561 E LSApp_App: Sending Message to Handler (com.motorola.contextual.virtualsensor.locationsensor.LocationDetection$MessageHandler) {416c79d8}: msg :1010002
05-21 18:47:57.487 32561 32577 D LSAPP_LSDet: matchBeacons: Beacon no match any poi...:
05-21 18:47:57.487 32561 32577 D LSAPP_LSDet: startDetection: celltower changed : do nothing because not in a poi and cells are not POI cells ::{"NetTyp":"CDMA","BaseStnLat":"2147483647","NetOp":"31000","BaseStnId":"4865","BaseStnLng":"2147483647","CntryISO":"us","NetId":"1","SysId":"28"}
05-21 18:47:57.487 32561 32577 D LSAPP_TimerTask: stopPeriodicalUpdate : network provider:false wifiscan: true
05-21 18:47:57.644 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:47:58.253 587 587 V PhoneStatusBar: setLightsOn(true)
05-21 18:47:58.323 467 527 I ActivityManager: Displayed mono.samples.apidemo/monodroid.apidemo.ApiDemo: +2s102ms
05-21 18:47:58.347 679 841 D Swype : showNavigationBar()
05-21 18:47:58.870 467 558 D wifi : doString: SIGNAL_POLL
05-21 18:47:59.604 467 1624 I ActivityManager: START {cmp=mono.samples.apidemo/monodroid.apidemo.ApiDemo (has extras) u=0} from pid 2075
05-21 18:47:59.808 587 587 V PhoneStatusBar: setLightsOn(true)
05-21 18:47:59.870 467 527 I ActivityManager: Displayed mono.samples.apidemo/monodroid.apidemo.ApiDemo: +222ms
05-21 18:47:59.995 467 526 V AlarmManager: sending alarm Alarm{41c26300 type 3 android}
05-21 18:48:00.050 587 587 D SizeAdaptiveLayout: com.android.internal.widget.SizeAdaptiveLayout@4189cde0child view android.widget.FrameLayout@41d08b88 measured out of bounds at 95px clamped to 96px
05-21 18:48:00.144 467 471 D dalvikvm: JIT code cache reset in 9 ms (1048492 bytes 62/0)
05-21 18:48:00.175 467 471 D dalvikvm: GC_CONCURRENT freed 6059K, 29% free 25912K/36195K, paused 17ms+25ms, total 296ms
05-21 18:48:00.667 467 1690 I ActivityManager: START {cmp=mono.samples.apidemo/monodroid.apidemo.app.ActionBarDisplayOptionsActivity u=0} from pid 2075
05-21 18:48:01.651 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:48:01.878 467 558 D wifi : doString: SIGNAL_POLL
05-21 18:48:01.940 697 699 D dalvikvm: GC_CONCURRENT freed 1738K, 14% free 13695K/15779K, paused 12ms+6ms, total 66ms
05-21 18:48:02.284 2075 2075 I MonoDroid: UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
05-21 18:48:02.284 2075 2075 I MonoDroid: at MonoDroid.ApiDemo.App.ActionBarDisplayOptionsActivity.OnCreate (Android.OS.Bundle) [0x00101] in /Users/petercollins/GitRepo/monodroid-samples/ApiDemo/App/ActionBarDisplayOptions.cs:70
05-21 18:48:02.284 2075 2075 I MonoDroid: at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00010] in /Users/builder/data/lanes/monodroid-lion-monodroid-4.6.6-branch/6d7480e9/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Android.App.Activity.cs:1859
05-21 18:48:02.284 2075 2075 I MonoDroid: at (wrapper dynamic-method) object.dc185158-4282-485b-a1b8-3cc5e1b62ed7 (intptr,intptr,intptr) <IL 0x00017, 0x00043>
05-21 18:48:02.651 587 587 D MotoSystemUIUtils: Not on network extender
05-21 18:48:03.128 2075 2075 E mono :
05-21 18:48:03.128 2075 2075 E mono : Unhandled Exception:
05-21 18:48:03.128 2075 2075 E mono : System.NullReferenceException: Object reference not set to an instance of an object
05-21 18:48:03.128 2075 2075 E mono : at MonoDroid.ApiDemo.App.ActionBarDisplayOptionsActivity.OnCreate (Android.OS.Bundle bundle) [0x00101] in /Users/petercollins/GitRepo/monodroid-samples/ApiDemo/App/ActionBarDisplayOptions.cs:70
05-21 18:48:03.128 2075 2075 E mono : at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) [0x00010] in /Users/builder/data/lanes/monodroid-lion-monodroid-4.6.6-branch/6d7480e9/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Android.App.Activity.cs:1859
05-21 18:48:03.128 2075 2075 E mono : at (wrapper dynamic-method) object:dc185158-4282-485b-a1b8-3cc5e1b62ed7 (intptr,intptr,intptr)
05-21 18:48:03.128 2075 2075 I mono : [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
05-21 18:48:03.128 2075 2075 I mono : at MonoDroid.ApiDemo.App.ActionBarDisplayOptionsActivity.OnCreate (Android.OS.Bundle bundle) [0x00101] in /Users/petercollins/GitRepo/monodroid-samples/ApiDemo/App/ActionBarDisplayOptions.cs:70
05-21 18:48:03.128 2075 2075 I mono : at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) [0x00010] in /Users/builder/data/lanes/monodroid-lion-monodroid-4.6.6-branch/6d7480e9/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Android.App.Activity.cs:1859
05-21 18:48:03.128 2075 2075 I mono : at (wrapper dynamic-method) object:dc185158-4282-485b-a1b8-3cc5e1b62ed7 (intptr,intptr,intptr)
05-21 18:48:03.175 218 218 D Zygote : Process 2075 exited cleanly (1)
05-21 18:48:03.175 467 535 W InputDispatcher: channel '41f89270 mono.samples.apidemo/monodroid.apidemo.ApiDemo (server)' ~ Consumer closed input channel or an error occurred. events=0x9
05-21 18:48:03.175 467 477 I WindowState: WIN DEATH: Window{41f89270 mono.samples.apidemo/monodroid.apidemo.ApiDemo paused=false}
05-21 18:48:03.175 467 478 I ActivityManager: Process mono.samples.apidemo (pid 2075) has died.
05-21 18:48:03.175 467 478 W ActivityManager: Force removing ActivityRecord{4167c0b8 mono.samples.apidemo/monodroid.apidemo.app.ActionBarDisplayOptionsActivity}: app died, no saved state
05-21 18:48:03.183 467 535 E InputDispatcher: channel '41f89270 mono.samples.apidemo/monodroid.apidemo.ApiDemo (server)' ~ Channel is unrecoverably broken and will be disposed!
05-21 18:48:03.183 467 477 W InputDispatcher: Attempted to unregister already unregistered input channel '41f89270 mono.samples.apidemo/monodroid.apidemo.ApiDemo (server)'
05-21 18:48:03.190 467 535 E InputDispatcher: Received spurious receive callback for unknown input channel. fd=245, events=0x9
05-21 18:48:03.190 467 467 I WindowState: WIN DEATH: Window{41f74ba8 mono.samples.apidemo/monodroid.apidemo.ApiDemo paused=false}
05-21 18:48:03.190 467 535 I WindowManager: WINDOW DIED Window{41f89270 mono.samples.apidemo/monodroid.apidemo.ApiDemo paused=false}
05-21 18:48:03.190 467 478 W ActivityManager: Force removing ActivityRecord{425ca8b0 mono.samples.apidemo/monodroid.apidemo.ApiDemo}: app died, no saved state
05-21 18:48:03.214 2121 2121 D dalvikvm: Late-enabling CheckJNI
05-21 18:48:03.222 467 478 I ActivityManager: Start proc mono.samples.apidemo for activity mono.samples.apidemo/monodroid.apidemo.ApiDemo: pid=2121 uid=10009 gids={1006, 3003, 1028}
05-21 18:48:03.237 2121 2121 I dalvikvm: Turning on JNI app bug workarounds for target SDK version 4...
05-21 18:48:03.269 2121 2121 E Trace : error opening trace file: No such file or directory (2)
05-21 18:48:03.323 2121 2121 I ActivityThread: Pub mono.samples.apidemo.mono.MonoRuntimeProvider.__mono_init__: mono.MonoRuntimeProvider
05-21 18:48:03.323 2121 2121 D dalvikvm: Trying to load lib /data/data/mono.samples.apidemo/lib/libmonodroid.so 0x41659e00
05-21 18:48:03.331 2121 2121 D dalvikvm: Added shared lib /data/data/mono.samples.apidemo/lib/libmonodroid.so 0x41659e00
05-21 18:48:03.417 2121 2121 W monodroid-gc: GREF GC Threshold: 46800
05-21 18:48:04.339 587 587 V PhoneStatusBar: setLightsOn(true)
05-21 18:48:04.409 467 1690 W InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 2075 uid 10009
05-21 18:48:04.417 467 527 I ActivityManager: Displayed mono.samples.apidemo/monodroid.apidemo.ApiDemo: +1s220ms (total +3s700ms)
05-21 18:48:04.878 467 558 D wifi : doString: SIGNAL_POLL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment