java.lang.RuntimeException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException

JIRA | Alexis Menard | 3 years ago
  1. 0

    When running the tests in next they crash the following way : E/AndroidRuntime(10843): FATAL EXCEPTION: main E/AndroidRuntime(10843): java.lang.RuntimeException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException E/AndroidRuntime(10843): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2706) E/AndroidRuntime(10843): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2662) E/AndroidRuntime(10843): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2640) E/AndroidRuntime(10843): at android.app.ActivityThread.access$800(ActivityThread.java:123) E/AndroidRuntime(10843): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158) E/AndroidRuntime(10843): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(10843): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(10843): at android.app.ActivityThread.main(ActivityThread.java:4424) E/AndroidRuntime(10843): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(10843): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime(10843): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) E/AndroidRuntime(10843): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) E/AndroidRuntime(10843): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(10843): Caused by: java.lang.NullPointerException E/AndroidRuntime(10843): at org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:193) E/AndroidRuntime(10843): at org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:24) E/AndroidRuntime(10843): at org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:143) E/AndroidRuntime(10843): at android.app.Application.dispatchActivityPaused(Application.java:182) E/AndroidRuntime(10843): at android.app.Activity.onPause(Activity.java:1245) E/AndroidRuntime(10843): at android.app.Activity.performPause(Activity.java:4564) E/AndroidRuntime(10843): at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1195) E/AndroidRuntime(10843): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2693) E/AndroidRuntime(10843): ... 12 more W/ActivityManager( 240): Error in app org.xwalk.core.xwview.shell running instrumentation ComponentInfo{org.xwalk.core.xwview.test/android.test.InstrumentationTestRunner}: W/ActivityManager( 240): java.lang.NullPointerException W/ActivityManager( 240): java.lang.NullPointerException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException I/ActivityManager( 240): Force stopping package org.xwalk.core.xwview.shell uid=10100 I/ActivityManager( 240): Killing proc 10843:org.xwalk.core.xwview.shell/10100: force stop It seems related to the same refactor of ApplicationStatus. It's one of the only item missing for merging next back.

    JIRA | 3 years ago | Alexis Menard
    java.lang.RuntimeException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException
  2. 0

    When running the tests in next they crash the following way : E/AndroidRuntime(10843): FATAL EXCEPTION: main E/AndroidRuntime(10843): java.lang.RuntimeException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException E/AndroidRuntime(10843): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2706) E/AndroidRuntime(10843): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2662) E/AndroidRuntime(10843): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2640) E/AndroidRuntime(10843): at android.app.ActivityThread.access$800(ActivityThread.java:123) E/AndroidRuntime(10843): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158) E/AndroidRuntime(10843): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(10843): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(10843): at android.app.ActivityThread.main(ActivityThread.java:4424) E/AndroidRuntime(10843): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(10843): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime(10843): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) E/AndroidRuntime(10843): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) E/AndroidRuntime(10843): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(10843): Caused by: java.lang.NullPointerException E/AndroidRuntime(10843): at org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:193) E/AndroidRuntime(10843): at org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:24) E/AndroidRuntime(10843): at org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:143) E/AndroidRuntime(10843): at android.app.Application.dispatchActivityPaused(Application.java:182) E/AndroidRuntime(10843): at android.app.Activity.onPause(Activity.java:1245) E/AndroidRuntime(10843): at android.app.Activity.performPause(Activity.java:4564) E/AndroidRuntime(10843): at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1195) E/AndroidRuntime(10843): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2693) E/AndroidRuntime(10843): ... 12 more W/ActivityManager( 240): Error in app org.xwalk.core.xwview.shell running instrumentation ComponentInfo{org.xwalk.core.xwview.test/android.test.InstrumentationTestRunner}: W/ActivityManager( 240): java.lang.NullPointerException W/ActivityManager( 240): java.lang.NullPointerException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException I/ActivityManager( 240): Force stopping package org.xwalk.core.xwview.shell uid=10100 I/ActivityManager( 240): Killing proc 10843:org.xwalk.core.xwview.shell/10100: force stop It seems related to the same refactor of ApplicationStatus. It's one of the only item missing for merging next back.

    JIRA | 3 years ago | Alexis Menard
    java.lang.RuntimeException: Unable to pause activity {org.xwalk.core.xwview.shell/org.xwalk.core.xwview.test.XWalkViewTestRunnerActivity}: java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.chromium.base.ApplicationStatus.onStateChange()
    2. org.chromium.base
      ApplicationStatus$2.onActivityPaused
      1. org.chromium.base.ApplicationStatus.onStateChange(ApplicationStatus.java:193)
      2. org.chromium.base.ApplicationStatus.access$100(ApplicationStatus.java:24)
      3. org.chromium.base.ApplicationStatus$2.onActivityPaused(ApplicationStatus.java:143)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Application.dispatchActivityPaused(Application.java:182)
      2. android.app.Activity.onPause(Activity.java:1245)
      3. android.app.Activity.performPause(Activity.java:4564)
      4. android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1195)
      5. android.app.ActivityThread.performPauseActivity(ActivityThread.java:2693)
      6. android.app.ActivityThread.performPauseActivity(ActivityThread.java:2662)
      7. android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2640)
      8. android.app.ActivityThread.access$800(ActivityThread.java:123)
      9. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
      10. android.os.Handler.dispatchMessage(Handler.java:99)
      11. android.os.Looper.loop(Looper.java:137)
      12. android.app.ActivityThread.main(ActivityThread.java:4424)
      12 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame