question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Object reference not set to an instance of an object error

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kevinvellacommented, Mar 25, 2019

@enisn

Thanks. Confirming that the issue is fixed with this update. Closing this issue. Thanks very much 😃

0reactions
enisncommented, Mar 25, 2019

@kevinvella

Can you try new version v3.0.3

That problem should be fixed at

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object Reference Not Set to an Instance of an Object
This infamous and dreaded error message happens when you get a NullReferenceException. This exception is thrown when you try to access a member—for...
Read more >
What does "Object reference not set to an instance of an ...
In a nutshell it means.. You are trying to access an object without instantiating it.. You might need to use the "new" keyword...
Read more >
How to solve error object reference not set to an instance of ...
Set a break point and use the watch window to find the null object. Once you find what is null then backtrack through...
Read more >
Fix: "Object Reference Not Set to an Instance of ...
If you receive the "Object reference not set to an instance of an object" error on your Windows computer, it might be caused...
Read more >
Object Reference not set to an instance of an object
The message "object reference not set to an instance of an object" means that you are referring to an object the does not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found