NullPointerException Android Development

Sheila Mbadi
Aug 25, 2017 · 1 min read

I am a newbie in Android but I have over 4 years experience working with Java. Though not at an advanced level. When Kotlin was announced as an official language supported by Android I didn’t really understand what the craze about it was within the Android community.

That is until I encountered my first and later on numerous NullPointerExceptions. The application that I was looking at kept on crashing and so I had to catch every block that had issues. That is the case because I didn’t have a better alternative. You can leave better ways of me solving such issues in the comments.

So my conclusion… I will definitely have a look at Kotlin because I hear it has made great advances in solving the issue.

But for now, the journey of being a master Android developer using Java continues…

)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade