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. Calling a stored procedure and committing

i've written other hh applications in eVB and .NET that pass variables
to a .ASP object and in turn, calls a stored procedure and updates sql
databases.  the problem i had in the past was knowing if the the
stored procedure actual succeeded because wireless is not 100%
reliable.  to get around this i created a buffer table in sql server
that would store the passed url's and the MAC addresses and the ASP
would loop until the transaction got completed.  at the same time the
hh application checks a boolean value in the buffer table to see if
the app is allowed to send another statement.  i wish i could find a
way to make a more efficient process and still have the ability to
commit a true transaction.

i guess my question is: does this new development environment contain
any objects that will handle this scenario?

i hope this makes sense to somebody.
--~--~---------~--~----~------------~-------~--~----~

2. What could cause a managed cursor not to update?

> Here is a link where I posted this issue awile back, and got no reply.
> <

3. What could cause a managed cursor not to update?

4. What could cause a managed cursor not to update?

5. Project post-mortems

6. PowerManager goToSleep method time interval

7. Menus question