Sunday, November 1, 2009

Re: [android-developers] Mystery Null Pointer Error - Seeking Opinions

Mark,

Doh?  How did I miss this? 

I was testing the state of an object within a service that had not yet been restarted (resurrected?) after dying.

I think I was stuck on the onPrepareOptionsMenu part for some reason and did not look at #377.

Thank so much for the second set of eyes!
Jason

On Sat, Oct 31, 2009 at 1:33 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
Jason Van Anden wrote:
> 10-31 14:12:03.667: ERROR/AndroidRuntime(7369): Uncaught handler: thread
> main exiting due to uncaught exception
>
> 10-31 14:12:04.077: ERROR/AndroidRuntime(7369):
> java.lang.NullPointerException
> 10-31 14:12:04.077: ERROR/AndroidRuntime(7369):     at
> com.bubblebeats.free.Peeps.onPrepareOptionsMenu(Peeps.java:377)

So...what's on line 377 of Peeps.java?

Personally, I'm hoping for a sugar-coated marshmallow confection, mostly
because Peeps are made by a local firm... ;-)

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

--
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

--
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

No comments:

Post a Comment