It could be due to println not exististing in the packages included with
android. I would suggest using Log.w(), Log.e() or Log.n() for logging and
viewing points.  Not entirely sure why the println doesn't work.

Sent via Mobile device... mind the spelling errors I might have rushed!
On Dec 26, 2011 8:25 AM, "John Goche" <johngoch...@googlemail.com> wrote:

>
> Hello,
>
> I have run across the following strange error message. From within an
> button's on click
> listener I call System.out.println(Foo.bar) so as to debug my program and
> get the following
> error message:
>
> D/AndroidRuntime( 2313): Shutting down VM
>
> W/dalvikvm( 2313): threadid=1: thread exiting with uncaught exception
> (group=0x40015560)
>
> E/AndroidRuntime( 2313): FATAL EXCEPTION: main
>
> E/AndroidRuntime( 2313): java.lang.NullPointerException
>
> E/AndroidRuntime( 2313):     at
> com.android.internal.os.LoggingPrintStream.println(LoggingPrintStream.java:298)
>
> Anyone know what this is all about?
>
> Thanks,
>
> John Goche
>
> --
> 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+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to