ERROR: Primitive '_NewMenuItem' failed.
Wrong type.
RECEIVER:
Instance of CocoaMenuItem {? ? (154D7B00, gc=EC, fmt=00, flg=00, set=03)
? instance variables [7]
? ? dataptr : RawPointer 55D950
? ? name : "Help Tree"
? ? parent : Symbol 'Help'
? ? children : nil
? ? state : false
? ? isBranch : true
? ? action : nil
}
CALL STACK:
MethodError:reportError ? 15573B90
arg this = <instance of PrimitiveFailedError>
Nil:handleError ? 15571670
arg this = nil
arg error = <instance of PrimitiveFailedError>
Thread:handleError ? 15576320
arg this = <instance of Thread>
arg error = <instance of PrimitiveFailedError>
Object:throw ? 15574910
arg this = <instance of PrimitiveFailedError>
Object:primitiveFailed ? 15572030
arg this = <instance of CocoaMenuItem>
CocoaMenuItem:init ? 15E36190
arg this = <instance of CocoaMenuItem>
arg argparent = 'Help'
arg argindex = 8
arg argname = "Help Tree"
arg hasSubmenu = true
arg argaction = nil
arg parent = 'Help'
arg dict = <instance of Dictionary>
arg name = "Help Tree"
arg index = 8
var menu = nil
var keys = nil
arg this = class Help
var ugens = nil
var menu = nil
var addSubMenu = <instance of Function>
OSXPlatform:startup ? 154C3C20
arg this = <instance of OSXPlatform>
Main:startup ? 154C3BC0
arg this = <instance of Main>