You don't need any try/catch statement dude. You say that just because it's an exception and you want to catch it. Catching it won't solve the problem. In fact it's useless. The question is finding what's causing that NullPointerException, and the stack trace is spit. I work programming with Java, so please don't talk nonsense. And I'm happy you're happy!irfanhb7 wrote:He is probably missing some block of code and as it is an exception, it must be put between a try and catch statement.
I am happy that Wololo agrees with me and that is what matters to me.
@failbit: can you put a breakpoint here
Code: Select all
MobileSkatActivity.context = getApplicationContext();
Advertising