Bug #85456 Workbench Error:Table Filter in Forward Engineer to Database
Submitted: 15 Mar 2017 7:53 Modified: 15 Mar 2017 9:31
Reporter: Michal Tichý Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:6.3.9 OS:Microsoft Windows (10 pro, 64b)
Assigned to: CPU Architecture:Any
Tags: model, table filter, workbench

[15 Mar 2017 7:53] Michal Tichý
Description:
When I try unselect Table in "Table Filter" application crash and I cant unselect table for output SQL.

# Log output

```
08:14:10 [ERR][      Workbench]: Console redirection failed.
08:14:10 [INF][      Workbench]: Starting up Workbench
08:14:10 [INF][      Workbench]: Current environment:
	Command line: "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe" 
	CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.2.9200.0
	SystemDirectory: C:\Windows\system32
	TickCount: 75467875
	UserInteractive: True
	Version: 4.0.30319.42000
	WorkingSet: 34959360
08:14:10 [INF][      Workbench]: Environment variables:
	COMPUTERNAME = DESKTOP-ICIBUQU
	USERPROFILE = C:\Users\ajda2
	HOMEPATH = \Users\ajda2
	LOCALAPPDATA = C:\Users\ajda2\AppData\Local
	PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
	PROCESSOR_ARCHITECTURE = AMD64
	Path = C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\wamp\bin\php\php7.0.10;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Users\ajda2\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\ajda2\AppData\Roaming\Composer\vendor\bin
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	ProgramFiles(x86) = C:\Program Files (x86)
	PROCESSOR_LEVEL = 6
	LOGONSERVER = \\DESKTOP-ICIBUQU
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
	HOMEDRIVE = C:
	SystemRoot = C:\Windows
	SESSIONNAME = Console
	ALLUSERSPROFILE = C:\ProgramData
	PUBLIC = C:\Users\Public
	FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
	APPDATA = C:\Users\ajda2\AppData\Roaming
	PROCESSOR_REVISION = 3c03
	USERNAME = ajda2
	CommonProgramW6432 = C:\Program Files\Common Files
	TEMP = C:\Users\ajda2\AppData\Local\Temp
	OneDrive = D:\OneDrive - Surface s.r.o
	CommonProgramFiles = C:\Program Files\Common Files
	OS = Windows_NT
	USERDOMAIN_ROAMINGPROFILE = DESKTOP-ICIBUQU
	PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
	ComSpec = C:\Windows\system32\cmd.exe
	SystemDrive = C:
	FPS_BROWSER_USER_PROFILE_STRING = Default
	ProgramFiles = C:\Program Files
	NUMBER_OF_PROCESSORS = 4
	TMP = C:\Users\ajda2\AppData\Local\Temp
	ProgramData = C:\ProgramData
	ProgramW6432 = C:\Program Files
	windir = C:\Windows
	USERDOMAIN = DESKTOP-ICIBUQU
08:14:10 [INF][      Workbench]: Current version given by meta info is: 6.3.9
08:14:10 [INF][      Workbench]: Setting PATH to: C:\Windows\system32;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\wamp\bin\php\php7.0.10;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Users\ajda2\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\ajda2\AppData\Roaming\Composer\vendor\bin
08:14:10 [INF][ mforms managed]: Initializing mforms wrapper
08:14:10 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	plugin path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	struct path: 
	module path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE/modules
	library path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	user data dir: C:\Users\ajda2\AppData\Roaming\MySQL\Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
08:14:10 [INF][      WBContext]: WbContext::init
08:14:10 [INF][            WBA]: Looking for extension modules for WBA...
08:14:10 [INF][            WBA]: 0 extension modules found
08:14:11 [WRN][            grt]: C:\Users\ajda2\AppData\Roaming\MySQL\Workbench\connections.xml:26: link '{0CF523D9-B0B9-4344-9B07-1D06B6FEF265}' <object GrtObject> key=owner could not be resolved
08:14:11 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Windows version 6.3.9 CE build 10690321 (64 bit)
	Configuration Directory: C:\Users\ajda2\AppData\Roaming\MySQL\Workbench
	Data Directory: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	Cairo Version: 1.10.2
	OS: Microsoft Windows 10 Pro
	CPU: 4x Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz, 7.7 GiB RAM
	Active video adapter Intel(R) HD Graphics 4600
	Installed video RAM: 1024 MB
	Current video mode: 1920 x 1080 x 4294967296 barev
	Used bit depth: 32
	Driver version: 20.19.15.4474
	Installed display drivers: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll,igdumdim32,igd10iumd32,igd10iumd32,igd12umd32
	Current user language: Čeština (Česká republika)

08:14:11 [INF][      Workbench]: UI is up
08:14:12 [INF][      Workbench]: Running the application
08:27:02 [INF][ Canvas backend]: Found OpenGL version for this view: 4.3.0 - Build 20.19.15.4474
08:27:10 [INF][            grt]: Fetching schema list.	
08:27:10 [INF][            grt]: OK	
08:27:12 [ERR][      Workbench]: V externí součásti došlo k výjimce.
Exception = System.Runtime.InteropServices.SEHException
Message = V externí součásti došlo k výjimce.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): V externí součásti došlo k výjimce.
   v MformsButton.OnClick(EventArgs args)
   v System.Windows.Forms.Button.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
08:43:03 [ERR][      Workbench]: V externí součásti došlo k výjimce.
Exception = System.Runtime.InteropServices.SEHException
Message = V externí součásti došlo k výjimce.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): V externí součásti došlo k výjimce.
   v MformsButton.OnClick(EventArgs args)
   v System.Windows.Forms.Button.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
08:45:37 [INF][            grt]: Fetching schema list.	
08:45:37 [INF][            grt]: OK	
08:49:36 [INF][            grt]: Fetching schema list.	
08:49:36 [INF][            grt]: OK	
08:51:05 [ERR][      Workbench]: V externí součásti došlo k výjimce.
Exception = System.Runtime.InteropServices.SEHException
Message = V externí součásti došlo k výjimce.
FullText = System.Runtime.InteropServices.SEHException (0x80004005): V externí součásti došlo k výjimce.
   v MformsButton.OnClick(EventArgs args)
   v System.Windows.Forms.Button.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

```

How to repeat:
Do Forward Engeneer in database model (CTRL + G on WIndows) and at the step "Select object to Forward Engeneer" hit "Show Filter" for tables.
Now try select any table and move into right column for disabling it.
Hitting any button for table moving end up with error

Suggested fix:
Fix problems in button "onClick" listener maybe...
[15 Mar 2017 9:31] Umesh Shastry
Hello Michal Tichý,

Thank you for the report and steps.
Verified as described on Win7 with WB 6.3.9.

Thanks,
Umesh
[5 Jan 2018 18:50] tim caswell
Also occurs in forward engineer of modules, cannot filter, only option is to generate all or copy to clipboard. Workbench 6.3.10 on Windows10 Home.
Seriously impacts usefulness of workbench !
[13 Feb 2018 10:31] zahrah musa
occurs in forward engineering table to database