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.
Using the latest CarouselView nuget package.
Put a carousel view in your application and scroll to the left but DONT go to the next page. stop before it clicks to the next page. (so you remain on the initial page)
application will crash with "Sequence does not contain a matching element"
I have only tested this on Android
Same here. Version is 2.3.0-pre1
I think everyone has this issue.
Same here. XF 184.108.40.206, CarouselView 2.3.0-pre1
Same here CarouselView 2.3.0-pre1.
This is really serious. I refactroed my App from CarouselPage to CarouselView because it was announced CarouselPage will be deprecated and now I'm facing this exception.
I have pasted stacktraces where it happend here:
Created attachment 16510 [details]
Created attachment 16520 [details]
As you can see, where Single is called the collection contains two elements, likely because it's in between two elements.
Changing the Single call to .First eliminates the bug.
Actually just realized, that although the result is the same in my case the Exception was ""Sequence contains more than one element" not the one above in the Issue Title. Not sure if this is another problem.
@thomas That could be a mistake on my part. It sounds like the same error from what you are describing
Also occurs with Xamarin.Forms 220.127.116.11
Can you open source this control even before it's merged to the XF branch?
Confirmed duplicate of https://bugzilla.xamarin.com/show_bug.cgi?id=40513. Will be fixed in pre2.
When will be pre 2 be released?
The version pre-2 is now available on nuget.org.
I have checked this issue with latest Xamarin.forms.CarouseView 2.3.0-pre2 and xamarin.forms 18.104.22.168 and observed that this issue has been fixed.
Hence closing this issue.
NOTE: I am getting Load exception when using latest Xamarin.forms 22.214.171.124-pre2 so I have filed separate Bug: https://bugzilla.xamarin.com/show_bug.cgi?id=44533
*** Bug 42112 has been marked as a duplicate of this bug. ***
I am still getting this error with Xamarin.forms.CarouseView 2.3.0-pre2 and xamarin.forms 126.96.36.199
Getting same error with Preview version of XForms
@Man_xam, I have already filed a issue with Xamarin.forms.CarouseView 2.3.0-pre2 which is mention in comment #17.
Please let me if you getting same issue as bug:#44533 or any other issue.