Bug #43872 "AXDocument" attribute unsupported by errors continually pop up
Submitted: 26 Mar 2009 3:30 Modified: 7 Apr 2009 14:22
Reporter: William DeMoss Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.1.9-osx10.5 OS:MacOS (10.5.6)
Assigned to: Jacob Engstrand CPU Architecture:Any
Tags: CHECKED

[26 Mar 2009 3:30] William DeMoss
Description:
Soon after I launch MySQL workbench I begin receiving error popup dialogs "AXDocument" attribute unsupported by <some component>. 

Here is the log when I launch the workbench from the terminal:
iceland:~ wdemoss$ /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench 
_box_impl has NULL ptr at 7
_label_impl has NULL ptr at 4
_filechooser_impl has NULL ptr at 4
_utilities_impl has NULL ptr at 4
2009-03-25 23:29:55.983 MySQLWorkbench[13326:10b] shellCommand has an unexpected delegate
** Message: REFRESH OVERVIEW
2009-03-25 23:29:55.991 MySQLWorkbench[13326:10b] Item in toplevel tabview is not a known form
2009-03-25 23:29:55.991 MySQLWorkbench[13326:10b] Item in toplevel tabview is not a known form
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/db.grt.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/db.mysql.grt.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/db.mysql.sqlparser.grt.dylib' (cpp)

** (process:13326): WARNING **: Native C++ module classes must have the suffix Impl to avoid confusion between implementation and wrapper classes (MysqlSqlFacade)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.model.grt.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.import.grt.dylib' (cpp)
** Message: WARNING: Could not open module /Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.import.grt.dylib (dlopen(/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.import.grt.dylib, 9): Library not loaded: @executable_path/../PlugIns/db.mysql.sqlparser.grt.dylib
  Referenced from: /Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.import.grt.dylib
  Reason: image not found)    
** Message: WARNING: Could not load wb.mysql.import.grt.dylib: Cannot open /Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.import.grt.dylib    
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.validation.grt.dylib' (cpp)
** Message: WARNING: Could not open module /Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.validation.grt.dylib (dlopen(/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.validation.grt.dylib, 9): Library not loaded: @executable_path/../PlugIns/db.mysql.grt.dylib
  Referenced from: /Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.validation.grt.dylib
  Reason: image not found)    
** Message: WARNING: Could not load wb.mysql.validation.grt.dylib: Cannot open /Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.mysql.validation.grt.dylib    
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/modules/wb.validation.grt.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/db.mysql.diff.reporting.wbp.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/db.mysql.editors.mwbplugin/Contents/Frameworks/db.mysql.editors.wbp.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/db.mysql.wbp.dylib' (cpp)
** Message: WARNING: Could not load db.mysql.wbp.dylib: Duplicate module MySQLDbModule    
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/wb.model.editors.mwbplugin/Contents/Frameworks/wb.model.editors.wbp.dylib' (cpp)
** Message: Trying to load module '/Applications/MySQLWorkbench.app/Contents/PlugIns/wb.model.reporting.wbp.dylib' (cpp)
** Message: WARNING: Could not get pointer to grt_module_init in module /Applications/MySQLWorkbench.app/Contents/PlugIns/wb.model.reporting.wbp.dylib (`grt_module_init': dlsym(0x15b12a80, grt_module_init): symbol not found)    
** Message: WARNING: Could not load wb.model.reporting.wbp.dylib: Invalid module /Applications/MySQLWorkbench.app/Contents/PlugIns/wb.model.reporting.wbp.dylib    

** (process:13326): WARNING **: :0: link 'com.mysql.wb.menu.tools.debug' <object app.MenuItem> key=owner could not be resolved

** (process:13326): WARNING **: :0: link 'com.mysql.wb.menu.tools.debug' <object app.MenuItem> key=owner could not be resolved

** (process:13326): WARNING **: /Users/wdemoss/Library/Application Support/MySQL/Workbench/wb_options.xml:0: link 'E2CBBB8D-3A34-4354-8ABE-71FC36A72B20' <object GrtObject> key=owner could not be resolved
2009-03-25 23:29:56.785 MySQLWorkbench[13326:10b] reset window layout
2009-03-25 23:29:57.299 MySQLWorkbench[13326:10b] Unknown character 'question'
** Message: REFRESH OVERVIEW
2009-03-25 23:30:10.224 MySQLWorkbench[13326:10b] ===================================
2009-03-25 23:30:10.224 MySQLWorkbench[13326:10b] === Exception stack trace begin ===
NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 185
objc_exception_throw (in libobjc.A.dylib) + 40
-[NSException raise] (in CoreFoundation) + 17
NSAccessibilityAttributeValue (in AppKit) + 160
CopyAppKitUIElementAttributeValueNoCatch (in AppKit) + 81
CopyAttributeValue (in AppKit) + 492
_AXXMIGCopyAttributeValue (in HIServices) + 287
_XCopyAttributeValue (in HIServices) + 498
mshMIGPerform (in HIServices) + 517
CFRunLoopRunSpecific (in CoreFoundation) + 3896
CFRunLoopRunInMode (in CoreFoundation) + 88
RunCurrentEventLoopInMode (in HIToolbox) + 283
ReceiveNextEventCommon (in HIToolbox) + 374
BlockUntilNextEventMatchingListInMode (in HIToolbox) + 106
_DPSNextEvent (in AppKit) + 657
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 128
-[NSApplication run] (in AppKit) + 795
NSApplicationMain (in AppKit) + 574
start (in MySQLWorkbench) + 54
0x1

How to repeat:
Open MySQLWorkbench and wait a few seconds. The error dialogs begin appearing.
[26 Mar 2009 15:54] Valeriy Kravchuk
Sorry, but I can't repeat this on my MacBook Pro. What exact hardware do you use?
[26 Mar 2009 20:05] William DeMoss
Here's my hardware info:

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro4,1
  Processor Name:	Intel Core 2 Duo
  Processor Speed:	2.5 GHz
  Number Of Processors:	1
  Total Number Of Cores:	2
  L2 Cache:	6 MB
  Memory:	4 GB
  Bus Speed:	800 MHz
  Boot ROM Version:	MBP41.00C1.B03
  SMC Version:	1.28f1
  Serial Number:	W881216UYP4
  Sudden Motion Sensor:
  State:	Enabled

But, I think I've discovered what is causing the issue:

When I run slife (http://www.slifelabs.com/) an application that tracks how much time you spend in the applications you're using, these errors start popping up. When I quit slife, these errors stop popping up. I guess whatever slife uses to poll the application for what you're currently doing causes these errors.
[27 Mar 2009 7:21] Valeriy Kravchuk
I have the same MacBook Pro model... Looks like it is NOT a bug in Workbench, but just lack of some functionality used by that program. I hope it will be added eventually.
[5 Apr 2009 17:48] Alfredo Kojima
Confirmed bug with Slife installed and running.
[6 Apr 2009 13:59] Jacob Engstrand
Fixed in 5.1 rev 3848.
The fix is that the custom exception reporting is disabled by default, To enable, type "defaults write com.sun.MySQLWorkbench ReportException YES" in Terminal.
[7 Apr 2009 8:26] Johannes Taxacher
fix will be included in 5.1.10 beta
[7 Apr 2009 14:22] Tony Bedford
An entry was added to the 5.1.10 changelog:

Soon after MySQL Workbench was launched error popup dialogs were generated with the message:

"AXDocument" attribute unsupported by <some component>

This occurred on the Mac OS X version of MySQL Workbench, when a third-party usage monitoring utility was running. This error was due to the fact that custom exception reporting was disabled by default.