Bug 38876 - Click on Hamburger caused a crash when Detail is a ListView
Summary: Click on Hamburger caused a crash when Detail is a ListView
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.0.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Paul DiPietro [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-02-18 13:07 UTC by Caan Mee
Modified: 2017-06-19 21:18 UTC (History)
3 users (show)

Tags: Android MasterDetailPage ListView
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED NORESPONSE

Description Caan Mee 2016-02-18 13:07:35 UTC
Using Xamarin.Forms 2.0.1 I experienced a strange crash (not always reproduceable).

Clicking on the hamburger of my MasterDetailPage crashed the application (Master and Detail pages both contain a ListView with RecycleElement set).

System.InvalidCastExceptionSpecified cast is not valid.
Raw
  at Xamarin.Forms.Platform.Android.ListViewAdapter.HandleItemClick (Android.Widget.AdapterView parent, Android.Views.View view, Int32 position, Int64 id) <0x99ed0170 + 0x00118> in <filename unknown>:0 
  at Xamarin.Forms.Platform.Android.CellAdapter.OnItemClick (Android.Widget.AdapterView parent, Android.Views.View view, Int32 position, Int64 id) <0x99ed0040 + 0x000ff> in <filename unknown>:0 
  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) <0x99ecff28 + 0x000bb> in <filename unknown>:0 
  at (wrapper dynamic-method) System.Object:f0337b89-13ef-400b-ab86-979f085203d2 (intptr,intptr,intptr,intptr,int,long)

Android 6.0 on a Nexus 5
Comment 1 Paul DiPietro [MSFT] 2016-02-18 18:30:14 UTC
Would need a semi-reliable reproduction.
Comment 2 Chris King 2017-06-19 17:22:09 UTC
Assigned to you as you were last to request additional info.
Comment 3 Samantha Houts [MSFT] 2017-06-19 21:18:38 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!