#40 Unhandled Exception when using crosshair icon

open
nobody
3
2010-05-04
2010-05-04
Anonymous
No

Does not happen always. I have not figured out yet when exactly it happens.
Steps to reproduce (sometimes):
1. go to click mouse event.
2. go to control, click on ...
3. click on crosshair icon, now exception occurs.

If I say continue after the exception and close the dialog and try again later, the error is gone.
Now that I want to capture the exception text, I cant get the error to occur.

Discussion

  • Benny Cohen
    Benny Cohen
    2010-05-04

    Under what OS ? 32/64 bit ?

     
  • Benny Cohen
    Benny Cohen
    2010-05-04

    • priority: 5 --> 3
     

  • Anonymous
    2010-05-04

    My OS is Windows Vista 32 bit service pack 2.
    Here is the exception text:
    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 QAliber.Repository.CommonTestCases.UITypeEditors.UIControlLocatorForm.btnCursor_MouseDown(Object sender, MouseEventArgs e)
    at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
    at System.Windows.Forms.ButtonBase.OnMouseDown(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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)

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    QAliber Test Builder
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/QAlibers/QAliber%20Test%20Builder/QAliber%20Test%20Builder.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    QAliber.Engine
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/QAliber.Engine/1.0.0.0__69c52b3db892d621/QAliber.Engine.dll
    ----------------------------------------
    QAliber.TestModel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/QAliber.TestModel/1.0.0.0__aac3b2e748180b41/QAliber.TestModel.dll
    ----------------------------------------
    QAliber.RemotingModel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/QAliber.RemotingModel/1.0.0.0__7ca69bfcd2253fef/QAliber.RemotingModel.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    DockingControls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/QAlibers/QAliber%20Test%20Builder/DockingControls.DLL
    ----------------------------------------
    QAliber.Repository.CommonTestCases
    Assembly Version: 1.0.0.18429
    Win32 Version: 1.0.0.3
    CodeBase: file:///C:/Program%20Files/QAlibers/QAliber%20Test%20Builder/User%20Assemblies/QAliber.Repository.CommonTestCases.dll
    ----------------------------------------
    WindowsBase
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4000 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
    ----------------------------------------
    ManagedWinapi
    Assembly Version: 0.3.0.0
    Win32 Version: 0.3
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ManagedWinapi/0.3.0.0__41eb0f6b4ccd675b/ManagedWinapi.dll
    ----------------------------------------
    QAliber.Logger
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/QAliber.Logger/1.0.0.0__c4b865e92b70ed57/QAliber.Logger.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    UIAutomationClient
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4000 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UIAutomationClient/3.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
    ----------------------------------------
    UIAutomationTypes
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4000 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UIAutomationTypes/3.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
    ----------------------------------------
    UIAutomationProvider
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4000 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
    ----------------------------------------
    UIAutomationClientsideProviders
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4000 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/UIAutomationClientsideProviders/3.0.0.0__31bf3856ad364e35/UIAutomationClientsideProviders.dll
    ----------------------------------------
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    nuahjtro
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    ttmma138
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    lvubpcfu
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    f9r2oaex
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    gjiwskp2
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    smhyk5wl
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    QAliber.ImageHandling
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/QAliber.ImageHandling/1.0.0.0__7c86ea72c121888e/QAliber.ImageHandling.dll
    ----------------------------------------
    lhj8xit-
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    ZedGraph
    Assembly Version: 5.1.5.28844
    Win32 Version: 5.1.5.28844
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ZedGraph/5.1.5.28844__02a83cbd123fcd60/ZedGraph.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (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" />
    </configuration>

    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.

     

  • Anonymous
    2010-05-04

    I can work around the error by focussing on different windows and all of a sudden the issue is gone.
    If I focus on other applications again, then the issue can re-occur again.
    Still no complete steps to reproduce.