NullPointerException happened in com.google.android.gms.DynamiteModulesA:686

5,806 views
Skip to first unread message

Keven Wood

unread,
Jun 2, 2016, 3:18:30 AM6/2/16
to Google Mobile Ads SDK Developers

Hi:


I used the latest Admob native sdk in my application.


The Doc link is: https://firebase.google.com/docs/admob/android/native-advanced

The native ad is more beautiful than before, but i found some NullPointerExceptions in my UMeng server:


There are two categories issues:


1. Happens on the android platform: 4.0, 4.1, 4.2, 4.3, 4.4:


java.lang.NullPointerException

at rx.a(:com.google.android.gms.DynamiteModulesA:686)

at rr.a(:com.google.android.gms.DynamiteModulesA:3308)

at rt.a(:com.google.android.gms.DynamiteModulesA:1230)

at avl.a(:com.google.android.gms.DynamiteModulesA:840)

at awb.run(:com.google.android.gms.DynamiteModulesA:45)

at android.os.Handler.handleCallback(Handler.java:733)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:157)

at android.app.ActivityThread.main(ActivityThread.java:5633)

at java.lang.reflect.Method.invokeNative(Method.java)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:896)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:712)

at dalvik.system.NativeStart.main(NativeStart.java)


2. Happens on the android platform: 5.0, 5.1, 6.0


java.lang.NullPointerException: Attempt to invoke interface method 'android.view.View xq.e()' on a null object reference

at rx.a(:com.google.android.gms.DynamiteModulesA:686)

at rr.a(:com.google.android.gms.DynamiteModulesA:3308)

at rr.onGlobalLayout(:com.google.android.gms.DynamiteModulesA:561)

at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:986)

at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2210)

at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1301)

at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7016)

at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)

at android.view.Choreographer.doCallbacks(Choreographer.java:590)

at android.view.Choreographer.doFrame(Choreographer.java:560)

at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:145)

at android.app.ActivityThread.main(ActivityThread.java:6946)

at java.lang.reflect.Method.invoke(Method.java)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)


Following is my code:


app/build.gradle

dependencies {
   

    compile
'com.google.android.gms:play-services-analytics:9.0.0'
    compile
'com.google.android.gms:play-services-appinvite:9.0.0'
   

    compile
'com.google.firebase:firebase-ads:9.0.0'
}


In My Activity.


AdLoader mAdLoder;
NativeContentAd mContentAd;
NativeContentAdView mAdview;

@Override
   
protected void onCreate(Bundle savedInstanceState) {
       
...
        mAdLoder
= new AdLoader.Builder();
        mAdview
= findViewById(R.id.xxx);
       
...
   
}
   
   
@Override
    protected void onResume() {
       
...
       
//Just illustrate the ContentAD callback state.
       
if (mContentAd != null) {
            mContentAd
.destroy();
       
}

       
if (mAdLoder != null && !mAdLoder.isLoading()) {
           
AdRequest adRequest = new AdRequest.Builder().build();
            mAdLoder
.loadAd(adRequest);
       
}
       
...
   
}

   
@Override
    protected void onPause() {
       
...
       
if (mContentAd != null) {
            mContentAd
.destroy();
            mContentAd
= null;
       
}
       
...
   
}

   
@Override
    protected void onDestroy() {
       
...
       
// I cannot find other Api to release adLoader, so i do it as following:
        mAdview
.destroy();
       
...
   
}



Is there any problems on my code? If not what should i do to resolve this issue or make a work around about it.


Thanks

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 2, 2016, 1:01:34 PM6/2/16
to Google Mobile Ads SDK Developers
Hi Keven,

Your code looks fine.  Calling .destroy() in the Activity#onDestroy() is correct.  Just to make sure we are on the same page, I have a couple of questions for you:
  1. Are you able to replicate this crash locally when you use our sample Native Ad project?  Let us know if you are able to.  If the crash doesn't happen, something might be up with a specific creative that is shown.
  2. Would you be interested in implementing Native Ad Express?  With Native Ad Express, we are offloading all creative-specific logic to the server, so there's minimal work you'd need to worry about in your client-side code.  That reduces any edge cases for code-based crashes.
Vu Chau
Mobile Ads SDK Team

Keven Wood

unread,
Jun 3, 2016, 12:23:13 AM6/3/16
to Google Mobile Ads SDK Developers

HI Vu:


Thank you for your reply.


I have added my comments below your questions.


BR

Keven


On Friday, June 3, 2016 at 1:01:34 AM UTC+8, Vu Chau (Mobile Ads SDK Team) wrote:
Hi Keven,

Your code looks fine.  Calling .destroy() in the Activity#onDestroy() is correct.  Just to make sure we are on the same page, I have a couple of questions for you:
  1. Are you able to replicate this crash locally when you use our sample Native Ad project?  Let us know if you are able to.  If the crash doesn't happen, something might be up with a specific creative that is shown.
RE: These are random crash, i cannot reproduce the issue on my device, The crash logs were found on my analyse server and produce by end users, so i think i cannot reproduce this issue based on the sample code. 
  1. Would you be interested in implementing Native Ad Express?  With Native Ad Express, we are offloading all creative-specific logic to the server, so there's minimal work you'd need to worry about in your client-side code.  That reduces any edge cases for code-based crashes.
RE: I implemented the native ad before, but i need redefine the layout of native ad, so I change to com.google.firebase:firebase-ads:9.0.0 instead of com.google.android.gms:play-services-ads:9.0.0, then the issue comes. I am sorry, i cannot implement the Native Ad Express to avoid the issue.

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 3, 2016, 11:58:46 AM6/3/16
to Google Mobile Ads SDK Developers
Thanks, Keven!

I have informed the rest of the team of these crash instances yesterday, so I'll update you once I hear back from them.

Vu Chau
Mobile Ads SDK Team

Keven Wood

unread,
Jun 13, 2016, 5:27:19 AM6/13/16
to Google Mobile Ads SDK Developers


Hi Vu:


We are trying to fix this issue, find a doc in release note: Doc Link


  • For this release only, apps that use ProGuard to post-process their application need to add the following keep option to their ProGuard configuration file:
    -keep public @com.google.android.gms.common.util.DynamiteApi class * { *; }


We do not add the line into our ProGuard file in our release version.


Is the issue related to the ProGuard configuration?


Should we fix this issue, if added the line into our ProGuard file?


BR

Keven

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 13, 2016, 12:41:41 PM6/13/16
to Google Mobile Ads SDK Developers
Hi Keven,

At this time I don't have information whether there is a connection between the ProGuard issue (where the SDK behaves like its "lite" version that does not have the Google Play services components, hence the keep option) and this Native Ad NPE.  

Since there are two newer releases out since 9.0.0 (namely, 9.0.1 and 9.0.2), would you be able to try recompiling your app against either of those and let us know if the NPE recurs?

Thanks!

Vu Chau
Mobile Ads SDK Team

Keven Wood

unread,
Jun 13, 2016, 11:10:34 PM6/13/16
to Google Mobile Ads SDK Developers

Hi Vu:


We have updated the version of Firebase from 9.0.0 to 9.0.2, also can reproduce this issue.


Thanks.


BR

Keven

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 14, 2016, 11:45:23 AM6/14/16
to Google Mobile Ads SDK Developers
Hi Keven,

Thanks for confirming!

Vu Chau
Mobile Ads SDK Team

Keven Wood

unread,
Jun 20, 2016, 4:00:42 AM6/20/16
to Google Mobile Ads SDK Developers
Hi Vu:

We have gotten a new exception about GMS recently, seems the new one is relative about the bug reported.

Following is the crash stack:

java.lang.ExceptionInInitializerError

at hrh.<init>(:com.google.android.gms:99)

at hrh.<init>(:com.google.android.gms:85)

at hqu.<init>(:com.google.android.gms:14)

at hrb.<init>(:com.google.android.gms:35)

at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)

at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)

at krn.onTransact(:com.google.android.gms:83)

at android.os.Binder.transact(Binder.java:361)

at aqb.a(:com.google.android.gms.DynamiteModulesA:155)

at apn.a(:com.google.android.gms.DynamiteModulesA:293)

at apo.a(:com.google.android.gms.DynamiteModulesA:97)

at app.a(:com.google.android.gms.DynamiteModulesA:108)

at apn.a(:com.google.android.gms.DynamiteModulesA:216)

at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)

at mu.a(:com.google.android.gms.DynamiteModulesA:32)

at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)

at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)

at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)

at com.google.android.gms.ads.internal.a.a(:com.google.android.gms.DynamiteModulesA:312)

at com.google.android.gms.ads.internal.z.run(:com.google.android.gms.DynamiteModulesA:100)

at android.os.Handler.handleCallback(Handler.java:733)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:136)

at android.app.ActivityThread.main(ActivityThread.java:5135)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.NullPointerException

at hbu.a(:com.google.android.gms:1246)

at hbr.b(:com.google.android.gms:198)

at com.google.android.gms.common.threads.internal.GlobalExecutorsImpl.<clinit>(:com.google.android.gms:1217)

... 29 more

java.lang.NullPointerException

at hbu.a(:com.google.android.gms:1246)

at hbr.b(:com.google.android.gms:198)

at com.google.android.gms.common.threads.internal.GlobalExecutorsImpl.<clinit>(:com.google.android.gms:1217)

at hrh.<init>(:com.google.android.gms:99)

at hrh.<init>(:com.google.android.gms:85)

at hqu.<init>(:com.google.android.gms:14)

at hrb.<init>(:com.google.android.gms:35)

at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)

at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)

at krn.onTransact(:com.google.android.gms:83)

at android.os.Binder.transact(Binder.java:361)

at aqb.a(:com.google.android.gms.DynamiteModulesA:155)

at apn.a(:com.google.android.gms.DynamiteModulesA:293)

at apo.a(:com.google.android.gms.DynamiteModulesA:97)

at app.a(:com.google.android.gms.DynamiteModulesA:108)

at apn.a(:com.google.android.gms.DynamiteModulesA:216)

at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)

at mu.a(:com.google.android.gms.DynamiteModulesA:32)

at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)

at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)

at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)

at com.google.android.gms.ads.internal.a.a(:com.google.android.gms.DynamiteModulesA:312)

at com.google.android.gms.ads.internal.z.run(:com.google.android.gms.DynamiteModulesA:100)

at android.os.Handler.handleCallback(Handler.java:733)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:136)

at android.app.ActivityThread.main(ActivityThread.java:5135)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)

at dalvik.system.NativeStart.main(Native Method)


BR
Keven  

Lawrence Bautista

unread,
Jun 20, 2016, 1:23:14 PM6/20/16
to Google Mobile Ads SDK Developers
Hi Vu, I'm getting the same original error as Keven. See the stacktrace:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.View xq.e()' on a null object reference
       at rx.a(:com.google.android.gms.DynamiteModulesA:686)
       at rr.a(:com.google.android.gms.DynamiteModulesA:3308)
       at rt.a(:com.google.android.gms.DynamiteModulesA:1230)
       at avl.a(:com.google.android.gms.DynamiteModulesA:840)
       at awb.run(:com.google.android.gms.DynamiteModulesA:45)
       at android.os.Handler.handleCallback(Handler.java:739)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:145)
       at android.app.ActivityThread.main(ActivityThread.java:5832)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

We are using com.google.android.gms:play-services-ads:8.3.0. It was a sudden dramatic increase crashes starting around June 13

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 20, 2016, 2:34:34 PM6/20/16
to Google Mobile Ads SDK Developers
Keven & Lawrence,

Thanks.  I have relayed the stack traces to the rest of the team.

Vu Chau
Mobile Ads SDK Team

Message has been deleted

Marco Batista

unread,
Jun 24, 2016, 4:36:07 AM6/24/16
to Google Mobile Ads SDK Developers
I'm having the exact same issue. On my case it seems to have started on the 16th of June, and is affected all past and current versions of my apps that have Google Ads on it.

Here are the stack trace of one the apps:

Fatal Exception: java.lang.ExceptionInInitializerError
       at hrh.<init>(:com.google.android.gms:99)
       at hrh.<init>(:com.google.android.gms:85)
       at hqu.<init>(:com.google.android.gms:14)
       at hrb.<init>(:com.google.android.gms:35)
       at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
       at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
       at krn.onTransact(:com.google.android.gms:83)
       at android.os.Binder.transact(Binder.java:361)
       at aqb.a(:com.google.android.gms.DynamiteModulesA:155)
       at apn.a(:com.google.android.gms.DynamiteModulesA:293)
       at apo.a(:com.google.android.gms.DynamiteModulesA:97)
       at app.a(:com.google.android.gms.DynamiteModulesA:108)
       at apn.a(:com.google.android.gms.DynamiteModulesA:216)
       at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)
       at mu.a(:com.google.android.gms.DynamiteModulesA:32)
       at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)
       at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)
       at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)
       at com.google.android.gms.ads.internal.ab.a(:com.google.android.gms.DynamiteModulesA:151)
       at com.google.android.gms.ads.internal.a.a(:com.google.android.gms.DynamiteModulesA:312)
       at com.google.android.gms.ads.internal.client.ai.onTransact(:com.google.android.gms.DynamiteModulesA:81)
       at android.os.Binder.transact(Binder.java:361)
       at com.google.android.gms.ads.internal.client.zzu$zza$zza.zzb(Unknown Source)
       at com.google.android.gms.ads.internal.client.zzac.zza(Unknown Source)
       at com.google.android.gms.ads.InterstitialAd.loadAd(Unknown Source)
Caused by java.lang.NullPointerException
       at hbu.a(:com.google.android.gms:1246)
       at hbr.b(:com.google.android.gms:198)
       at com.google.android.gms.common.threads.internal.GlobalExecutorsImpl.<clinit>(:com.google.android.gms:1217)
       at hrh.<init>(:com.google.android.gms:99)
       at hrh.<init>(:com.google.android.gms:85)
       at hqu.<init>(:com.google.android.gms:14)
       at hrb.<init>(:com.google.android.gms:35)
       at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
       at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
       at krn.onTransact(:com.google.android.gms:83)
       at android.os.Binder.transact(Binder.java:361)
       at aqb.a(:com.google.android.gms.DynamiteModulesA:155)
       at apn.a(:com.google.android.gms.DynamiteModulesA:293)
       at apo.a(:com.google.android.gms.DynamiteModulesA:97)
       at app.a(:com.google.android.gms.DynamiteModulesA:108)
       at apn.a(:com.google.android.gms.DynamiteModulesA:216)
       at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)
       at mu.a(:com.google.android.gms.DynamiteModulesA:32)
       at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)
       at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)
       at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)
       at com.google.android.gms.ads.internal.ab.a(:com.google.android.gms.DynamiteModulesA:151)
       at com.google.android.gms.ads.internal.a.a(:com.google.android.gms.DynamiteModulesA:312)
       at com.google.android.gms.ads.internal.client.ai.onTransact(:com.google.android.gms.DynamiteModulesA:81)
       at android.os.Binder.transact(Binder.java:361)
       at com.google.android.gms.ads.internal.client.zzu$zza$zza.zzb(Unknown Source)
       at com.google.android.gms.ads.internal.client.zzac.zza(Unknown Source)
       at com.google.android.gms.ads.InterstitialAd.loadAd(Unknown Source)

Best regards,
Marco Batista

Dong Yan

unread,
Jun 24, 2016, 5:45:28 AM6/24/16
to Google Mobile Ads SDK Developers
This issue also happened in our application recently. And this issue has been the No.1 now. Too many crashes now.
It seems happen in the dynamic loaded codes. 
Please help fix this.

{STACK_TRACE=java.lang.ExceptionInInitializerError
at hrh.<init>(:com.google.android.gms:99)
at hrh.<init>(:com.google.android.gms:85)
at hqu.<init>(:com.google.android.gms:14)
at hrb.<init>(:com.google.android.gms:35)
at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
at krn.onTransact(:com.google.android.gms:83)
at android.os.Binder.transact(Binder.java:361)
at aqb.a(:com.google.android.gms.DynamiteModulesA:155)
at apn.a(:com.google.android.gms.DynamiteModulesA:293)
at apo.a(:com.google.android.gms.DynamiteModulesA:97)
at app.a(:com.google.android.gms.DynamiteModulesA:108)
at apn.a(:com.google.android.gms.DynamiteModulesA:216)
at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)
at mu.a(:com.google.android.gms.DynamiteModulesA:32)
at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)
at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)
at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)
at com.google.android.gms.ads.internal.zzh.boolean zzbg()(:com.google.android.gms.DynamiteModulesA:312)
                                            android.content.Context zzp(android.content.Context)
at com.google.android.gms.ads.internal.z.run(:com.google.android.gms.DynamiteModulesA:100)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at hbu.a(:com.google.android.gms:1246)
at hbr.b(:com.google.android.gms:198)
at com.google.android.gms.common.threads.internal.GlobalExecutorsImpl.<clinit>(:com.google.android.gms:1217)
... 29 more
java.lang.NullPointerException
at hbu.a(:com.google.android.gms:1246)
at hbr.b(:com.google.android.gms:198)
at com.google.android.gms.common.threads.internal.GlobalExecutorsImpl.<clinit>(:com.google.android.gms:1217)
at hrh.<init>(:com.google.android.gms:99)
at hrh.<init>(:com.google.android.gms:85)
at hqu.<init>(:com.google.android.gms:14)
at hrb.<init>(:com.google.android.gms:35)
at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
at krn.onTransact(:com.google.android.gms:83)
at android.os.Binder.transact(Binder.java:361)
at aqb.a(:com.google.android.gms.DynamiteModulesA:155)
at apn.a(:com.google.android.gms.DynamiteModulesA:293)
at apo.a(:com.google.android.gms.DynamiteModulesA:97)
at app.a(:com.google.android.gms.DynamiteModulesA:108)
at apn.a(:com.google.android.gms.DynamiteModulesA:216)
at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)
at mu.a(:com.google.android.gms.DynamiteModulesA:32)
at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)
at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)
at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)
at com.google.android.gms.ads.internal.zzh.boolean zzbg()(:com.google.android.gms.DynamiteModulesA:312)
                                            android.content.Context zzp(android.content.Context)
at com.google.android.gms.ads.internal.z.run(:com.google.android.gms.DynamiteModulesA:100)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
at dalvik.system.NativeStart.main(Native Method)


在 2016年6月2日星期四 UTC+8下午3:18:30,Keven Wood写道:

Dong Yan

unread,
Jun 24, 2016, 5:50:26 AM6/24/16
to Google Mobile Ads SDK Developers
All happened in HUAWEI devices: HWY625-U


在 2016年6月2日星期四 UTC+8下午3:18:30,Keven Wood写道:

Hi:

Odie

unread,
Jun 24, 2016, 5:18:08 PM6/24/16
to Google Mobile Ads SDK Developers
We're seeing this problem as well. It started recently. The crash rate is high. But that seems like it's because it's 100% repro rate for certain users.

The crash first appeared June 17th. 

Here's the specific devices and crash counts:
HUAWEI Y625-U43 - 1361
Lenovo S580 - 792
ASUS_X003 - 574
SM-J110G - 481
HUAWEI Y625-U13 - 473
HUAWEI Y625-U32 - 449
SM-T235Y - 294
HUAWEI Y625-U21 - 105
Kavak Y625-U03 - 17

android 4.4.2 - 3465
android 4.4.4 - 1052

0 java.lang.ExceptionInInitializerError
1 at hrh.<init>(:com.google.android.gms:99)
2 at hrh.<init>(:com.google.android.gms:85)
3 at hqu.<init>(:com.google.android.gms:14)
4 at hrb.<init>(:com.google.android.gms:35)
5 at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
6 at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
7 at krn.onTransact(:com.google.android.gms:83)
8 at android.os.Binder.transact(Binder.java:361)
9 at aqb.a(:com.google.android.gms.DynamiteModulesA:155)
10 at apn.a(:com.google.android.gms.DynamiteModulesA:293)
11 at apo.a(:com.google.android.gms.DynamiteModulesA:97)
12 at app.a(:com.google.android.gms.DynamiteModulesA:108)
13 at apn.a(:com.google.android.gms.DynamiteModulesA:216)
14 at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)
15 at mu.a(:com.google.android.gms.DynamiteModulesA:32)
16 at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)
17 at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)
18 at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)
19 at com.google.android.gms.ads.internal.ab.a(:com.google.android.gms.DynamiteModulesA:151)
20 at com.google.android.gms.ads.internal.a.a(:com.google.android.gms.DynamiteModulesA:312)
21 at com.google.android.gms.ads.internal.client.ai.onTransact(:com.google.android.gms.DynamiteModulesA:81)
22 at android.os.Binder.transact(Binder.java:361)
! 23 at com.google.android.gms.ads.internal.client.zzs$zza$zza.zzb(Unknown Source)
24 at com.google.android.gms.ads.internal.client.zzaa.zza(Unknown Source)
25 zza
26 at com.google.android.gms.ads.doubleclick.PublisherInterstitialAd.loadAd(Unknown Source)

Odie

unread,
Jun 24, 2016, 5:23:59 PM6/24/16
to Google Mobile Ads SDK Developers
Oh, and using Play Services 8.3.0
Message has been deleted

Mohammad Ahmad

unread,
Jun 24, 2016, 5:58:26 PM6/24/16
to Google Mobile Ads SDK Developers
Hi,
I'm getting the same crash

I got 51 app crashes in 3 days with this crash report:

Here is the stack trace:
    Fatal Exception: java.lang.ExceptionInInitializerError
       at hrh
.(:com.google.android.gms)
       at hrh
.(:com.google.android.gms)
       at hqu
.(:com.google.android.gms)
       at hrb
.(:com.google.android.gms)

       at com
.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
       at com
.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
       at krn
.onTransact(:com.google.android.gms:83)
       at android
.os.Binder.transact(Binder.java:361)
       at aqb
.a(:com.google.android.gms.DynamiteModulesA:155)
       at apn
.a(:com.google.android.gms.DynamiteModulesA:293)
       at apo
.a(:com.google.android.gms.DynamiteModulesA:97)
       at app
.a(:com.google.android.gms.DynamiteModulesA:108)
       at apn
.a(:com.google.android.gms.DynamiteModulesA:216)

       at mu
.(:com.google.android.gms.DynamiteModulesA)

       at mu
.a(:com.google.android.gms.DynamiteModulesA:32)
       at com
.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)

       at com
.google.android.gms.ads.internal.zzb.zza(:com.google.android.gms.DynamiteModulesA:537)
       at com
.google.android.gms.ads.internal.zzb.zza(:com.google.android.gms.DynamiteModulesA:144)
       at com
.google.android.gms.ads.internal.ClientApi.retainReference(:com.google.android.gms.DynamiteModulesA:312)
       at com
.google.android.gms.ads.internal.zzn.zza(:com.google.android.gms.DynamiteModulesA:116)
       at com
.google.android.gms.ads.internal.client.zzz.onTransact(:com.google.android.gms.DynamiteModulesA:81)
       at android
.os.Binder.transact(Binder.java:361)
       at com
.google.android.gms.ads.internal.client.zzu$zza$zza.zzaM(Unknown Source)
       at com
.google.android.gms.ads.internal.client.zzab.destroy(Unknown Source)
       at com
.google.android.gms.ads.BaseAdView.loadAd(Unknown Source)
       at com
.google.android.gms.ads.AdView.resume(Unknown Source)
       at club
.androidy.callcontrolfree.Activities.MainActivity.onCreate(MainActivity.java:182)
       at android
.app.Activity.performCreate(Activity.java:5289)

It's happening on HUAWEI Y625 phones with android version 4.4.2 only

I'm using SDK version 8.4.0 as the latest version doesn't deliver ads to devices that doesn't have google play services installed.

    compile 'com.google.android.gms:play-services-ads:8.4.0'

The line that causes the issue is

    mAdView.loadAd(adRequest);

I tried to just catch the exception with try/catch but it seems that's not working because the app is still crashing.


Thank you very much

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 24, 2016, 8:53:51 PM6/24/16
to Google Mobile Ads SDK Developers
Hi all, 

Thanks for the report.  I have forwarded the stack trace for the crash (java.lang.ExceptionInInitializerError) to our engineering team.  It looks like our engineers have existing work for this crash, so I'd imagine having an update soon.

Vu Chau
Mobile Ads SDK Team

Marco Batista

unread,
Jun 25, 2016, 2:10:33 PM6/25/16
to Google Mobile Ads SDK Developers
I don't know if it related (it references the same class com.google.android.gms.DynamiteModulesA) , but today I started getting reports about the following error:

Fatal Exception: java.lang.RuntimeException: Unable to pause activity {com.<APP-PACKAGE>/com.google.android.gms.ads.AdActivity}: java.lang.IllegalArgumentException: Service not registered: awx@ef02364
       at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3381)
       at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3340)
       at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3315)
       at android.app.ActivityThread.access$1100(ActivityThread.java:150)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1362)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:5417)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by java.lang.IllegalArgumentException: Service not registered: awx@ef02364
       at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1044)
       at android.app.ContextImpl.unbindService(ContextImpl.java:1337)
       at android.content.ContextWrapper.unbindService(ContextWrapper.java:616)
       at com.google.android.gms.ads.internal.customtabs.a.a(:com.google.android.gms.DynamiteModulesA:69)
       at com.google.android.gms.ads.internal.mediation.customtabs.c.s(:com.google.android.gms.DynamiteModulesA:122)
       at com.google.android.gms.ads.internal.overlay.ab.n(:com.google.android.gms.DynamiteModulesA:714)
       at com.google.android.gms.ads.internal.overlay.ab.i(:com.google.android.gms.DynamiteModulesA:434)
       at com.google.android.gms.ads.internal.overlay.client.c.onTransact(:com.google.android.gms.DynamiteModulesA:86)
       at android.os.Binder.transact(Binder.java:387)
       at com.google.android.gms.internal.zzgz$zza$zza.onPause(Unknown Source)
       at com.google.android.gms.ads.AdActivity.onPause(Unknown Source)
       at android.app.Activity.performPause(Activity.java:6406)
       at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1312)
       at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3367)
       at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3340)
       at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3315)
       at android.app.ActivityThread.access$1100(ActivityThread.java:150)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1362)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:5417)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Gonzalo Gallotti

unread,
Jun 27, 2016, 9:11:08 AM6/27/16
to Google Mobile Ads SDK Developers
I'm having the same Issue.

+200 reports. From 19th of June.

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 27, 2016, 3:52:36 PM6/27/16
to Google Mobile Ads SDK Developers
Hi all,

Thanks again for all the reports.  We are aware of these occurrences, and barring any technical issues, a fix should be included in the next release.

I will ping the thread again with further information as it arrives.

Vu Chau
Mobile Ads SDK Team

Mohamed Ahmed

unread,
Jun 27, 2016, 4:00:43 PM6/27/16
to google-adm...@googlegroups.com

Hello Vu,
Thank you for the follow up
Can you please speed up things?
Or apps are crashing out there and we are losing our users.
Please hurry up.
Best regards
Mohammad

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/jXQW4gwUEDs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Deng Joye

unread,
Jun 28, 2016, 5:25:42 AM6/28/16
to Google Mobile Ads SDK Developers

Dear Vu

 we have came across the same exception. this exception is our most exception in gp console

java.lang.ExceptionInInitializerError
at hrh.<init>(:com.google.android.gms:99)
at hrh.<init>(:com.google.android.gms:85)
at hqu.<init>(:com.google.android.gms:14)
at hrb.<init>(:com.google.android.gms:35)
at com.google.android.gms.chimera.container.GmsModuleFinder.b(:com.google.android.gms:437)
at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:43)
at krn.onTransact(:com.google.android.gms:83)
at android.os.Binder.transact(Binder.java:361)
at aqb.a(:com.google.android.gms.DynamiteModulesA:155)
at apn.a(:com.google.android.gms.DynamiteModulesA:293)
at apo.a(:com.google.android.gms.DynamiteModulesA:97)
at app.a(:com.google.android.gms.DynamiteModulesA:108)
at apn.a(:com.google.android.gms.DynamiteModulesA:216)
at mu.<init>(:com.google.android.gms.DynamiteModulesA:44)
at mu.a(:com.google.android.gms.DynamiteModulesA:32)
at com.google.android.gms.ads.internal.overlay.bb.a(:com.google.android.gms.DynamiteModulesA:21)
at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:537)
at com.google.android.gms.ads.internal.c.a(:com.google.android.gms.DynamiteModulesA:144)
at com.google.android.gms.ads.internal.a.a(:com.google.android.gms.DynamiteModulesA:312)
at com.google.android.gms.ads.internal.z.run(:com.google.android.gms.DynamiteModulesA:100)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5111)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(NativeStart.java)
Caused by: java.lang.NullPointerException
at hbu.a(:com.google.android.gms:1246)
at hbr.b(:com.google.android.gms:198)
at com.google.android.gms.common.threads.internal.GlobalExecutorsImpl.<clinit>(:com.google.android.gms:1217)
... 29 more

Please help to fix this issue. It can lead to use uninstall our app

Christoph Podkowik

unread,
Jun 28, 2016, 9:56:35 AM6/28/16
to Google Mobile Ads SDK Developers
hi - yes, this needs to be fixed asap. 
We are getting lots of crashes as well.
Any estimated timeframe?

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 28, 2016, 12:24:05 PM6/28/16
to Google Mobile Ads SDK Developers
Hi all,

We expect the fixes to be included in the next GMS release, which should be in July.
As a heads-up, you won't have to recompile your apps.  They will automatically get the fixes once the release is out in production.

Thanks,

Vu Chau
Mobile Ads SDK Team

Rob Truxler

unread,
Jun 29, 2016, 3:03:26 PM6/29/16
to Google Mobile Ads SDK Developers
Thanks Vu Chau. In the mean time, is there a workaround that we can deploy so that our users don't fall out of our apps?

Vu Chau (Mobile Ads SDK Team)

unread,
Jun 29, 2016, 5:14:57 PM6/29/16
to Google Mobile Ads SDK Developers
Hi Rob,

We currently are not able to recommend a workaround, given a fix will be a more effective approach to prevent these crashes from recurring.
A temporary workaround might help but it isn't stable down the road.

Vu Chau
Mobile Ads SDK Team

Serhat Aygun

unread,
Jul 15, 2016, 3:52:38 AM7/15/16
to Google Mobile Ads SDK Developers
Play Services 9.2.1 and still having same crashes.

Vu Chau (Mobile Ads SDK Team)

unread,
Jul 15, 2016, 9:46:42 AM7/15/16
to Google Mobile Ads SDK Developers
Hi Serhat,

The fix is included in the rollout of Google Play services that is scheduled to be 100% complete towards the end of the month.  So, the fix has been live, and as the month draws to a close, you should see the frequency of the crashes gradually decreasing.  

I will continue monitoring the rollout progress and let you know if there is any change.

Vu Chau
Mobile Ads SDK Team

Rob Truxler

unread,
Aug 2, 2016, 10:43:11 AM8/2/16
to Google Mobile Ads SDK Developers
Any updates? This crash is still our largest crash right now.

Vu Chau (Mobile Ads SDK Team)

unread,
Aug 2, 2016, 12:39:27 PM8/2/16
to Google Mobile Ads SDK Developers
Hi Rob,

The latest version of Google Play services should have resolved the above crashes.
Are you still seeing the crash(es) on v9.4.0? If so, could you provide the stack traces / crash logs?

Thanks,

Vu Chau
Mobile Ads SDK Team

Rob Truxler

unread,
Aug 2, 2016, 1:06:58 PM8/2/16
to Google Mobile Ads SDK Developers
Vu,

I was under the impression that crashes would come down on their own as per your earlier response:

"We expect the fixes to be included in the next GMS release, which should be in July.
As a heads-up, you won't have to recompile your apps.  They will automatically get the fixes once the release is out in production."

We're currently on 9.2.0. We can upgrade and see if it goes away...

Thanks, Rob

mmccl...@twobitlabs.com

unread,
Sep 9, 2016, 1:22:38 PM9/9/16
to Google Mobile Ads SDK Developers
We have upgraded to 9.4.0, and are continuing to see this crash.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.View com.google.android.gms.ads.internal.formats.h.e()' on a null object reference
       at com.google.android.gms.ads.internal.activeview.g.a(:com.google.android.gms.DynamiteModulesA:691)
       at com.google.android.gms.ads.internal.activeview.a.a(:com.google.android.gms.DynamiteModulesA:3312)
       at com.google.android.gms.ads.internal.activeview.c.a(:com.google.android.gms.DynamiteModulesA:1234)
       at com.google.android.gms.ads.internal.webview.c.a(:com.google.android.gms.DynamiteModulesA:865)
       at com.google.android.gms.ads.internal.webview.t.run(:com.google.android.gms.DynamiteModulesA:45)
       at android.os.Handler.handleCallback(Handler.java:815)
       at android.os.Handler.dispatchMessage(Handler.java:104)
       at android.os.Looper.loop(Looper.java:194)
       at android.app.ActivityThread.main(ActivityThread.java:5631)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 9, 2016, 4:04:27 PM9/9/16
to Google Mobile Ads SDK Developers
Hi there,

Can you give me a context as to these crashes?
  • Link to your app and where do these crashes originate from.
  • Charles session of your app.
  • Do you feel any particular creative is causing this issue? If so, their Ad Unit IDs.
  • Any more crash logs that you are able to share with us.
Thanks,
Arjun Busani
Mobile Ads SDK Team

mmccl...@twobitlabs.com

unread,
Sep 21, 2016, 10:15:21 AM9/21/16
to Google Mobile Ads SDK Developers
This is still one of our top crashes on Crashlytics, and we're on 9.4.0. Unfortunately, we have not been able to reproduce the crash locally, so I can't refer you to a specific creative. The crash is occurring on a wide variety of devices and Android OS versions -- I don't see any link to a specific platform.

I'm not seeing any link to available memory, % disk free, or devices that are rooted.

The one pattern I'm seeing in logs related to this crash is that it typically happens soon after the user opens a sub-Activity from our "home" Activity, which suggests that the ads are being loaded for the first time.

Based on the stack trace, do you have any theories as to what might be happening? If so, are there test scenarios you would like us to try?

Thanks,
Mark

Vu Chau (Mobile Ads SDK Team)

unread,
Sep 21, 2016, 11:23:26 AM9/21/16
to Google Mobile Ads SDK Developers
Hi Mark,

Appreciated the extra details.  The stack trace is obfuscated, so to debug this crash, we'd need the local Play services version on the device where the stack trace comes from.  Let me know if you have that version.

Vu Chau
Mobile Ads SDK Team

Mark McClelland

unread,
Sep 21, 2016, 11:55:52 AM9/21/16
to google-adm...@googlegroups.com
We do not inspect and log the local Play Services version. Since we deploy the app with 9.4.0, it seems like it would be worth the effort to assume this crash is happening on 9.4.0 and see if the stack track line numbers match up with the corresponding code base.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/jXQW4gwUEDs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

mmccl...@twobitlabs.com

unread,
Sep 26, 2016, 3:10:46 PM9/26/16
to Google Mobile Ads SDK Developers
We are now seeing a very sharp drop-off in occurrences of this crash, with no known change on our side.


On Wednesday, September 21, 2016 at 10:55:52 AM UTC-5, Mark McClelland wrote:
We do not inspect and log the local Play Services version. Since we deploy the app with 9.4.0, it seems like it would be worth the effort to assume this crash is happening on 9.4.0 and see if the stack track line numbers match up with the corresponding code base.

       at club
.androidy.callcontrolfree.Activities.MainActivity.onCreate(<span style="color:#60

Ondřej Čermák

unread,
Oct 31, 2016, 4:14:22 AM10/31/16
to Google Mobile Ads SDK Developers
We're still seeing this a lot, Play services 9.6.1 (in our apk). Also we see this across all Android versions.

The stack trace looks like this:

java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.Map.containsKey(java.lang.Object)' on a null object reference

com.google.android.gms.ads.internal.formats.v.a(:com.google.android.gms.DynamiteModulesA:310)
com.google.android.gms.ads.internal.formats.w.run(:com.google.android.gms.DynamiteModulesA:3037)
android.os.Handler.handleCallback(Handler.java:815)
android.os.Handler.dispatchMessage(Handler.java:104)
android.os.Looper.loop(Looper.java:207)
android.app.ActivityThread.main(ActivityThread.java:5728)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)

On Monday, September 26, 2016 at 12:10:46 PM UTC-7, mmccl...@twobitlabs.com wrote:
We are now seeing a very sharp drop-off in occurrences of this crash, with no known change on our side.

On Wednesday, September 21, 2016 at 10:55:52 AM UTC-5, Mark McClelland wrote:
We do not inspect and log the local Play Services version. Since we deploy the app with 9.4.0, it seems like it would be worth the effort to assume this crash is happening on 9.4.0 and see if the stack track line numbers match up with the corresponding code base.

Vu Chau (Mobile Ads SDK Team)

unread,
Oct 31, 2016, 10:06:02 AM10/31/16
to Google Mobile Ads SDK Developers
Hi Ondřej,

That stack trace points to a different crash.  There is a fix for it and it will ship in a future release of the SDK.  Once we approach the release, I should have more details.

Vu Chau
Mobile Ads SDK Team

Vadim Chekan

unread,
Nov 7, 2016, 10:14:27 AM11/7/16
to Google Mobile Ads SDK Developers
Hi,
 
That stack trace points to a different crash.  There is a fix for it and it will ship in a future release of the SDK.  Once we approach the release, I should have more details.
What is the expected version of the SDK that will include this specific fix? 
We are getting >10K crashes daily and looking forward to get it fixed.

Vu Chau (Mobile Ads SDK Team)

unread,
Nov 7, 2016, 10:49:23 AM11/7/16
to Google Mobile Ads SDK Developers
Hi Vadim,

We aren't able to comment on which version that would include this fix, but we are looking at later this month for the deployment of the fix.

Vu Chau
Mobile Ads SDK Team


       at com
.google.android.gms<span style="c

Igor Armuš

unread,
Jul 23, 2017, 7:16:46 AM7/23/17
to Google Mobile Ads SDK Developers
Hi Vu Chau,
the issue is still present in your official example!
It is being triggered after this call
 "nativeCustomTemplateAd.performClick("MainImage");"

Issue manifested on:
Google Nexus 5 - Marshmallow 6.0.1
Play services 11.0.55
'com.google.android.gms:play-services-ads:11.0.0'


07-23 12:56:48.633 4601-4601/com.google.example.gms.customrenderingexample I/Ads: Starting ad request.
07-23 12:56:48.635 4601-4601/com.google.example.gms.customrenderingexample I/Ads: Use AdRequest.Builder.addTestDevice("E91E7093903251F2C71209586333E56A") to get test ads on this device.
07-23 12:56:50.445 4601-4601/com.google.example.gms.customrenderingexample I/Ads: Ad finished loading.
07-23 12:56:59.431 4601-4601/com.google.example.gms.customrenderingexample E/Ads: Error occured while grabbing click signals.
                                                                                  java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Set android.os.Bundle.keySet()' on a null object reference
                                                                                      at com.google.android.gms.ads.internal.util.aj.b(:com.google.android.gms.DynamiteModulesA:135)
                                                                                      at com.google.android.gms.ads.internal.util.aj.a(:com.google.android.gms.DynamiteModulesA:130)
                                                                                      at com.google.android.gms.ads.internal.formats.o.a(:com.google.android.gms.DynamiteModulesA:45)
                                                                                      at com.google.android.gms.ads.internal.formats.g.c(:com.google.android.gms.DynamiteModulesA:43)
                                                                                      at com.google.android.gms.ads.internal.formats.client.q.onTransact(:com.google.android.gms.DynamiteModulesA:32)
                                                                                      at android.os.Binder.transact(Binder.java:387)
                                                                                      at com.google.android.gms.internal.zzed.zzb(Unknown Source)
                                                                                      at com.google.android.gms.internal.zzpl.performClick(Unknown Source)
                                                                                      at com.google.android.gms.internal.zzpm.performClick(Unknown Source)
                                                                                      at com.google.example.gms.customrenderingexample.MainActivity$4.onClick(MainActivity.java:287)
                                                                                      at android.view.View.performClick(View.java:5204)
                                                                                      at android.view.View$PerformClick.run(View.java:21153)
                                                                                      at android.os.Handler.handleCallback(Handler.java:739)
                                                                                      at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                      at android.os.Looper.loop(Looper.java:148)
                                                                                      at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                                                      at java.lang.reflect.Method.invoke(Native Method)
                                                                                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                                                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)


       at com
.google.android.gms.<sp

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 24, 2017, 1:10:34 AM7/24/17
to Google Mobile Ads SDK Developers
Hi Igor,

This seems to be a different stack trace than the one previously reported in this thread. However, I was also able to see the same error when I tried out our sample apps. 

I would recommend that you re-open a new thread and we will continue our discussion from there. Meanwhile, I will reach out to the rest of the team regarding this issue and I will provide you with any updates once you have created a new thread.

Regards,
Joshua Lagonera
Mobile Ads SDK Team
'com.google.android.gms:play-services-ads:11.0.0'


       at com
.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:</s
Reply all
Reply to author
Forward
0 new messages