Re: [Android] AdMob crash

154 views
Skip to first unread message

Eric Leichtenschlag

unread,
Nov 5, 2012, 1:56:43 PM11/5/12
to google-adm...@googlegroups.com
Hi Emanuele,

Are there any steps to reproduce? Also, which device(s) are you seeing this on?

Thanks,
Eric

On Friday, November 2, 2012 1:57:53 PM UTC-7, Emanuele Ricci wrote:
This is the StackTrance of the bug. I'm currently using the latest AdMob version that is GoogleAdMobAdsSdk-6.2.1.jar

I really hope that you have a solution for these kind of bugs because all these crashes are only SDK faults and not client side implementation.
Can you provide a quick fix? Thanks.

Stack Trace
_________________________________
0    java.lang.NullPointerException
1        at android.webkit.WebView.addAccessibilityApisToJavaScript(WebView.java:1513)
2        at android.webkit.WebView.onAttachedToWindow(WebView.java:6682)
3        at android.view.View.dispatchAttachedToWindow(View.java:9811)
4        at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2501)
5        at android.view.ViewGroup.addViewInner(ViewGroup.java:3693)
6        at android.view.ViewGroup.addView(ViewGroup.java:3525)
7        at android.view.ViewGroup.addView(ViewGroup.java:3482)
8        at android.view.ViewGroup.addView(ViewGroup.java:3462)
9        at com.google.ads.internal.d.a(SourceFile:1039)
10        at com.google.ads.internal.d.C(SourceFile:1177)
11        at com.google.ads.internal.c$e.run(SourceFile:202)
12        at android.os.Handler.handleCallback(Handler.java:608)
13        at android.os.Handler.dispatchMessage(Handler.java:92)
14        at android.os.Looper.loop(Looper.java:156)
15        at android.app.ActivityThread.main(ActivityThread.java:5045)
16        at java.lang.reflect.Method.invokeNative(Native Method)
17        at java.lang.reflect.Method.invoke(Method.java:511)
18        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
19        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
20        at dalvik.system.NativeStart.main(Native Method)

Eric Leichtenschlag

unread,
Nov 6, 2012, 5:50:45 PM11/6/12
to google-adm...@googlegroups.com
Hey guys,

This looks like an Android issue that is non-deterministic nor reproducible. One thing you could try doing is adding android:configChanges="orientation|screenSize|keyboardHidden" to your acitivities in the manifest so that the AdView doesn't get destroyed/recreated on rotation.

Thanks,
Eric

On Tuesday, November 6, 2012 1:11:49 AM UTC-8, Mario Lenci wrote:
Hi Eric,
I work with Emanuele.
we don't know how to reproduce it, the only thing we are sure about is that it happens only on Android OS 3.0>.

Thanks,
Mario
Reply all
Reply to author
Forward
0 new messages