{"id":4635,"date":"2014-03-30T14:13:57","date_gmt":"2014-03-30T14:13:57","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/nsinternalinconsistencyexception-could-not-load-nib-in-bundle-collection-of-common-programming-errors\/"},"modified":"2014-03-30T14:13:57","modified_gmt":"2014-03-30T14:13:57","slug":"nsinternalinconsistencyexception-could-not-load-nib-in-bundle-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/nsinternalinconsistencyexception-could-not-load-nib-in-bundle-collection-of-common-programming-errors\/","title":{"rendered":"NSInternalInconsistencyException Could not load nib in bundle-Collection of common programming errors"},"content":{"rendered":"<p>I have create one application for child game.<\/p>\n<p>It load 12 different question for each round . but after 4 round is completed my application get crash with the following log<\/p>\n<pre><code>ImageIO: CGImageRead_mapData 'open' failed '\/var\/mobile\/Applications\/4B0202F9-5961-4AC7-A327-604620AF1F94\/test.app\/pi_ok.png'\n         error = 24 (Too many open files)\n\n\n2011-03-24 02:26:34.743 [424:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle  (loaded)' with name 'ThemePickerController''\n*** Call stack at first throw:\n(\n    0   CoreFoundation                      0x3182464f __exceptionPreprocess + 114\n    1   libobjc.A.dylib                     0x3651dc5d objc_exception_throw + 24\n    2   CoreFoundation                      0x31824491 +[NSException raise:format:arguments:] + 68\n    3   CoreFoundation                      0x318244cb +[NSException raise:format:] + 34\n    4   UIKit                               0x330d2a53 -[UINib instantiateWithOwner:options:] + 1110\n    5   UIKit                               0x330d3e09 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 92\n    6   UIKit                               0x3304d5e9 -[UIViewController _loadViewFromNibNamed:bundle:] + 36\n    7   UIKit                               0x3301afa5 -[UIViewController loadView] + 80\n    8   UIKit                               0x32effebf -[UIViewController view] + 30\n    9   VisualMath                          0x00062875 -[DragTriangleViewController hideThemePicker] + 40\n    10  VisualMath                          0x0005fe93 -[DragTriangleViewController clickDone] + 26\n    11  CoreFoundation                      0x31794571 -[NSObject(NSObject) performSelector:withObject:withObject:] + 24\n    12  UIKit                               0x32ee5ec9 -[UIApplication sendAction:to:from:forEvent:] + 84\n    13  UIKit                               0x32ee5e69 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 32\n    14  UIKit                               0x32ee5e3b -[UIControl sendAction:to:forEvent:] + 38\n    15  UIKit                               0x32ee5b8d -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 356\n    16  UIKit                               0x32ee6423 -[UIControl touchesEnded:withEvent:] + 342\n    17  UIKit                               0x32ee4bf5 -[UIWindow _sendTouchesForEvent:] + 368\n    18  UIKit                               0x32ee456f -[UIWindow sendEvent:] + 262\n    19  UIKit                               0x32ecd313 -[UIApplication sendEvent:] + 298\n    20  UIKit                               0x32eccc53 _UIApplicationHandleEvent + 5090\n    21  GraphicsServices                    0x32977e77 PurpleEventCallback + 666\n    22  CoreFoundation                      0x317fba97 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26\n    23  CoreFoundation                      0x317fd83f __CFRunLoopDoSource1 + 166\n    24  CoreFoundation                      0x317fe60d __CFRunLoopRun + 520\n    25  CoreFoundation                      0x3178eec3 CFRunLoopRunSpecific + 230\n    26  CoreFoundation                      0x3178edcb CFRunLoopRunInMode + 58\n    27  GraphicsServices                    0x3297741f GSEventRunModal + 114\n    28  GraphicsServices                    0x329774cb GSEventRun + 62\n    29  UIKit                               0x32ef7d69 -[UIApplication _run] + 404\n    30  UIKit                               0x32ef5807 UIApplicationMain + 670\n    31  VisualMath                          0x00002207 main + 70\n    32  VisualMath                          0x000021bc start + 40\n)\n<\/code><\/pre>\n<p>I have try many option but not able to solve this problem<\/p>\n<p>Please help me to solve this problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have create one application for child game. It load 12 different question for each round . but after 4 round is completed my application get crash with the following log ImageIO: CGImageRead_mapData &#8216;open&#8217; failed &#8216;\/var\/mobile\/Applications\/4B0202F9-5961-4AC7-A327-604620AF1F94\/test.app\/pi_ok.png&#8217; error = 24 (Too many open files) 2011-03-24 02:26:34.743 [424:707] *** Terminating app due to uncaught exception &#8216;NSInternalInconsistencyException&#8217;, reason: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4635","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4635"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4635\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}