Wednesday, August 17, 2011

[android-developers] Re: App Crash during HTTP Post

Hi Murphy,

I checked the logcat, it is showing:

ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main
ERROR/AndroidRuntime(10335): java.lang.NullPointerException

But the issue is, this crash is only occurring when I do HTTP Post of
a large file (>10 MB).

Is it a Android limitation? Anyone encountered this before?

Thanks In Advance,
Perumal

On Aug 17, 7:04 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Wed, Aug 17, 2011 at 7:00 AM, perumal316 <perumal...@gmail.com> wrote:
> > I noticed that during HTTP Post of files to a backend server if the
> > connection is not established (no reception) or the file size is too
> > big (>10MB) my application crashes.
>
> > Is there any way to solve this issue? How do I handle for such errors?
>
> Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
> LogCat and look at the stack trace associated with your crash.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
> Available!

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