question

Jefit, Inc. avatar image
Jefit, Inc. asked

Crash on Rooted device on sdk version 5.6.20. Please see logs.

We have more than ten users all crash on 5.6.2 version. All devices are rooted. Please see the logs. We don't have any of these issues before upgrading the SDK. Please Help. Crash 1: Fatal Exception: java.lang.NullPointerException com.amazon.device.ads.AdLayout$AdLayoutAdControlCallback.onAdFailed (SourceFile:1313) com.amazon.device.ads.AdController$5.run (SourceFile:1406) android.os.Handler.handleCallback (Handler.java:733) android.os.Handler.dispatchMessage (Handler.java:95) android.os.Looper.loop (Looper.java:146) android.app.ActivityThread.main (ActivityThread.java:5635) java.lang.reflect.Method.invokeNative (Method.java) java.lang.reflect.Method.invoke (Method.java:515) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1291) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1107) de.robv.android.xposed.XposedBridge.main (XposedBridge.java:132) dalvik.system.NativeStart.main (NativeStart.java) Crash 2: Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'void com.amazon.device.ads.az.a( com.amazon.device.ads.ae, com.amazon.device.ads.bi)' on a null object reference raw com.amazon.device.ads.AdLayout$AdLayoutAdControlCallback.notifyAdShowing (SourceFile:1302) com.amazon.device.ads.AdLayout$AdLayoutAdControlCallback.onAdRendered (SourceFile:1291) com.amazon.device.ads.AdController$7.run (SourceFile:1439) android.os.Handler.handleCallback (Handler.java:739) android.os.Handler.dispatchMessage (Handler.java:95) android.os.Looper.loop (Looper.java:135) android.app.ActivityThread.main (ActivityThread.java:5292) java.lang.reflect.Method.invoke (Method.java) java.lang.reflect.Method.invoke (Method.java:372) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:699) de.robv.android.xposed.XposedBridge.main (XposedBridge.java:115)
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.

1 Answer

Nick Gardner avatar image
Nick Gardner answered
Hi, Based on those logs, it looks like not only are the devices rooted, but that they also have Xposed installed. Since Xposed modules with root can modify essentially any method called anywhere on the system, any number of things could be causing this to happen. Since this use case is not supported, I would suggest telling the users to either uninstall the Xposed framework or un-root their phone. 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.