question

beatificbytes avatar image
beatificbytes asked

NullPointerException in amazon-ads-5.5.102 (latest version available)

Hello, I recently published a new app update with the amazon-ads version no 5.5.102. Unfortunately since the update I get many NullPointerExceptions. Here is the stacktrace: java.lang.NullPointerException at com.amazon.device.ads.AdLoader.finalizeFetchAd(AdLoader.java:383) at com.amazon.device.ads.AdLoader$2.run(AdLoader.java:98) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4575) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556) at dalvik.system.NativeStart.main(NativeStart.java) Is there any known workaround until a new amazon-ads library will be available? Many thanks!
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ross@Amazon avatar image
Ross@Amazon answered
The mobile ads team has been made aware of the issue and a solution is currently in progress.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Pancho avatar image
Pancho answered
Thanks for the quick response! Note that the issue is still there in 5.5.135.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

beatificbytes avatar image
beatificbytes answered
Hello Ross, it's been about 10 days since your first response to the issue. Is there an upcoming bug fix release planned? Is it possible to share a release date? Thanks!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Wobus avatar image
Wobus answered
Does the new SDK (5.5.149) fix the problem ?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

beatificbytes avatar image
beatificbytes answered
Hello Wobus, they say it is fixed in the release notes: https://developer.amazon.com/appsandservices/apis/earn/mobile-ads/docs/release-notes I'll have to monitor crash reports and will report back in a few days. Cheers!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick Gardner avatar image
Nick Gardner answered
Thanks, this issue has indeed been fixed in the new sdk release. Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

beatificbytes avatar image
beatificbytes answered
Hello everyone, there are [b]no[/b] errors in my crash report tool with the version no. 5.5.149. Thanks
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.