Crash after receiving an admob ad..

by SriramKS » Tue, 12 Apr 2011 07:23:46 GMT


Sponsored Links
 4-10 04:13:53.395: INFO/Ads(6915): Received ad url: <"url": "http://
r.admob.com:80/ad_source.php?
preqs=3&u_sd=1.5&u_w=480&slotname.......................

04-10 04:13:54.739: INFO/global(6915): Default buffer size used in
BufferedReader constructor. It would be better to be explicit if an 8k-
char buffer is required.
04-10 04:13:54.895: WARN/dalvikvm(6915): threadid=17: thread exiting
with uncaught exception (group=0x400208b0)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): FATAL EXCEPTION:
AsyncTask #2
04-10 04:13:54.926: ERROR/AndroidRuntime(6915):
java.lang.RuntimeException: An error occured while executing
doInBackground()
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.os.AsyncTask$3.done(AsyncTask.java:200)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:
273)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.util.concurrent.FutureTask.setException(FutureTask.java:124)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.util.concurrent.FutureTask.run(FutureTask.java:137)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1068)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:561)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
java.lang.Thread.run(Thread.java:1096)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): Caused by:
android.view.ViewRoot$CalledFromWrongThreadException: Only the
original thread that created a view hierarchy can touch its views.
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.ViewRoot.checkThread(ViewRoot.java:2819)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.ViewRoot.requestLayout(ViewRoot.java:603)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.widget.RelativeLayout.requestLayout(RelativeLayout.java:254)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.widget.RelativeLayout.requestLayout(RelativeLayout.java:254)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.requestLayout(View.java:8127)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.setFlags(View.java:4501)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.view.View.setVisibility(View.java:3030)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at c.a(Unknown
Source)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
c.doInBackground(Unknown Source)
04-10 04:13:54.926: ERROR/AndroidRuntime(6915): at
android.os.Asy



Re: Crash after receiving an admob ad..

by TreKing » Tue, 12 Apr 2011 10:29:51 GMT


 What exactly do you want us to do with a giant stacktrace of your code?
Besides tell you to read it since it tells you exactly what went wrong?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Other Threads

1. Any ACTION_SCREEN_ON useable replacement?

Hi,

My app shows some info in notification area and I wanted to update this info
once screen gets on. While ACTION_SCREEN_ON looked promising it did not work
at all so, as documentation is not helpful on this (when there will be
option to add comments to the SDK documentation?!) I checked Android source
to find out that this broadcast is for registered receivers only. Anyone got
idea how could I sort that out w/o firing frequent alarm and other battery
draining things?

Regards,
Marcin Orlowski

Tray Agenda for Android <http://bit.ly/trayagenda>

-- 

2. About method

Hi All,
     Can I use public static void main method in android application?
Thank you.

-- 

3. Android Chrome Plugin is not work in HTC NexusOne

4. Honeycomb / ApiDemos / Fragments: ActionBarTabs activity not working

5. Android 2.3.3 and NFC Modes

6. Android WhiteBox Testing

7. Downloading Videos using Service but facing problem with respect to Wifi Connection