Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Relating Users in Parse.com Adding the Edit Friends Screen

Thread 1: signal SIGABRT

Hi,

when i click the edit button under the friends tab. the app doesn't show any of the users I created and gives the the Thread 1: signal SIGABRT error, under this

int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([SafarAppDelegate class])); } }

anyone know what's going on?

Ben Jakuben , do you think you can help me with this?

2 Answers

Stone Preston
Stone Preston
42,016 Points

looks like youve got an exception being thrown. there should be some more info in the console. can you find anymore information about the error in the console?

I have same problem, Im working on What is NSDictionary, I followed what Amit said. I checked code and compare with his work but nothing different. Whats going on ???

2014-05-10 19:59:01.526 BlogReader[29782:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSDictionary dictionaryWithObjectsAndKeys:]: second object of each pair must be non-nil. Or, did you forget to nil-terminate your parameter list?' *** First throw call stack: ( 0 CoreFoundation 0x017ec1e4 exceptionPreprocess + 180 1 libobjc.A.dylib 0x0156b8e5 objc_exception_throw + 44 2 CoreFoundation 0x017cdb23 +[NSDictionary dictionaryWithObjectsAndKeys:] + 979 3 BlogReader 0x00002834 -[TableViewController viewDidLoad] + 260 4 UIKit 0x0034a33d -[UIViewController loadViewIfRequired] + 696 5 UIKit 0x0034a5d9 -[UIViewController view] + 35 6 UIKit 0x0026a267 -[UIWindow addRootViewControllerViewIfPossible] + 66 7 UIKit 0x0026a5ef -[UIWindow _setHidden:forced:] + 312 8 UIKit 0x0026a86b -[UIWindow _orderFrontWithoutMakingKey] + 49 9 UIKit 0x002753c8 -[UIWindow makeKeyAndVisible] + 65 10 UIKit 0x00225bc0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 2097 11 UIKit 0x0022a667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 12 UIKit 0x0023ef92 -[UIApplication handleEvent:withNewEvent:] + 3517 13 UIKit 0x0023f555 -[UIApplication sendEvent:] + 85 14 UIKit 0x0022c250 _UIApplicationHandleEvent + 683 15 GraphicsServices 0x037e1f02 _PurpleEventCallback + 776 16 GraphicsServices 0x037e1a0d PurpleEventCallback + 46 17 CoreFoundation 0x01767ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 53 18 CoreFoundation 0x017679db __CFRunLoopDoSource1 + 523 19 CoreFoundation 0x0179268c __CFRunLoopRun + 2156 20 CoreFoundation 0x017919d3 CFRunLoopRunSpecific + 467 21 CoreFoundation 0x017917eb CFRunLoopRunInMode + 123 22 UIKit 0x00229d9c -[UIApplication _run] + 840 23 UIKit 0x0022bf9b UIApplicationMain + 1225 24 BlogReader 0x00002e5d main + 141 25 libdyld.dylib 0x01e33701 start + 1 26 ??? 0x00000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)