Hello all, i am facing crash issue on fastly changiing of views. below is the error log, kindly provide me with a solution.
[ERROR] : The application has crashed with an uncaught exception 'NSInvalidArgumentException'. [ERROR] : Reason: [ERROR] : *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[5] [ERROR] : Stack trace: [ERROR] : 0 CoreFoundation 0x04c7f5c8 __exceptionPreprocess + 152 [ERROR] : 1 libobjc.A.dylib 0x040fa8b6 objc_exception_throw + 44 [ERROR] : 2 CoreFoundation 0x04c33386 -[__NSPlaceholderArray initWithObjects:count:] + 390 [ERROR] : 3 CoreFoundation 0x04c351ae -[NSArray initWithArray:range:copyItems:] + 558 [ERROR] : 4 CoreFoundation 0x04c34f70 -[NSArray initWithArray:copyItems:] + 80 [ERROR] : 5 CoreFoundation 0x04c5718d -[__NSArrayM copyWithZone:] + 77 [ERROR] : 6 libobjc.A.dylib 0x0410cbc1 -[NSObject copy] + 41 [ERROR] : 7 UIKit 0x013b0179 -[UIView(UIViewGestures) gestureRecognizers] + 43 [ERROR] : 8 UIKit 0x013ab9e6 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1176 [ERROR] : 9 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 10 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 11 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 12 UIKit 0x013bd277 -[UIScrollView _didMoveFromWindow:toWindow:] + 65 [ERROR] : 13 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 14 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 15 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 16 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 17 UIKit 0x013a3070 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 162 [ERROR] : 18 Foundation 0x0304d3ec -[NSISEngine withBehaviors:performModifications:] + 107 [ERROR] : 19 Foundation 0x02edd145 -[NSISEngine withAutomaticOptimizationDisabled:] + 48 [ERROR] : 20 UIKit 0x013a2f2d -[UIView(Hierarchy) _postMovedFromSuperview:] + 313 [ERROR] : 21 UIKit 0x013ae031 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1847 [ERROR] : 22 UIKit 0x013a1521 -[UIView(Hierarchy) addSubview:] + 56 [ERROR] : 23 UIKit 0x0133da15 -[_UIParallaxDimmingView didMoveToWindow] + 129 [ERROR] : 24 UIKit 0x013abbe7 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1689 [ERROR] : 25 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 26 UIKit 0x013a3070 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 162 [ERROR] : 27 Foundation 0x0304d3ec -[NSISEngine withBehaviors:performModifications:] + 107 [ERROR] : 28 Foundation 0x02edd145 -[NSISEngine withAutomaticOptimizationDisabled:] + 48 [ERROR] : 29 UIKit 0x013a2f2d -[UIView(Hierarchy) _postMovedFromSuperview:] + 313 [ERROR] : 30 UIKit 0x013ae031 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1847 [ERROR] : 31 UIKit 0x013a1521 -[UIView(Hierarchy) addSubview:] + 56 [ERROR] : 32 UIKit 0x0133a4a2 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 2001 [ERROR] : 33 UIKit 0x013a7f5f +[UIView(Animation) performWithoutAnimation:] + 82 [ERROR] : 34 UIKit 0x013398a6 -[_UINavigationParallaxTransition animateTransition:] + 1155 [ERROR] : 35 UIKit 0x014744de -[UINavigationController _startCustomTransition:] + 3446 [ERROR] : 36 UIKit 0x01480757 -[UINavigationController _startDeferredTransitionIfNeeded:] + 688 [ERROR] : 37 UIKit 0x01481349 -[UINavigationController __viewWillLayoutSubviews] + 57 [ERROR] : 38 UIKit 0x015ba39d -[UILayoutContainerView layoutSubviews] + 213 [ERROR] : 39 UIKit 0x013b0dd7 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355 [ERROR] : 40 libobjc.A.dylib 0x0410c81f -[NSObject performSelector:withObject:] + 70 [ERROR] : 41 QuartzCore 0x022c672a -[CALayer layoutSublayers] + 148 [ERROR] : 42 QuartzCore 0x022ba514 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380 [ERROR] : 43 QuartzCore 0x022ba380 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26[ERROR] : 44 QuartzCore 0x02222156 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294 [ERROR] : 45 QuartzCore 0x022234e1 _ZN2CA11Transaction6commitEv + 393 [ERROR] : 46 QuartzCore 0x02223bb4 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92 [ERROR] : 47 CoreFoundation 0x04c4753e CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30 [ERROR] : 48 CoreFoundation 0x04c4748f CFRunLoopDoObservers + 399 [ERROR] : 49 CoreFoundation 0x04c253b4 __CFRunLoopRun + 1076 [ERROR] : 50 CoreFoundation 0x04c24b33 CFRunLoopRunSpecific + 467 [ERROR] : 51 CoreFoundation 0x04c2494b CFRunLoopRunInMode + 123 [ERROR] : 52 GraphicsServices 0x0521a9d7 GSEventRunModal + 192 [ERROR] : 53 GraphicsServices 0x0521a7fe GSEventRun + 104 [ERROR] : 54 UIKit 0x0134694b UIApplicationMain + 1225 [ERROR] : 55 Permi 0x00003318 main + 456 [ERROR] : 56 libdyld.dylib 0x056c070d start + 1 [ERROR] : 57 ??? 0x00000001 0x0 + 1 [ERROR] : 2014-05-28 17:08:54.438 Permi[31780:80b] *** Terminating app due to uncaught exception ~~~ 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[5]' [ERROR] : *** First throw call stack: [ERROR] : 0 CoreFoundation 0x04c7f5e4 __exceptionPreprocess + 180 [ERROR] : 1 libobjc.A.dylib 0x040fa8b6 objc_exception_throw + 44 [ERROR] : 2 CoreFoundation 0x04c33386 -[__NSPlaceholderArray initWithObjects:count:] + 390 [ERROR] : 3 CoreFoundation 0x04c351ae -[NSArray initWithArray:range:copyItems:] + 558 [ERROR] : 4 CoreFoundation 0x04c34f70 -[NSArray initWithArray:copyItems:] + 80 [ERROR] : 5 CoreFoundation 0x04c5718d -[__NSArrayM copyWithZone:] + 77 [ERROR] : 6 libobjc.A.dylib 0x0410cbc1 -[NSObject copy] + 41 [ERROR] : 7 UIKit 0x013b0179 -[UIView(UIViewGestures) gestureRecognizers] + 43 [ERROR] : 8 UIKit 0x013ab9e6 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1176 [ERROR] : 9 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 10 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 11 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 12 UIKit 0x013bd277 -[UIScrollView _didMoveFromWindow:toWindow:] + 65 [ERROR] : 13 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 14 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 15 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 16 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 17 UIKit 0x013a3070 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 162 [ERROR] : 18 Foundation 0x0304d3ec -[NSISEngine withBehaviors:performModifications:] + 107 [ERROR] : 19 Foundation 0x02edd145 -[NSISEngine withAutomaticOptimizationDisabled:] + 48 [ERROR] : 20 UIKit 0x013a2f2d -[UIView(Hierarchy) _postMovedFromSuperview:] + 313 [ERROR] : 21 UIKit 0x013ae031 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1847 [ERROR] : 22 UIKit 0x013a1521 -[UIView(Hierarchy) addSubview:] + 56 [ERROR] : 23 UIKit 0x0133da15 -[_UIParallaxDimmingView didMoveToWindow] + 129 [ERROR] : 24 UIKit 0x013abbe7 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1689 [ERROR] : 25 UIKit 0x013ab847 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 761 [ERROR] : 26 UIKit 0x013a3070 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 162 [ERROR] : 27 Foundation 0x0304d3ec -[NSISEngine withBehaviors:performModifications:] + 107 [ERROR] : 28 Foundation 0x02edd145 -[NSISEngine withAutomaticOptimizationDisabled:] + 48 [ERROR] : 29 UIKit 0x013a2f2d -[UIView(Hierarchy) _postMovedFromSuperview:] + 313 [ERROR] : 30 UIKit 0x013ae031 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1847 [ERROR] : 31 UIKit 0x013a1521 -[UIView(Hierarchy) addSubview:] + 56 [ERROR] : 32 UIKit 0x0133a4a2 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 2001 [ERROR] : 33 UIKit 0x013a7f5f +[UIView(Animation) performWithoutAnimation:] + 82 [ERROR] : 34 UIKit 0x013398a6 -[_UINavigationParallaxTransition animateTransition:] + 1155 [ERROR] : 35 UIKit 0x014744de -[UINavigationController _startCustomTransition:] + 3446 [ERROR] : 36 UIKit 0x01480757 -[UINavigationController _startDeferredTransitionIfNeeded:] + 688 [ERROR] : 37 UIKit 0x01481349 -[UINavigationController __viewWillLayoutSubviews] + 57 [ERROR] : 38 UIKit 0x015ba39d -[UILayoutContainerView layoutSubviews] + 213 [ERROR] : 39 UIKit 0x013b0dd7 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355 [ERROR] : 40 libobjc.A.dylib 0x0410c81f -[NSObject performSelector:withObject:] + 70 [ERROR] : 41 QuartzCore 0x022c672a -[CALayer layoutSublayers] + 148 [ERROR] : 42 QuartzCore 0x022ba514 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380 [ERROR] : 43 QuartzCore 0x022ba380 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26 [ERROR] : 44 QuartzCore 0x02222156 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294 [ERROR] : 45 QuartzCore 0x022234e1 _ZN2CA11Transaction6commitEv + 393 [ERROR] : 46 QuartzCore 0x02223bb4 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92 [ERROR] : 47 CoreFoundation 0x04c4753e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 30 [ERROR] : 48 CoreFoundation 0x04c4748f __CFRunLoopDoObservers + 399 [ERROR] : 49 CoreFoundation 0x04c253b4 __CFRunLoopRun + 1076 [ERROR] : 50 CoreFoundation 0x04c24b33 CFRunLoopRunSpecific + 467 [ERROR] : 51 CoreFoundation 0x04c2494b CFRunLoopRunInMode + 123 [ERROR] : 52 GraphicsServices 0x0521a9d7 GSEventRunModal + 192 [ERROR] : 53 GraphicsServices 0x0521a7fe GSEventRun + 104 [ERROR] : 54 UIKit 0x0134694b UIApplicationMain + 1225 [ERROR] : 55 Permi 0x00003318 main + 456 [ERROR] : 56 libdyld.dylib 0x056c070d start + 1 [ERROR] : 57 ??? 0x00000001 0x0 + 1 [ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException