Hi,
I'm working with Xamarin Cross Platform. My project worked smoothly until yesterday. I got an error. When i "start debugging" the project, i got the "Object reference not set to an instance of an object" error. What is the reason?
Regards,
No. I'm in, when i "start debugging", i see that data came but with that navigation error, can't go to the page and
cannot go to the correct pages and print the data.
That doesn't change that its your code throwing an error. Its not the Xamarin platform. Your code is broke - or at least not robust and checking for nulls.
The link I sent has several "how to debug" tutorials linked.
I looked. No error in code section. Project running smoothly until 2 days but it start giving a null referencess error 2 days ago. My navigation is set to a buttonClick event. Need to have page transition when I click the button, code running correctly until two days ago but it is not working now.
Posts
That's you're code. You have an object that is null. Not Xamarin. Just C#.
https://www.dreamincode.net/forums/topic/258551-what-does-this-error-mean-understanding-the-common-errors/
No. I'm in, when i "start debugging", i see that data came but with that navigation error, can't go to the page and
cannot go to the correct pages and print the data.
That doesn't change that its your code throwing an error. Its not the Xamarin platform. Your code is broke - or at least not robust and checking for nulls.
The link I sent has several "how to debug" tutorials linked.
Okay,i'll take a look but maybe it is related to "asynchronous".
Is there an asynchronous navigation method or something?
I looked. No error in code section. Project running smoothly until 2 days but it start giving a null referencess error 2 days ago. My navigation is set to a buttonClick event. Need to have page transition when I click the button, code running correctly until two days ago but it is not working now.