loadrunner12测试 C/S程序 录制脚本错误
程序使用.NET 开发的;录制脚本时使用了 .NET 协议,但是登录后页面显示错误(正常登录后的画面没有),并且提示错误D:\桌面\hys_e1.PNG See the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException:
Object reference not set to an instance of an object.
at FGS.Library.UI.FrmMonitor.ReschkListState(CheckedListBoxControl fChk) in D:\Project\FGP\FGS\FGS.Library\UI\FrmMonitor.cs:line 1244
at FGS.Library.UI.FrmMonitor.ResAllchkList() in D:\Project\FGP\FGS\FGS.Library\UI\FrmMonitor.cs:line 99
at FGS.Library.UI.FrmMonitor..ctor() in D:\Project\FGP\FGS\FGS.Library\UI\FrmMonitor.cs:line 40
at FGS.Main.FrmMain.barButtonItem1_ItemClick(Object sender, ItemClickEventArgs e) in D:\Project\FGP\FGS\FGS.Main\FGS.Main\FrmMain.cs:line 322
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()
at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPress(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnUnPress(DXMouseEventArgs e, RibbonHitInfo hitInfo)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. 这个只能来学习下了。 https://blog.csdn.net/weixin_37600187/article/details/82764371参考下这个 https://blog.csdn.net/u010964421/article/details/77863116参考下这个链接 好久没用了,支持下
页:
[1]