java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I get a random crash when I load our company's internall auth page in the embedded XWalkWebView: 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.getPadding(android.graphics.Rect)' on a null object reference 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at org.chromium.ui.DropdownPopupWindow.<init>(DropdownPopupWindow.java:80) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at org.chromium.ui.autofill.AutofillPopup.<init>(AutofillPopup.java:48) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at org.xwalk.core.internal.XWalkAutofillClientAndroid.showAutofillPopup(XWalkAutofillClientAndroid.java:49) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at android.os.Looper.loop(Looper.java:135) 06-28 08:33:52.408 2549-2549/com.craig.examples.xwalk W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254) 06-28 08:33:52.409 2549-2549/com.craig.examples.xwalk W/System.err: at java.lang.reflect.Method.invoke(Native Method) 06-28 08:33:52.409 2549-2549/com.craig.examples.xwalk W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) 06-28 08:33:52.409 2549-2549/com.craig.examples.xwalk W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 06-28 08:33:52.409 2549-2549/com.craig.examples.xwalk W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    via by Clifton Craig,
  • GitHub comment 3208#269913963
    via GitHub by tuna-einstein
    ,
  • GitHub comment 5115#269913875
    via GitHub by tuna-einstein
    ,
    • java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.getPadding(android.graphics.Rect)' on a null object reference at org.chromium.ui.DropdownPopupWindow.<init>(DropdownPopupWindow.java:80) at org.chromium.ui.autofill.AutofillPopup.<init>(AutofillPopup.java:48) at org.xwalk.core.internal.XWalkAutofillClientAndroid.showAutofillPopup(XWalkAutofillClientAndroid.java:49) at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    No Bugmate found.