You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
samtun opened this issue
Dec 14, 2020
· 2 comments
· Fixed by #13137
Assignees
Labels
a/buttone/2 🕑2i/highCompletely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less oftenin-progressThis issue has an associated pull request that may resolve it!p/iOS 🍎t/bug 🐛
The ButtonRenderer crashes on iOS in version 4.8.0.1269 because the Element is null (probably disposed).
There was a similar related issue once before #11664 that got fixed in #11668.
But it was reintroduced with 3a57e2e because the Element is not checked for null there.
Steps to Reproduce
Scroll fast in a ListView with button elements
Expected Behavior
no crash
Actual Behavior
The app crashes with the following stack trace:
System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.iOS.ButtonRenderer.LayoutSubviews () [0x0001b] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\ButtonRenderer.cs:89
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/14.0.0.0/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/14.0.0.0/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at Miele.Sandbox.iOS.Application.Main (System.String[] args) [0x00001] in /Users/fschipp/Projects/miele.modules.recipes/Sandbox/Sandbox.iOS/Main.cs:12
Basic Information
Version with issue: 4.8.0.1269
Last known good version: 4.7
Platform Target Frameworks:
iOS: any
Workaround
No workaround
The text was updated successfully, but these errors were encountered:
@samtun could you add which specific 4.8 version you found the issue on? "latest 4.8 version" isn't entirely clear when reading this retrospectively...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
a/buttone/2 🕑2i/highCompletely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less oftenin-progressThis issue has an associated pull request that may resolve it!p/iOS 🍎t/bug 🐛
Description
The ButtonRenderer crashes on iOS in version 4.8.0.1269 because the Element is null (probably disposed).
There was a similar related issue once before #11664 that got fixed in #11668.
But it was reintroduced with 3a57e2e because the Element is not checked for null there.
Steps to Reproduce
Expected Behavior
no crash
Actual Behavior
The app crashes with the following stack trace:
Basic Information
Workaround
No workaround
The text was updated successfully, but these errors were encountered: