Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CalendarDemo
System.NullReferenceException: Object reference not set to an instance of an object
at CalendarDemo.CalendarListActivity/<OnCreate>c__AnonStorey0.<>m__1 (object,Android.Widget.AdapterView/ItemClickEventArgs) [0x00000] in /Users/nischal/Desktop/xamarin-monodroid-samples-5ed1ef9/CalendarDemo/CalendarListActivity.cs:46
at Android.Widget.AdapterView/IOnItemClickListenerImplementor.OnItemClick (Android.Widget.AdapterView,Android.Views.View,int,long) [0x0000b] in /Users/builder/data/lanes/monodroid-mac-master/bc064d64/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Android.Widget.AdapterView.cs:230
at Android.Widget.AdapterView/IOnItemClickListenerInvoker.n_OnItemClick_Landroid_widget_AdapterView_Landroid_view_View_IJ (intptr,intptr,intptr,intptr,int,long) [0x00018] in /Users/builder/data/lanes/monodroid-mac-master/bc064d64/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Android.Widget.AdapterView.cs:168
at (wrapper dynamic-method) object.33ebb5b1-7eb2-4c51-a880-c56dcada5619 (intptr,intptr,intptr,intptr,int,long) <IL 0x00024, 0x0008b>
I/ActivityManager( 140): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity} from pid 361
D/dalvikvm( 2273): Late-enabling CheckJNI
I/ActivityManager( 140): Start proc CalendarDemo.CalendarDemo for activity CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity: pid=2273 uid=10032 gids={3003}
D/OpenGLRenderer( 361): Flushing caches (mode 0)
I/dalvikvm( 361): Jit: resizing JitTable from 4096 to 8192
I/ActivityThread( 2273): Pub CalendarDemo.CalendarDemo.__mono_init__: mono.MonoRuntimeProvider
D/dalvikvm( 2273): Trying to load lib /data/data/CalendarDemo.CalendarDemo/lib/libmonodroid.so 0x410a59e8
D/dalvikvm( 2273): Added shared lib /data/data/CalendarDemo.CalendarDemo/lib/libmonodroid.so 0x410a59e8
E/mono ( 2273): WARNING: The runtime version supported by this application is unavailable.
E/mono ( 2273): Using default runtime: v2.0.50727
I/monodroid-gc( 2273): environment supports jni NewWeakGlobalRef
W/monodroid-gc( 2273): GREF GC Threshold: 46800
W/InputManagerService( 140): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@413b4910 (uid=10045 pid=361)
I/ActivityManager( 140): Displayed CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity: +879ms
I/MonoDroid( 2273): UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
I/MonoDroid( 2273): at CalendarDemo.CalendarListActivity/<OnCreate>c__AnonStorey0.<>m__1 (object,Android.Widget.AdapterView/ItemClickEventArgs) <0x0004c>
I/MonoDroid( 2273): at Android.Widget.AdapterView/IOnItemClickListenerImplementor.OnItemClick (Android.Widget.AdapterView,Android.Views.View,int,long) <0x00093>
I/MonoDroid( 2273): at Android.Widget.AdapterView/IOnItemClickListenerInvoker.n_OnItemClick_Landroid_widget_AdapterView_Landroid_view_View_IJ (intptr,intptr,intptr,intptr,int,long) <0x000b3>
I/MonoDroid( 2273): at (wrapper dynamic-method) object.2d2e73f2-82f5-4267-bb41-8b893eb5cf37 (intptr,intptr,intptr,intptr,int,long) <0x0006b>
E/mono ( 2273):
E/mono ( 2273): Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
E/mono ( 2273): at CalendarDemo.CalendarListActivity+<OnCreate>c__AnonStorey0.<>m__1 (System.Object sender, Android.Widget.ItemClickEventArgs e) [0x00000] in <filename unknown>:0
E/mono ( 2273): at Android.Widget.AdapterView+IOnItemClickListenerImplementor.OnItemClick (Android.Widget.AdapterView parent, Android.Views.View view, Int32 position, Int64 id) [0x00000] in <filename unknown>:0
E/mono ( 2273): at Android.Widget.AdapterView+IOnItemClickListenerInvoker.n_OnItemClick_Landroid_widget_AdapterView_Landroid_view_View_IJ (IntPtr jnienv, IntPtr native__this, IntPtr native_parent, IntPtr native_view, Int32 position, Int64 id) [0x00000] in <filename unknown>:0
E/mono ( 2273): at (wrapper dynamic-method) object:2d2e73f2-82f5-4267-bb41-8b893eb5cf37 (intptr,intptr,intptr,intptr,int,long)
W/InputDispatcher( 140): channel '41373aa0 CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 140): channel '41373aa0 CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 140): Attempted to unregister already unregistered input channel '41373aa0 CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity (server)'
I/ActivityManager( 140): Process CalendarDemo.CalendarDemo (pid 2273) has died.
W/ActivityManager( 140): Force removing ActivityRecord{41325790 CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity}: app died, no saved state
I/WindowManager( 140): WINDOW DIED Window{41373aa0 CalendarDemo.CalendarDemo/calendardemo.CalendarListActivity paused=false}
D/Zygote ( 81): Process 2273 exited cleanly (1)
W/WindowManager( 140): Failed looking up window
W/WindowManager( 140): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@411a6708 does not exist
W/WindowManager( 140): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7156)
W/WindowManager( 140): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7147)
W/WindowManager( 140): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1529)
W/WindowManager( 140): at android.os.BinderProxy.sendDeathNotice(Binder.java:417)
W/WindowManager( 140): at dalvik.system.NativeStart.run(Native Method)
I/WindowManager( 140): WIN DEATH: null
W/InputManagerService( 140): Got RemoteException sending setActive(false) notification to pid 2273 uid 10032
I/CalendarProvider2( 2148): Sending notification intent: Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://com.android.calendar }
W/ContentResolver( 2148): Failed to get type for: content://com.android.calendar (Unknown URL content://com.android.calendar)
I/ActivityManager( 140): Start proc com.google.android.calendar for broadcast com.google.android.calendar/com.android.calendar.widget.CalendarAppWidgetService$CalendarFactory: pid=2289 uid=10074 gids={3003}
I/ActivityManager( 140): No longer want com.android.musicfx (pid 2060): hidden #16
I/ActivityThread( 2289): Pub com.google.android.calendar.CalendarRecentSuggestionsProvider: com.android.calendar.CalendarRecentSuggestionsProvider
I/ActivityManager( 140): No longer want com.android.settings (pid 1139): hidden #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment