java.lang.RuntimeException: An error occured while executing doInBackground()

JIRA | Dong Jun | 1 year ago
  1. 0

    Impacted Cases ============== Reproduce Test Steps ==================== 1. use make_apk.py package HexGL. 2. click the app then quit. 3. click the app again. Expected Outcome ================ the app could launch successfully. Actual Outcome ============== the app crashed. Test Case Source Code ===================== Test Builds =========== Issue Analysis ============== The crash log: E/AndroidRuntime( 2816): FATAL EXCEPTION: AsyncTask #2 E/AndroidRuntime( 2816): Process: org.xwalk.hexgldemo, PID: 2816 E/AndroidRuntime( 2816): java.lang.RuntimeException: An error occured while executing doInBackground() E/AndroidRuntime( 2816): at android.os.AsyncTask$3.done(AsyncTask.java:300) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.setException(FutureTask.java:222) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.run(FutureTask.java:242) E/AndroidRuntime( 2816): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) E/AndroidRuntime( 2816): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) E/AndroidRuntime( 2816): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) E/AndroidRuntime( 2816): at java.lang.Thread.run(Thread.java:841) E/AndroidRuntime( 2816): Caused by: junit.framework.AssertionFailedError: Expected: <null> but was: org.xwalk.core.XWalkCoreWrapper@b3d23238 E/AndroidRuntime( 2816): at junit.framework.Assert.fail(Assert.java:50) E/AndroidRuntime( 2816): at junit.framework.Assert.assertTrue(Assert.java:20) E/AndroidRuntime( 2816): at junit.framework.Assert.assertNull(Assert.java:237) E/AndroidRuntime( 2816): at junit.framework.Assert.assertNull(Assert.java:230) E/AndroidRuntime( 2816): at org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:77) E/AndroidRuntime( 2816): at org.xwalk.core.XWalkLibraryLoader$DockTask.doInBackground(XWalkLibraryLoader.java:283) E/AndroidRuntime( 2816): at org.xwalk.core.XWalkLibraryLoader$DockTask.doInBackground(XWalkLibraryLoader.java:264) E/AndroidRuntime( 2816): at android.os.AsyncTask$2.call(AsyncTask.java:288) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.run(FutureTask.java:237)

    JIRA | 1 year ago | Dong Jun
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    Impacted Cases ============== Reproduce Test Steps ==================== 1. use make_apk.py package HexGL. 2. click the app then quit. 3. click the app again. Expected Outcome ================ the app could launch successfully. Actual Outcome ============== the app crashed. Test Case Source Code ===================== Test Builds =========== Issue Analysis ============== The crash log: E/AndroidRuntime( 2816): FATAL EXCEPTION: AsyncTask #2 E/AndroidRuntime( 2816): Process: org.xwalk.hexgldemo, PID: 2816 E/AndroidRuntime( 2816): java.lang.RuntimeException: An error occured while executing doInBackground() E/AndroidRuntime( 2816): at android.os.AsyncTask$3.done(AsyncTask.java:300) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.setException(FutureTask.java:222) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.run(FutureTask.java:242) E/AndroidRuntime( 2816): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) E/AndroidRuntime( 2816): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) E/AndroidRuntime( 2816): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) E/AndroidRuntime( 2816): at java.lang.Thread.run(Thread.java:841) E/AndroidRuntime( 2816): Caused by: junit.framework.AssertionFailedError: Expected: <null> but was: org.xwalk.core.XWalkCoreWrapper@b3d23238 E/AndroidRuntime( 2816): at junit.framework.Assert.fail(Assert.java:50) E/AndroidRuntime( 2816): at junit.framework.Assert.assertTrue(Assert.java:20) E/AndroidRuntime( 2816): at junit.framework.Assert.assertNull(Assert.java:237) E/AndroidRuntime( 2816): at junit.framework.Assert.assertNull(Assert.java:230) E/AndroidRuntime( 2816): at org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:77) E/AndroidRuntime( 2816): at org.xwalk.core.XWalkLibraryLoader$DockTask.doInBackground(XWalkLibraryLoader.java:283) E/AndroidRuntime( 2816): at org.xwalk.core.XWalkLibraryLoader$DockTask.doInBackground(XWalkLibraryLoader.java:264) E/AndroidRuntime( 2816): at android.os.AsyncTask$2.call(AsyncTask.java:288) E/AndroidRuntime( 2816): at java.util.concurrent.FutureTask.run(FutureTask.java:237)

    JIRA | 1 year ago | Dong Jun
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    testOneShotPullReplBulkGet failed on jenkins: Expected: <null> but was: org.apache.http.client.HttpResponseException: NOT ACCEPTABLE

    GitHub | 11 months ago | andreibaranouski
    junit.framework.AssertionFailedError: Expected: <null> but was: org.apache.http.client.HttpResponseException: NOT ACCEPTABLE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 120#197254392

    GitHub | 9 months ago | cuter74
    junit.framework.AssertionFailedError: Expected: <null> but was: file:///android_asset/www/login.html
  6. 0

    I do not know why that error occurred.

    GitHub | 9 months ago | cuter74
    junit.framework.AssertionFailedError: Expected: <<\null\>> but was: file:///android_asset/www/login.html

    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. junit.framework.AssertionFailedError

      Expected: <null> but was: org.xwalk.core.XWalkCoreWrapper@b3d23238

      at junit.framework.Assert.fail()
    2. JUnit
      Assert.assertNull
      1. junit.framework.Assert.fail(Assert.java:50)
      2. junit.framework.Assert.assertTrue(Assert.java:20)
      3. junit.framework.Assert.assertNull(Assert.java:237)
      4. junit.framework.Assert.assertNull(Assert.java:230)
      4 frames
    3. org.xwalk.core
      XWalkLibraryLoader$DockTask.doInBackground
      1. org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:77)
      2. org.xwalk.core.XWalkLibraryLoader$DockTask.doInBackground(XWalkLibraryLoader.java:283)
      3. org.xwalk.core.XWalkLibraryLoader$DockTask.doInBackground(XWalkLibraryLoader.java:264)
      3 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame