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


Jesse Gravenor
Jesse Gravenor
27,272 Points

Sending Video - null pointer error on emulator, but not device

I an getting the null pointer error when launching the Self-Destructing Message app to the emulator through Android Studio. I spent a good bit of time yesterday going over everything that I did for Adding File to Message Part 1 & 2 an Sending Message sections. I had no errors up until then. I was about to go even further into what might be errors in my code again when I decided to test on my device. It ran without an error and worked at selecting and sending everything I threw at it. I am not going to put any more time into the null pointer error at this point. I just wanted to give others notice that if you are seeing this error, you might want to check with a physical device if you can.