xamarin / XamarinCommunityToolkit

The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.
MIT License
1.59k stars 474 forks source link

[Bug] #1880

Open riturajpandey opened 2 years ago

riturajpandey commented 2 years ago

Description

I am using StateView control in my project. There are some issue stateview with picker control. I am getting unhandled null reference exception.

Stack Trace

unhandled exception value cannot be null.

Steps to Reproduce

  1. Create three state in the StateView.
  2. Add Picker control in the second state
  3. When you change first state to second stat. picker control properly show and I am able to select values from picker. 4 When I change second state to third state on the page.
  4. Then I am getting unhandled unhandled exception on the page.
  5. All code run successfully but application crashed.

Expected Behavior

Change second state to third state.

Actual Behavior

Application crashed

Basic Information

Xamarin forms : 5.0.0.2478 xamarin community toolkit : 2.0.2 Platform : Android & Ios

bijington commented 2 years ago

@riturajpandey Can you share the stack trace of the exception?

Also can you please provide a sample reproducing the issue?