Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediationTestSuite.launch() 1.3.0 crash #237

Open
kmityakov opened this issue Apr 9, 2020 · 3 comments
Open

MediationTestSuite.launch() 1.3.0 crash #237

kmityakov opened this issue Apr 9, 2020 · 3 comments

Comments

@kmityakov
Copy link

kmityakov commented Apr 9, 2020

Here's the exception I get when I try to launch MediationTestSuite 1.3.0. Have to fallback to 1.2.2 for now.

java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
        at com.google.android.ads.mediationtestsuite.dataobjects.ConfigurationItem.<init>(ConfigurationItem.java:68)
        at com.google.android.ads.mediationtestsuite.dataobjects.AdUnit.<init>(AdUnit.java:63)
        at com.google.android.ads.mediationtestsuite.utils.MediationConfigClient.getAdUnitsFromCldJson(MediationConfigClient.java:146)
        at com.google.android.ads.mediationtestsuite.utils.MediationConfigClient$1.onResponse(MediationConfigClient.java:110)
        at com.google.android.ads.mediationtestsuite.utils.MediationConfigClient$1.onResponse(MediationConfigClient.java:106)
        at com.android.volley.toolbox.JsonRequest.deliverResponse(JsonRequest.java:90)
        at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
        at android.os.Handler.handleCallback(Handler.java:907)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:216)
        at android.app.ActivityThread.main(ActivityThread.java:7625)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

I use the following ads related dependencies:
implementation 'com.google.firebase:firebase-ads:18.3.0' (Checked on 19.0.1 as well)
implementation 'com.google.ads.mediation:facebook:5.7.1.1'
implementation 'com.google.ads.mediation:inmobi:9.0.2.0'

@stowy
Copy link
Contributor

stowy commented Apr 9, 2020

Thanks for reporting @kmityakov. This issue has come up internally and it will be fixed in the next release of the test suite. In the meantime I recommend sticking with 1.2.2 for now.

@kmityakov
Copy link
Author

@stowy Thanks for the info. I'd keep this open before the new release comes out if you don't mind.

@dasebasto
Copy link

Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants