What's causing the NullPointerException?
<p>Im just coding the Android application which I thought of in order to learn the SDK a little more and ran into a problem when trying my program with the emulator. The application installs normally and then closes only to give me a logcat saying theres a NullPointerException in the main class. I cant manage to find it anywhere and research says that theres an object being used without it being initialized? I dont think this is possible as if it were the case, Eclipse would give me an error, but in this case it is a runtime exception. I do not have a lot of programming experience especially in Android and this bug is stopping me from seeing if the rest of my program works!</p>

<p>Heres the <a href="http://pastebin.com/hFiX71uc" rel="nofollow">Source</a></p>

<p>and heres the <a href="http://pastebin.com/QMBeaa3a" rel="nofollow">Logcat</a></p>

<p>Thanks in advance for any help</p>
