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

Android

Kalin Baxes
Kalin Baxes
6,234 Points

Ribbit App Crashing, Long List in ListView

Hello,

I have been working on the Ribbit app course. I finally have so many messages on my app that the list is longer than my screen. The instant I start scrolling, the app crashes, giving a Null Pointer Exception at a line that shouldn't throw that error (and doesn't throw it until I scroll down). I think it may be an issue with my Array Adapter. Any ideas?

EDIT: Nevermind, I'm an idiot. I went in and modded the adapter and deleted convertView.setTag(holder) in the process

Imran Mouna
Imran Mouna
2,504 Points

Thanks for following up this helped me too, I did the same thing.