Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Description of Problem:
System.NullReferenceException: Object reference not set to an instance of an object
at MyBrowserBox.App+<App>c__AnonStorey0.<>m__1 (System.Object sender, System.EventArgs e) [0x000fb] in /Users/premlatha/Projects/MyBrowserBox/MyBrowserBox/MyBrowserBox.cs:87
at Xamarin.Forms.Button.Xamarin.Forms.IButtonController.SendClicked () [0x00020] in <filename unknown>:0
at Xamarin.Forms.Platform.Android.ButtonRenderer+ButtonClickListener.OnClick (Android.Views.View v) [0x00015] in <filename unknown>:0
at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (IntPtr jnienv, IntPtr native__this, IntPtr native_v) [0x00011] in /Users/builder/data/lanes/3236/ee215fc9/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.Views.View.cs:1903
at at (wrapper dynamic-method) System.Object:6ac90fb8-29ec-4a2e-ab4b-cae7baf88e8f (intptr,intptr,intptr)
Steps to reproduce the problem:
1. button is displayed along with webview.
2. when button is clicked , I am trying to capture webview url and other details
3. but I am getting above exception in button listener
How often does this happen?
Could you share the sample code demonstrating the problem? It will help us to troubleshoot the issue
Saathvi, if you're still having this issue please attach a reproduction. Thanks!