Skip to content

Crash if Menu is removed from gorm file #94

@rmottola

Description

@rmottola

If from an existing file which has a MainMenu I remove it (to create a stand-alone version) gorm crashes

#0  0xb71a136c in objc_msg_lookup () from /usr/lib/i386-linux-gnu/libobjc.so.4
#1  0xb307a40d in -[GormMenuEditor activate] (
    self=0xb7e9f2bd <-[GormDocument reactivateEditors]+365>, _cmd=0x58a460)
    at GormMenuEditor.m:402
#2  0xb7f58ce8 in _OBJC_SELECTOR_TABLE ()
   from /System/Library/Libraries/libGormCore.so.0
#3  0xb7e9f2bd in -[GormDocument reactivateEditors] (self=0x64a000, 
    _cmd=0xb7f59680 <_OBJC_SELECTOR_TABLE+3488>) at GormDocument.m:3799
#4  0xb7ea39d4 in -[GormDocument(Metadata) outlineView:numberOfChildrenOfItem:]
    (self=0x64a000, _cmd=0xb7d670f0 <_OBJC_SELECTOR_TABLE+1776>, ov=0xba9800, 
    item=0x0) at GormDocument.m:4082
#5  0xb799eefb in -[NSOutlineView(TableViewInternalPrivate) _loadDictionaryStartingWith:atLevel:] (self=0xba9800, _cmd=0xb7d66be0 <_OBJC_SELECTOR_TABLE+480>, 
    startitem=0x0, level=-1) at NSOutlineView.m:2342
#6  0xb799d3b0 in -[NSOutlineView(TableViewInternalPrivate) _openItem:] (
    self=0xba9800, _cmd=0xb7d66b30 <_OBJC_SELECTOR_TABLE+304>, item=0x0)
    at NSOutlineView.m:2406
#7  0xb799d92b in -[NSOutlineView reloadData] (self=0xba9800, 
    _cmd=0xb7f73dd0 <_OBJC_SELECTOR_TABLE+880>) at NSOutlineView.m:858
#8  0xb7ebcc91 in -[GormObjectViewController reloadOutlineView] (
    self=0xbeaed0, _cmd=0xb7f58df0 <_OBJC_SELECTOR_TABLE+1296>)
    at GormObjectViewController.m:105
#9  0xb7e99f95 in -[GormDocument touch] (self=0x64a000, 

HelpWindow.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions