I had a problem making a Blackberry app. I found some guy who made a tutorial which did what I attempted with mine. I copied the code of the tutorial's app to try and recreate it, just to see it in action. The result: Null Pointer Exception.
I want to know what is triggering this. How can I?
You can view the stacktrace if you catch Throwable instead of catching Exception or any subclass of Exception. e.g.
try
{
//some code
}
catch(Throwable t)
{
//Will automatically show a stacktrace in eclipse.
//I believe on a real device it will put the stacktrace in the eventlog.
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With