Options

"Failed to load resources" and exception on memory snapshot

I just updated to 2.6, and now sometimes taking a memory snapshot causes the following behavior:
1) A popup appears with this message: "Failed to load resource from resource file. Please check your setup."
2) A null reference exception (see exception dump below).
3) Click on "Quit" and Ants Profiler hangs.

Here is the exception data:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DevExpress.Utils.WXPaint.WXPPainter.GetThemeBackgroundContentRect(IntPtr hTheme, IntPtr hdc, Int32 iPartId, Int32 iStateId, RECT& boundingRect, RECT& contentRect)
at DevExpress.Utils.WXPaint.WXPPainter.GetThemeContentRect(WXPPainterArgs pArgs)
at DevExpress.Utils.Drawing.XPObjectPainter.GetObjectClientRectangle(ObjectInfoArgs e)
at DevExpress.Utils.Drawing.WindowsXPProgressBarBorderPainter.GetObjectClientRectangle(ObjectInfoArgs e)
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcClientRect(Rectangle bounds)
at DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo.CalcClientRect(Rectangle bounds)
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcRects()
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcViewInfo(Graphics g)
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcViewInfo(Graphics g, MouseButtons buttons, Point mousePosition, Rectangle bounds)
at DevExpress.XtraBars.ViewInfo.BarEditLinkViewInfo.UpdateViewInfo(Point mousePosition)
at DevExpress.XtraBars.BarEditItem.OnEditValueChanged()
at DevExpress.XtraBars.BarEditItem.set_EditValue(Object value)
at _29._1(Object , ElapsedEventArgs )


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
RedGate.Profiler.UI
Assembly Version: 2.6.0.62
Win32 Version: 2.6.0.62
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/RedGate.Profiler.UI.exe
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
RedGate.Profiler.Engine
Assembly Version: 2.6.0.62
Win32 Version: 2.6.0.62
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/RedGate.Profiler.Engine.DLL
RedGate.Licensing.Client
Assembly Version: 1.2.4.5
Win32 Version: 1.2.4.5
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/RedGate.Licensing.Client.DLL
DevExpress.XtraBars3
Assembly Version: 3.6.0.0
Win32 Version: 3.6.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/DevExpress.XtraBars3.DLL
DevExpress.Utils3
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/DevExpress.Utils3.DLL
DevExpress.XtraTreeList3
Assembly Version: 1.10.0.0
Win32 Version: 1.10.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/DevExpress.XtraTreeList3.DLL
DevExpress.XtraEditors3
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/DevExpress.XtraEditors3.DLL
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
ActiproSoftware.DockableWindow
Assembly Version: 2.0.208.0
Win32 Version: 2.0.208.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/ActiproSoftware.DockableWindow.DLL
ActiproSoftware.TabStripPanel
Assembly Version: 2.0.208.0
Win32 Version: 2.0.208.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/ActiproSoftware.TabStripPanel.DLL
DevExpress.Data3
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/DevExpress.Data3.DLL
RedGate.Licensing.Helper
Assembly Version: 1.2.4.5
Win32 Version: 1.2.4.5
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/RedGate.Licensing.Helper.DLL
DevExpress.XtraGrid3
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/DevExpress.XtraGrid3.DLL
System.DirectoryServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.directoryservices/1.0.5000.0__b03f5f7f11d50a3a/system.directoryservices.dll
ActiproSoftware.Wizard
Assembly Version: 3.0.107.0
Win32 Version: 3.0.107.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/ActiproSoftware.Wizard.DLL
ActiproSoftware.WinUICore
Assembly Version: 1.0.72.0
Win32 Version: 1.0.72.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/ActiproSoftware.WinUICore.DLL
ActiproSoftware.Shared
Assembly Version: 1.0.72.0
Win32 Version: 1.0.72.0
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/ActiproSoftware.Shared.DLL
System.Design
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
RedGate.Profiler.Transfer
Assembly Version: 2.6.0.62
Win32 Version: 2.6.0.62
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/RedGate.Profiler.Transfer.DLL
System.Runtime.Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll
RedGate.Update.Client
Assembly Version: 1.0.1.2
Win32 Version: 1.0.1.2
CodeBase: file:///C:/Program%20Files/Red%20Gate/ANTS%20Profiler/RedGate.Update.Client.DLL
XtraDataTempAssembly
Assembly Version: 0.0.0.0
Win32 Version: n/a
CodeBase:

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />

Comments

Sign In or Register to comment.