{"id":126,"date":"2008-02-18T23:14:49","date_gmt":"2008-02-18T22:14:49","guid":{"rendered":"http:\/\/www.jurecuhalev.com\/blog\/2008\/02\/18\/how-to-fix-iwork-08keynoteidvdnumberspages-nsinternalinconsistencyexception-crash\/"},"modified":"2008-02-18T23:14:49","modified_gmt":"2008-02-18T22:14:49","slug":"how-to-fix-iwork-08keynoteidvdnumberspages-nsinternalinconsistencyexception-crash","status":"publish","type":"post","link":"https:\/\/www.jurecuhalev.com\/blog\/how-to-fix-iwork-08keynoteidvdnumberspages-nsinternalinconsistencyexception-crash\/","title":{"rendered":"How to fix iWork 08\/Keynote\/iDvd\/Numbers\/Pages NSInternalInconsistencyException crash"},"content":{"rendered":"<p>Some time after installing Leopard OS X 10.5 and second set of updats for iWork 08 the Keynote Application started crashing on start. Crash report said the following:<\/p>\n<p><code><br \/>\nProcess:         Keynote [3724]<br \/>\nPath:            \/Applications\/iWork '08\/Keynote.app\/Contents\/MacOS\/Keynote<br \/>\nIdentifier:      com.apple.iWork.Keynote<br \/>\nVersion:         4.0 (591)<br \/>\nBuild Info:      Keynote-5910000~3<br \/>\nCode Type:       X86 (Native)<br \/>\nParent Process:  launchd [152]<br \/>\nDate\/Time:       2008-02-17 15:32:34.960 +0000<br \/>\nOS Version:      Mac OS X 10.5.2 (9C31)<br \/>\nReport Version:  6<br \/>\nException Type:  EXC_BREAKPOINT (SIGTRAP)<br \/>\nException Codes: 0x0000000000000002, 0x0000000000000000<br \/>\nCrashed Thread:  0<br \/>\nApplication Specific Information:<br \/>\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: (index &gt;= 0) &amp;&amp; (index &lt; (_itemArray ? CFArrayGetCount((CFArrayRef)_itemArray) : 0))'<br \/>\n<\/code><br \/>\netc.<\/p>\n<p>After much fiddling around I found a hint that this might be due to duplicated fonts that confuses Keynote so much on startup that it crashes.<\/p>\n<p>Here is a quicke guide how to check if you have duplicated fonts on OS X:<\/p>\n<p><strong>First: Open Font Book<\/strong> <em>(Applications -&gt; Font Book)<\/em><\/p>\n<p>Once you have Font Book open, check for any fonts that have black dots next to the name. This means that you have duplicates of this font installed. In my case I had a few dozens of duplicates on the system.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2008\/02\/fontbook1.png\" alt=\"fontbook1.png\" \/><\/p>\n<p>You can then either manually turn off conflicting fonts or choose Resolve Duplicates from Edit menu. This will automatically disable one of the fonts in duplicate fonts pairs. You can always turn them on later if you decide that you need the other font from the duplicated pair.<\/p>\n<p><img src='https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2008\/02\/fontbook2.png' alt='fontbook2.png' \/><\/p>\n<p><strong>Second: Clear your Font Cache<\/strong><\/p>\n<p>Download neat little utility called Font Nuke (it&#8217;s free). After you run it, first Update Cache List and then Nuke Font Caches. After OS X reboot your system will automatically rebuild the font cache.<\/p>\n<p><img src='https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2008\/02\/fontnuke1.png' alt='fontnuke1.png' \/><\/p>\n<p><strong>Enjoy<\/strong><\/p>\n<p>At this point, you can try running Keynote or any other crashing application again and it should work as in good old Tiger days.<\/p>\n<p><strong>Why did this happen?<\/strong><\/p>\n<p>Taking a minute to think of the scenario that created environment for this crash. When I installed Leopard I updated my Tiger installation which it seems to transfer some fonts and thus create duplicates. This does not seem to affect any applications normally so you can survive a long time before you run the Keynote for first time and it crashes. It is also possible that these fonts are stored in your user profile, because of that Keynote will not crash if you create a new user and try running it from there.<\/p>\n<p>Online forums recommend full OS X reinstall in somewhat Windows-horror story like scenario. Realizing that this will effectively clean up your font resource explains why this would work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some time after installing Leopard OS X 10.5 and second set of updats for iWork 08 the Keynote Application started crashing on start. Crash report said the following: Process: Keynote [3724] Path: \/Applications\/iWork &#8217;08\/Keynote.app\/Contents\/MacOS\/Keynote Identifier: com.apple.iWork.Keynote Version: 4.0 (591) Build Info: Keynote-5910000~3 Code Type: X86 (Native) Parent Process: launchd [152] Date\/Time: 2008-02-17 15:32:34.960 +0000 OS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[122,129,128,124,126,125,123,46,127,21],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-tech","tag-fontbook","tag-fontnuke","tag-fonts","tag-idvd","tag-iwork","tag-iwork08","tag-keynote","tag-mac","tag-nsinternalinconsistencyexception","tag-os-x"],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":0,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}