请问下面错误是什么意思啊

swweng2 2005-06-13 03:40:13
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalGetSatelliteAssembly(CultureInfo culture, Version version, Boolean throwOnFileNotFound)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
...全文
103 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
xkst 2005-08-10
  • 打赏
  • 举报
回复
没有new
Amwasser2005 2005-08-09
  • 打赏
  • 举报
回复
将类实例化,NEW 完成
例如:

DataSet * dsTemp=new DataSet();

之后,便可以使用类DataSet 中的属性和方法.
alphaqxm 2005-06-21
  • 打赏
  • 举报
回复
该New的地方没有New
Dr_Jones 2005-06-14
  • 打赏
  • 举报
回复
有时侯csdn登陆就回有这种错误
不知道为什么?
tigerwen01 2005-06-14
  • 打赏
  • 举报
回复
没有给对象分配内存。
例如,你想这样用ojb.MyMethod(1)
你就要先给obj分配内存:OBJECTCLASS obj=new OBJECTCLASS();
真相重于对错 2005-06-13
  • 打赏
  • 举报
回复
代码??
错误的大概意思是你使用了为初始化的对象
例如
class a{
public string text;
}
...
a a1;
a1.text = "foo"; //a1 为 null 对a1.text操作将会引发异常

7,540

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 VC.NET
社区管理员
  • VC.NET社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧