question

William Alexander avatar image
William Alexander asked

Amazon Ads Exception

Hi, I'm getting the following exception from my app in the Amazon store. It appears to have an issue reading the mac address from the device. I guess this is an issue for the developers at Amazon. Thanks, William The user's device is the following: http://androidfragmentation.com/database/v/dr/590595/oem/unknown/dm/Full%20Android%20on%20SMDKV210/carrier/Unknown;jsessionid=5896015318DBB522ABEBE3C756899864 The exception is: # java.lang.RuntimeException: Unable to start activity ComponentInfo{com.williamalexander.android.relaxationbowl/com.williamalexander.android.relaxationbowl.StartActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638) at android.app.ActivityThread.access$1500(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3647) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.amazon.device.ads.InternalAdRegistration.getMacAddress(InternalAdRegistration.java:724) at com.amazon.device.ads.InternalAdRegistration$DeviceInfo. (InternalAdRegistration.java:187) at com.amazon.device.ads.InternalAdRegistration. (InternalAdRegistration.java:319) at com.amazon.device.ads.InternalAdRegistration.getInstance(InternalAdRegistration.java:684) at com.amazon.device.ads.AdRegistration.enableTesting(AdRegistration.java:70) at com.williamalexander.android.relaxationbowl.BaseTabActivity.onCreate(BaseTabActivity.java:35) at com.williamalexander.android.relaxationbowl.StartActivity.onCreate(StartActivity.java) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586) ... 11 more java.lang.NullPointerException at com.amazon.device.ads.InternalAdRegistration.getMacAddress(InternalAdRegistration.java:724) at com.amazon.device.ads.InternalAdRegistration$DeviceInfo. (InternalAdRegistration.java:187) at com.amazon.device.ads.InternalAdRegistration. (InternalAdRegistration.java:319) at com.amazon.device.ads.InternalAdRegistration.getInstance(InternalAdRegistration.java:684) at com.amazon.device.ads.AdRegistration.enableTesting(AdRegistration.java:70) at com.williamalexander.android.relaxationbowl.BaseTabActivity.onCreate(BaseTabActivity.java:35) at com.williamalexander.android.relaxationbowl.StartActivity.onCreate(StartActivity.java) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638) at android.app.ActivityThread.access$1500(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3647) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method)
mobile ads
10 |5000 characters needed characters left characters exceeded

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

1 Answer

Matt15@Amazon avatar image
Matt15@Amazon answered
Hey William, Thank you for calling this issue to our attention. It will be addressed in an upcoming release. Matt
10 |5000 characters needed characters left characters exceeded

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