你调用的对象是空的。我的大多数应用程序出错 [英] Object reference not set to an instance of an object. Error on my most applications

查看:49
本文介绍了你调用的对象是空的。我的大多数应用程序出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用"对象引用未设置为对象的实例"。在我使用的大多数应用程序上,因为我改变了一些东西,但我不知道我改变了什么。而且我得到了"PowerShell已经停止工作"。如果你可以帮助解决这些问题我也非常感谢..

I am taking "Object reference not set to an instance of an object." on my most applications that I using cause I changed something but I don't know what I changed.. Also I am getting "PowerShell has stopped working" error on every 10 seconds too if you can help on these problems I would really appreciated..

推荐答案

你好Kavingo,

Hi Kavingo,

感谢您发布此处。

对于您的问题,当您尝试访问值为null的类型的成员时,会引发错误。请检查MSDN文档中的方案。

For your question, the error is thrown when you try to access a member on a type whose value is null. Please check the scenarios in the MSDN document.

https://msdn.microsoft.com/en-us/library/system.nullreferenceexception(loband).aspx

您可以检查获得值的代码。所有变量都没有得到空值吗?

You could check the code which you get the value. Does all the variables not get a null value?

最好的问候,

Wendy


这篇关于你调用的对象是空的。我的大多数应用程序出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆