java.lang.RuntimeException: Unable to start activity ComponentInfo{org.xwalk.app.hello.world/org.xwalk.app.hello.world.HelloWorldActivity}: java.lang.UnsupportedOperationException: load

JIRA | Joone Hur | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Impacted Cases ============== Reproduce Test Steps ==================== adb -s emulator-5554 install -r out/Release/apks/XWalkAppHelloWorld.apk run XWalkAppHelloWorld from launcher. Expected Outcome ================ The hello world applicaiton should launch. Actual Outcome ============== E/AndroidRuntime( 1130): FATAL EXCEPTION: main E/AndroidRuntime( 1130): Process: org.xwalk.app.hello.world, PID: 1130 E/AndroidRuntime( 1130): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.xwalk.app.hello.world/org.xwalk.app.hello.world.HelloWorldActivity}: java.lang.UnsupportedOperationException: load E/AndroidRuntime( 1130): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) E/AndroidRuntime( 1130): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) E/AndroidRuntime( 1130): at android.app.ActivityThread.access$800(ActivityThread.java:151) E/AndroidRuntime( 1130): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) E/AndroidRuntime( 1130): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime( 1130): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime( 1130): at android.app.ActivityThread.main(ActivityThread.java:5254) E/AndroidRuntime( 1130): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 1130): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime( 1130): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) E/AndroidRuntime( 1130): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) E/AndroidRuntime( 1130): Caused by: java.lang.UnsupportedOperationException: load E/AndroidRuntime( 1130): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57) E/AndroidRuntime( 1130): at org.xwalk.core.XWalkView.load(XWalkView.java:298) E/AndroidRuntime( 1130): at org.xwalk.app.runtime.XWalkCoreProviderImpl.loadAppFromUrl(XWalkCoreProviderImpl.java:41) E/AndroidRuntime( 1130): at org.xwalk.app.runtime.XWalkRuntimeView.loadAppFromUrl(XWalkRuntimeView.java:80) E/AndroidRuntime( 1130): at org.xwalk.app.hello.world.HelloWorldActivity.didTryLoadRuntimeView(HelloWorldActivity.java:24) E/AndroidRuntime( 1130): at org.xwalk.app.XWalkRuntimeActivityBase.tryLoadRuntimeView(XWalkRuntimeActivityBase.java:150) E/AndroidRuntime( 1130): at org.xwalk.app.XWalkRuntimeActivityBase.onCreate(XWalkRuntimeActivityBase.java:56) E/AndroidRuntime( 1130): at org.xwalk.app.hello.world.HelloWorldActivity.onCreate(HelloWorldActivity.java:17) E/AndroidRuntime( 1130): at android.app.Activity.performCreate(Activity.java:5990) E/AndroidRuntime( 1130): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) E/AndroidRuntime( 1130): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) E/AndroidRuntime( 1130): ... 10 more Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 1 year ago | Joone Hur
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.xwalk.app.hello.world/org.xwalk.app.hello.world.HelloWorldActivity}: java.lang.UnsupportedOperationException: load
  2. 0

    Impacted Cases ============== Reproduce Test Steps ==================== adb -s emulator-5554 install -r out/Release/apks/XWalkAppHelloWorld.apk run XWalkAppHelloWorld from launcher. Expected Outcome ================ The hello world applicaiton should launch. Actual Outcome ============== E/AndroidRuntime( 1130): FATAL EXCEPTION: main E/AndroidRuntime( 1130): Process: org.xwalk.app.hello.world, PID: 1130 E/AndroidRuntime( 1130): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.xwalk.app.hello.world/org.xwalk.app.hello.world.HelloWorldActivity}: java.lang.UnsupportedOperationException: load E/AndroidRuntime( 1130): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) E/AndroidRuntime( 1130): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) E/AndroidRuntime( 1130): at android.app.ActivityThread.access$800(ActivityThread.java:151) E/AndroidRuntime( 1130): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) E/AndroidRuntime( 1130): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime( 1130): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime( 1130): at android.app.ActivityThread.main(ActivityThread.java:5254) E/AndroidRuntime( 1130): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 1130): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime( 1130): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) E/AndroidRuntime( 1130): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) E/AndroidRuntime( 1130): Caused by: java.lang.UnsupportedOperationException: load E/AndroidRuntime( 1130): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57) E/AndroidRuntime( 1130): at org.xwalk.core.XWalkView.load(XWalkView.java:298) E/AndroidRuntime( 1130): at org.xwalk.app.runtime.XWalkCoreProviderImpl.loadAppFromUrl(XWalkCoreProviderImpl.java:41) E/AndroidRuntime( 1130): at org.xwalk.app.runtime.XWalkRuntimeView.loadAppFromUrl(XWalkRuntimeView.java:80) E/AndroidRuntime( 1130): at org.xwalk.app.hello.world.HelloWorldActivity.didTryLoadRuntimeView(HelloWorldActivity.java:24) E/AndroidRuntime( 1130): at org.xwalk.app.XWalkRuntimeActivityBase.tryLoadRuntimeView(XWalkRuntimeActivityBase.java:150) E/AndroidRuntime( 1130): at org.xwalk.app.XWalkRuntimeActivityBase.onCreate(XWalkRuntimeActivityBase.java:56) E/AndroidRuntime( 1130): at org.xwalk.app.hello.world.HelloWorldActivity.onCreate(HelloWorldActivity.java:17) E/AndroidRuntime( 1130): at android.app.Activity.performCreate(Activity.java:5990) E/AndroidRuntime( 1130): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) E/AndroidRuntime( 1130): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) E/AndroidRuntime( 1130): ... 10 more Test Case Source Code ===================== Test Builds =========== Issue Analysis ==============

    JIRA | 1 year ago | Joone Hur
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.xwalk.app.hello.world/org.xwalk.app.hello.world.HelloWorldActivity}: java.lang.UnsupportedOperationException: load
  3. 0

    CrossWalk Webview not launching URL

    Stack Overflow | 1 year ago | yogsma
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.abc.securitySampleApp/com.abc.securitySampleApp.MainActivity}: java.lang.UnsupportedOperationException: load
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      load

      at org.xwalk.core.ReflectMethod.invoke()
    2. org.xwalk.core
      XWalkView.load
      1. org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57)
      2. org.xwalk.core.XWalkView.load(XWalkView.java:298)
      2 frames
    3. org.xwalk.app
      HelloWorldActivity.onCreate
      1. org.xwalk.app.runtime.XWalkCoreProviderImpl.loadAppFromUrl(XWalkCoreProviderImpl.java:41)
      2. org.xwalk.app.runtime.XWalkRuntimeView.loadAppFromUrl(XWalkRuntimeView.java:80)
      3. org.xwalk.app.hello.world.HelloWorldActivity.didTryLoadRuntimeView(HelloWorldActivity.java:24)
      4. org.xwalk.app.XWalkRuntimeActivityBase.tryLoadRuntimeView(XWalkRuntimeActivityBase.java:150)
      5. org.xwalk.app.XWalkRuntimeActivityBase.onCreate(XWalkRuntimeActivityBase.java:56)
      6. org.xwalk.app.hello.world.HelloWorldActivity.onCreate(HelloWorldActivity.java:17)
      6 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5990)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
      5. android.app.ActivityThread.access$800(ActivityThread.java:151)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5254)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames