首页 新闻 会员 周边

什么情况下会发生这样的错误:调用的目标发生了异常?

0
[待解决问题]

【出现时间】:2018-07-11 08:09:22
【异常类型】:TargetInvocationException
【异常信息】:调用的目标发生了异常。
【堆栈调用】:   在 System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
   在 System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
   在 System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
   在 System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
   在 System.Runtime.Serialization.ObjectManager.DoFixups()
   在 System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   在 System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
   在 System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
   在 System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
   在 System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
   在 System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
   在 System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   在 System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
   在 SailSoft.QYZZClient.Properties.Resources.get_子按钮()
   在 SailSoft.QYZZClient.frmMessageMaintenance.InitializeComponent()
   在 SailSoft.QYZZClient.frmMessageMaintenance..ctor()
   在 SailSoft.QYZZClient.frmBusiness.btnRecharge_Click(Object sender, EventArgs e)
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

小徐的工作学习随笔的主页 小徐的工作学习随笔 | 初学一级 | 园豆:183
提问于:2018-07-11 09:34
< >
分享
所有回答(2)
0

太多了。。。系统反射时候

长沙大鹏 | 园豆:214 (菜鸟二级) | 2018-07-11 14:38

什么太多了?

0

你调用/引用其他的类,要去被调用的地方排查。

chengeng | 园豆:294 (菜鸟二级) | 2018-07-12 17:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册