What causes CORDBG_E_CLASS_NOT_LOADED (HRESULT: 0x80131303)

痴心易碎 提交于 2019-12-24 00:54:00

问题


While attempting to debug an application, I keep noticing that two of my arrays and one of my lists seems to be mysteriously... Not there. The error given for that (upon pausing the application and looking through my compiler's variable list) is "A class is not loaded HRESULT: 0x80131303".

After googling, I found out that that particular HRESULT is named "CORDBG_E_CLASS_NOT_LOADED", however I found nothing about it's possible cause, or how to solve it.

I would normally paste the relevant code here, but from what I can find, this error happens directly at the declaration of the effected arrays and list.

Can anyone here help?


回答1:


You may be loading a class implicitly at startup, which causes an error because not everything is initialized yet. Make sure you are not accessing anything in an unloaded class that could cause this.



来源:https://stackoverflow.com/questions/8190333/what-causes-cordbg-e-class-not-loaded-hresult-0x80131303

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!