views:

37

answers:

2

Hi Everyone,

I'm getting a strange crash time to time. But I can't figure out what it is. Can anyone help me?...Following is the console message that I'm getting...

*** Terminating app due to uncaught exception 
'NSInternalInconsistencyException', reason: 'Could   not load NIB in bundle: 
'NSBundle </var/mobile/Applications/36FA484A-7CB9-4F6E-8068-5C186D7899C9/6Zer0   
Test.app> (loaded)' with name 'Stage5ViewController''

*** Call stack at first throw:
(
0   CoreFoundation                      0x30db5fd3 __exceptionPreprocess + 114
1   libobjc.A.dylib                     0x30a798a5 objc_exception_throw + 24
2   CoreFoundation                      0x30db5e91 +[NSException raise:format:arguments:] + 68
3   CoreFoundation                      0x30db5ecb +[NSException raise:format:] + 34
4   UIKit                               0x332b4b43 -[UINib instantiateWithOwner:options:] + 1110
5   UIKit                               0x332b5ef9 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 92
6   UIKit                               0x3322a361 -[UIViewController _loadViewFromNibNamed:bundle:] + 36
7   UIKit                               0x331905f5 -[UIViewController loadView] + 80
8   UIKit                               0x331158ab -[UIViewController view] + 30
9   UIKit                               0x331274eb -[UIViewController contentScrollView] + 22
10  UIKit                               0x3312735b -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 30
11  UIKit                               0x33127259 -[UINavigationController _layoutViewController:] + 24
12  UIKit                               0x33126d61 -[UINavigationController _startTransition:fromViewController:toViewController:] + 380
13  UIKit                               0x33126b6f -[UINavigationController _startDeferredTransitionIfNeeded] + 182
14  UIKit                               0x33126ab3 -[UINavigationController viewWillLayoutSubviews] + 14
15  UIKit                               0x331266e7 -[UILayoutContainerView layoutSubviews] + 138
16  UIKit                               0x330be6ab -[UIView(CALayerDelegate) _layoutSublayersOfLayer:] + 26
17  CoreFoundation                      0x30d417ff -[NSObject(NSObject) performSelector:withObject:] + 22
18  QuartzCore                          0x32392585 -[CALayer layoutSublayers] + 120
19  QuartzCore                          0x3239233d CALayerLayoutIfNeeded + 184
20  QuartzCore                          0x32391e0f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 210
21  QuartzCore                          0x32391b69 _ZN2CA11Transaction6commitEv + 192
22  QuartzCore                          0x3239740d _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 52
23  CoreFoundation                      0x30d8ba49 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
24  CoreFoundation                      0x30d8d475 __CFRunLoopDoObservers + 412
25  CoreFoundation                      0x30d8e77b __CFRunLoopRun + 854
26  CoreFoundation                      0x30d378eb CFRunLoopRunSpecific + 230
27  CoreFoundation                      0x30d377f3 CFRunLoopRunInMode + 58
28  GraphicsServices                    0x303816ef GSEventRunModal + 114
29  GraphicsServices                    0x3038179b GSEventRun + 62
30  UIKit                               0x330b52a7 -[UIApplication _run] + 402
31  UIKit                               0x330b3e17 UIApplicationMain + 670
32  6Zer0 Test                          0x000022c3 main + 70
33  6Zer0 Test                          0x00002244 start + 52
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.

Thanks.

A: 

check your NIB name is it exactly Stage5ViewController

Gyani
Yes. It's Stage5ViewController..
deamonsarea
this error usually occur when application doesn't found the specified NIB in directory specified
Gyani
A: 

Yes. The name Stage5ViewController is correct.

I think I found the problem. I'm playing like 6 to 7 mp3 files in my app from time to time. After some time, when I'm going to another view controller the audio player throws an error and the above message comes. But I don't understand how?....Can anyone help?....

Thanks...

deamonsarea
Perhaps you didn't retain something, and the OS decided to release it when you were put of memory from playing so many mp3s.
John Smith