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

Building a self destructing messaging app in iOS by Ben

Ben,I received this error while following the video and i cannot find a PFObject with nil values to fix this error message. Please point me in the right direction. Hope to hear from you soon. Thanks. Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Can't use nil for keys or values on PFObject. Use NSNull for values.' *** First throw call stack: (0x2fedbf4b 0x3a26b6af 0x2fedbe8d 0xb6c67 0xaa993 0xf395f 0xf3749 0x3a74ed1b 0x3a74ed07 0x3a74ec9b 0x2fea6819 0x2fea50ed 0x2fe0fc27 0x2fe0fa0b 0x34aee283 0x326b3049 0xa7bd9 0x3a773ab7) libc++abi.dylib: terminating with uncaught exception of type NSException

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

Can you post your code? Did you set a exception breakpoint? If not, check out the debugging basics video to learn how.

3 Answers

I figured that part out. Will post code soon for other error(s). Thanks

test

Hi Ben and Amit, I'm at the fourth to the last video in the self-destructing app titled viewing images using UIImageView, and i keep receiving an error saying that the property "message" is not found on object of type ImageViewController. Ben had us create that property in ImageViewController.h , and i have all the correct import directives in place, and watched the video several times pausing at each step to write the code exactly as Ben does, but i still get this error, I've been coding for awhile but i must be missing something that i just can't figure out..any ideas? Thanks for the help.

Update...i found the issue...dang typo. 7 hours a day of coding, i need a break for a bit :-)