Thursday, November 24, 2011

Re: [android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList



On Thursday, November 24, 2011 2:35:29 PM UTC-8, Kristopher Micinski wrote:
On Thu, Nov 24, 2011 at 1:52 PM, Lew <lewb...@gmail.com> wrote:
>  BelvCompSvs wrote:
>>
>> I'm just here to confirm what the other two coders told you ~ I found
>> it on first read place a catch( Throwable ) around the call
>> to .print_result(MyService.
>
> That's actually pretty bad advice.  Don't place a 'catch (Throwable ...)'
> around anything.
>

Ever?

That is a good question.

I suggest asking it each time the situation comes up.

-- 
Lew

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate