a4arun2010 / google-mobile-dev

Automatically exported from code.google.com/p/google-mobile-dev
0 stars 0 forks source link

AFMA Android SDK v3.1 on Firmware version 1.5 bug report #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
GoogleAdView IN TabActivity, on Firmware version 1.5, when you click the second 
tab GoogleAdView will throw NullPointerException.

work great on 1.6 and above.

09-08 22:07:52.039 W/dalvikvm( 2428): threadid=3: thread exiting with uncaught 
exception (group=0x4000fe70)
09-08 22:07:52.044 E/AndroidRuntime( 2428): Uncaught handler: thread main 
exiting due to uncaught exception
09-08 22:07:52.249 E/AndroidRuntime( 2428): java.lang.NullPointerException
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.View.getLocationOnScreen(View.java:6785)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.google.ads.GoogleAdView.generateHtml(GoogleAdView.java:482)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.google.ads.GoogleAdView.showAds(GoogleAdView.java:341)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.google.ads.GoogleAdView.showAds(GoogleAdView.java:314)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.google.ads.GoogleAdView.onWindowFocusChanged(GoogleAdView.java:390)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.google.ads.GoogleAdView.onAttachedToWindow(GoogleAdView.java:319)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.View.dispatchAttachedToWindow(View.java:5213)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:1013)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:1018)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:1018)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:1018)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.addViewInner(ViewGroup.java:1851)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.addView(ViewGroup.java:1711)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.addView(ViewGroup.java:1691)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.widget.TabHost.setCurrentTab(TabHost.java:313)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:126)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:268)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.View.performClick(View.java:2179)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.View.onTouchEvent(View.java:3828)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.View.dispatchTouchEvent(View.java:3368)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:831)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(P
honeWindow.java:1756)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow
.java:1214)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.app.Activity.dispatchTouchEvent(Activity.java:1993)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneW
indow.java:1740)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1525)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.os.Looper.loop(Looper.java:123)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
android.app.ActivityThread.main(ActivityThread.java:3948)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
java.lang.reflect.Method.invokeNative(Native Method)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
java.lang.reflect.Method.invoke(Method.java:521)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
09-08 22:07:52.249 E/AndroidRuntime( 2428):     at 
dalvik.system.NativeStart.main(Native Method)
09-08 22:07:52.434 I/Process ( 1859): Sending signal. PID: 2428 SIG: 3
09-08 22:07:52.434 I/dalvikvm( 2428): threadid=7: reacting to signal 3

Original issue reported on code.google.com by ben.flas...@gmail.com on 9 Sep 2010 at 2:28

GoogleCodeExporter commented 8 years ago
I have exactly same stacktrace is there a workaround?

Original comment by bost...@gmail.com on 15 Dec 2010 at 11:09

GoogleCodeExporter commented 8 years ago
AFMA superseded by Google AdMob Ads SDK.

Original comment by wesgood...@google.com on 26 Jul 2011 at 10:23