TextEdit will not open RTF files after Lion update
Hi,
After updating from Snow Leopard to Lion TextEdit will not open any Rich Text files. If preferences are set to open RTF files it will not open a default document. It just hangs. If I set TextEdit preferences to open a plain text document, it will open a default .TXT document. The console displays this when trying to open RTF doc.
3/20/12 12:50:48.865 PM TextEdit: *** Assertion failure in -[NSMenu itemAtIndex:], /SourceCache/AppKit/AppKit-1138.32/Menus.subproj/NSMenu.m:850
3/20/12 12:50:48.865 PM TextEdit: Invalid parameter not satisfying: (index >= 0) && (index < [_itemArray count])
3/20/12 12:50:48.868 PM TextEdit: (
0 CoreFoundation 0x00007fff8a112fc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff90870d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8a112dfa +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff870d5743 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
4 AppKit 0x00007fff8a67ae13 -[NSMenu itemAtIndex:] + 165
5 AppKit 0x00007fff8a82d9d1 -[NSPopUpButtonCell itemAtIndex:] + 46
6 AppKit 0x00007fff8a82d99a -[NSPopUpButton itemAtIndex:] + 46
7 AppKit 0x00007fff8a8749c3 __-[__NSInspectorBarItemController updateSelectedAttributes]_block_invoke_2 + 156
8 CoreFoundation 0x00007fff8a10ad5e __NSArrayEnumerate + 718
9 AppKit 0x00007fff8a871f60 -[__NSInspectorBarItemController updateSelectedAttributes] + 5405
10 AppKit 0x00007fff8a865aa2 -[NSInspectorBar setVisible:] + 299
11 AppKit 0x00007fff8a8656f4 -[NSTextView(NSSharing) setUsesInspectorBar:] + 236
12 TextEdit 0x0000000108e18c2b TextEdit + 72747
13 TextEdit 0x0000000108e0d17b TextEdit + 24955
14 TextEdit 0x0000000108e0ce4a TextEdit + 24138
15 TextEdit 0x0000000108e0bafb TextEdit + 19195
16 AppKit 0x00007fff8a84f73b -[NSWindowController _windowDidLoad] + 566
17 AppKit 0x00007fff8a846dfd -[NSWindowController window] + 109
18 AppKit 0x00007fff8a8bbad3 -[NSDocument windowForSheet] + 86
19 AppKit 0x00007fff8a84671a -[NSDocument _shouldShowAutosaveButtonForWindow:] + 50
20 AppKit 0x00007fff8a84640a -[NSWindowController setDocument:] + 237
21 TextEdit 0x0000000108e0b63c TextEdit + 17980
22 TextEdit 0x0000000108e0fbeb TextEdit + 35819
23 CoreFoundation 0x00007fff8a10275d -[NSObject performSelector:withObject:] + 61
24 Foundation 0x00007fff87059d94 __NSThreadPerformPerform + 214
25 CoreFoundation 0x00007fff8a0816e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
26 CoreFoundation 0x00007fff8a080f4d __CFRunLoopDoSources0 + 253
27 CoreFoundation 0x00007fff8a0a7d39 __CFRunLoopRun + 905
28 CoreFoundation 0x00007fff8a0a7676 CFRunLoopRunSpecific + 230
29 HIToolbox 0x00007fff9034831f RunCurrentEventLoopInMode + 277
30 HIToolbox 0x00007fff9034f5c9 ReceiveNextEventCommon + 355
31 HIToolbox 0x00007fff9034f456 BlockUntilNextEventMatchingListInMode + 62
32 AppKit 0x00007fff8a650f5d _DPSNextEvent + 659
33 AppKit 0x00007fff8a650861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
34 AppKit 0x00007fff8a64d19d -[NSApplication run] + 470
35 AppKit 0x00007fff8a8cbb88 NSApplicationMain + 867
36 TextEdit 0x0000000108e08678 TextEdit + 5752
37 ??? 0x0000000000000002 0x0 + 2
)
This only happens in my main user account. If I use another account TextEdit works as expected.
I have trashed all TextEdit preference files I can find and searched for this problem online but am still confounded. I also reinstalled Lion and deleted all caches I could find. Still no joy.
Any help would be greately appreciated.
iMac (27-inch Mid 2011), Mac OS X (10.7.3)