Bug #36266 Find Results Panel: Exception on dbl-click resize of column
Submitted: 22 Apr 2008 21:47 Modified: 11 May 2008 1:23
Reporter: Dan Nelson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.19 SE OS:Windows (SP3-RC2)
Assigned to: Mike Lischke CPU Architecture:Any

[22 Apr 2008 21:47] Dan Nelson
Description:
Used Workbench SE's Find (Ctrl-F) feature to search for a phrase found in database objects.  Find Results come back with standard column widths, attempt to dbl-click the column-heading separator generates an exception.

Stack trace:

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 MySQL.GUI.Workbench.FindOutputForm.resultsTreeView_DoubleClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MySQLWorkbench
    Assembly Version: 5.0.19.3067
    Win32 Version: 5.0.19.3067
    CodeBase: file:///D:/MySql/workbench-5.0.19/MySQLWorkbench.exe
----------------------------------------
wb.wr
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///D:/MySql/workbench-5.0.19/wb.wr.DLL
----------------------------------------
grt.wr
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///D:/MySql/workbench-5.0.19/grt.wr.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    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.42 (RTM.050727-4200)
    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.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MySQLCsUtilities
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/MySQLCsUtilities.DLL
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.762
    Win32 Version: 8.00.50727.762
    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
MySQLGrtShell
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/MySQLGrtShell.EXE
----------------------------------------
WeifenLuo.WinFormsUI.Docking
    Assembly Version: 2.2.3026.40768
    Win32 Version: 2.2.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
MySQLWorkbenchEditors
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/MySQLWorkbenchEditors.DLL
----------------------------------------
Aga.Controls
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/Aga.Controls.DLL
----------------------------------------
grt.helpers.be
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/grt.helpers.be.DLL
----------------------------------------
db.wbp.fe
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/db.wbp.fe.DLL
----------------------------------------
db.wbp.wr
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///D:/MySql/workbench-5.0.19/db.wbp.wr.DLL
----------------------------------------
grt.db.wr
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///D:/MySql/workbench-5.0.19/grt.db.wr.DLL
----------------------------------------
db.mysql.editors.wbp.fe
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/db.mysql.editors.wbp.fe.DLL
----------------------------------------
db.mysql.editors.wbp.wr
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///D:/MySql/workbench-5.0.19/db.mysql.editors.wbp.wr.DLL
----------------------------------------
ScintillaNet
    Assembly Version: 2.0.3026.39852
    Win32 Version: 2.0.0.0
    CodeBase: file:///D:/MySql/workbench-5.0.19/ScintillaNet.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.

How to repeat:
1. Open a Workbench file with database objects.
2. Ctrl-F or top menu's Edit->Find->Find...
3. Search for some string that will return results (e.g. "id"), click Find All...
4. In the Find Results panel (default bottom of screen), locate any column heading separator (e.g. the vertical line image between the Description and Object column heading) and double click it.
5. Read error dialog.
[22 Apr 2008 22:25] MySQL Verification Team
Thank you for the bug report. I couldn't repeat the behavior reported with
2 differents model projects. Could you please provide a project model file
and your Help -> System Info?. Thanks in advance.
[23 Apr 2008 14:38] Dan Nelson
Reproduction Steps

Attachment: reproduce_steps.pdf (application/pdf, text), 388.78 KiB.

[23 Apr 2008 14:39] Dan Nelson
Sample Workbench File

Attachment: mysql_workbench_issue_36266.mwb (application/octet-stream, text), 3.81 KiB.

[23 Apr 2008 14:43] Dan Nelson
Please see the attached pdf and mwb file for the additional information requested by Miguel Solorzano.

Worthy to note: I did have Workbench OSS 5.0.19 previously installed.  Removed OSS after installing Workbench SE.

Here is my Help - System Info output:
Looking for user plugins in C:\Documents and Settings\Dan\Application Data\MySQL\Workbench\modules
Looking for user plugins in C:\Documents and Settings\Dan\Application Data\MySQL\Workbench\plugins
MySQL Workbench SE for Windows version 5.0.19
Cairo Version: 1.5.12
Rendering Mode: GDI Rendering
OpenGL Driver Version: Not Detected
OS: Windows XP
CPU: 2x Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz, 2.0 GB RAM
Video adapter info:
Adapter type: ATI Mobility Radeon X1400 
Chip Type: ATI Mobility Radeon X1400 (0x7145)
BIOS String: BK-ATI VER009.012.001.009.018652
Video Memory: 262144 KB
[24 Apr 2008 11:29] MySQL Verification Team
Thank you for the feedback. Verified with the test case provided.
[30 Apr 2008 13:14] Mike Lischke
Fixed in rev 3117.
[2 May 2008 8:25] Johannes Taxacher
crash fixed, tested in svn rev 3120
[11 May 2008 1:23] Paul DuBois
Noted in 5.0.21 changelog.

Double clicking a column-heading separator in Find results caused a
crash.