Object reference not set to an instance of an object error
See original GitHub issueDescribe the bug When i remove the Xamarin.Forms.InputKit package the application works.
To Reproduce Trying to reproduce it in a sample app
Expected behavior Does not crash
Smartphone (please complete the following information):
- Device: iPhone XS Max
- OS: iOS 12.1
- Version 12.1
Xamarin Forms v3.6.0.264807 Xamarin.Forms.InputKit v3.0.2 Xamarin Forms Material v3.6.0.264807
Additional context
" at Xamarin.Forms.VisualStateManager.GoToState (Xamarin.Forms.VisualElement visualElement, System.String name) [0x00000] in D:\\a\\1\\s\\Xamarin.Forms.Core\\VisualStateManager.cs:51 \n at Plugin.InputKit.Platforms.iOS.StackLayoutWithVisualStatesRenderer.TouchesCancelled (Foundation.NSSet touches, UIKit.UIEvent evt) [0x00006] in <3af430ba27d545b5bdad56c17d32cb4e>:0 \n at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)\n at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.16/src/Xamarin.iOS/UIKit/UIApplication.cs:79 \n at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.16/src/Xamarin.iOS/UIKit/UIApplication.cs:63 \n at Nutrivitas.Mobile.iOS.Application.Main (System.String[] args) [0x00001] in
I know this issue is a little vague. But i am trying to understand how this is being triggered myself.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)

Top Related StackOverflow Question
@enisn
Thanks. Confirming that the issue is fixed with this update. Closing this issue. Thanks very much 😃
@kevinvella
Can you try new version v3.0.3
That problem should be fixed at