java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.helloworld/com.example.helloworld.helloworld}: java.lang.UnsupportedOperationException: getNavigationHistory

JIRA | lijingjing | 1 year ago
  1. 0

    App which was build with latest cordova-plugin-crosswalk-webview will crash when launch it. Cause by cordova-plugin-splashscreen(version:r2.1.0) conflict with latest cordova-plugin-crosswalk-webview commit(commit id:b304c9ffaebc84aca2ff003db9a5952193204b64). Impacted Cases ============== All Cordova 4.0 test suites. Reproduce Test Steps ==================== for example: 1. cordova create helloworld com.example.hellworld helloworld. 2. cd helloworld & cordova platform add android. 3. cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview . 4. cordova plugin add cordova-plugin-splashscreen. 5. corodva run android. Expected Outcome ================ Helloworld.apk run successfully. Actual Outcome ============== App crashed. Test Builds =========== ||Version||Test Date|| Test Device || Result || |crosswalk 15.44.384.0|2015.08.07| Google Nexus5 ARM | {color:green}Pass{color} | |crosswalk 16.44.387.0|2015.08.17| Google Nexus5 ARM | {color:red}Fail{color} | Issue Analysis ============== Cause by cordova-plugin-splashscreen(version:r2.1.0) conflict with latest cordova-plugin-crosswalk-webview commit(commit id:b304c9ffaebc84aca2ff003db9a5952193204b64).If i build with previous cordova-plugin-crosswalk-webview,app can run successfully. {code} E/AndroidRuntime(26787): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.helloworld/com.example.helloworld.helloworld}: java.lang.UnsupportedOperationException: getNavigationHistory E/AndroidRuntime(26787): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184) E/AndroidRuntime(26787): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) E/AndroidRuntime(26787): at android.app.ActivityThread.access$800(ActivityThread.java:135) E/AndroidRuntime(26787): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) E/AndroidRuntime(26787): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(26787): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime(26787): at android.app.ActivityThread.main(ActivityThread.java:5001) E/AndroidRuntime(26787): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(26787): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(26787): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) E/AndroidRuntime(26787): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) E/AndroidRuntime(26787): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(26787): Caused by: java.lang.UnsupportedOperationException: getNavigationHistory E/AndroidRuntime(26787): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57) E/AndroidRuntime(26787): at org.xwalk.core.XWalkView.getNavigationHistory(XWalkView.java:348) E/AndroidRuntime(26787): at org.crosswalk.engine.XWalkWebViewEngine.canGoBack(XWalkWebViewEngine.java:143) E/AndroidRuntime(26787): at org.apache.cordova.CordovaWebViewImpl.canGoBack(CordovaWebViewImpl.java:393) E/AndroidRuntime(26787): at org.apache.cordova.splashscreen.SplashScreen.loadSpinner(SplashScreen.java:279) E/AndroidRuntime(26787): at org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:93) E/AndroidRuntime(26787): at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:55) E/AndroidRuntime(26787): at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169) E/AndroidRuntime(26787): at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:95) E/AndroidRuntime(26787): at org.apache.cordova.PluginManager.init(PluginManager.java:84) E/AndroidRuntime(26787): at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:116) E/AndroidRuntime(26787): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:138) E/AndroidRuntime(26787): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:208) E/AndroidRuntime(26787): at com.example.helloworld.helloworld.onCreate(helloworld.java:32) E/AndroidRuntime(26787): at android.app.Activity.performCreate(Activity.java:5231) E/AndroidRuntime(26787): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) E/AndroidRuntime(26787): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148) E/AndroidRuntime(26787): ... 11 more W/ActivityManager( 780): Force finishing activity com.example.helloworld/.helloworld {code}

    JIRA | 1 year ago | lijingjing
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.helloworld/com.example.helloworld.helloworld}: java.lang.UnsupportedOperationException: getNavigationHistory
  2. 0

    App which was build with latest cordova-plugin-crosswalk-webview will crash when launch it. Cause by cordova-plugin-splashscreen(version:r2.1.0) conflict with latest cordova-plugin-crosswalk-webview commit(commit id:b304c9ffaebc84aca2ff003db9a5952193204b64). Impacted Cases ============== All Cordova 4.0 test suites. Reproduce Test Steps ==================== for example: 1. cordova create helloworld com.example.hellworld helloworld. 2. cd helloworld & cordova platform add android. 3. cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview . 4. cordova plugin add cordova-plugin-splashscreen. 5. corodva run android. Expected Outcome ================ Helloworld.apk run successfully. Actual Outcome ============== App crashed. Test Builds =========== ||Version||Test Date|| Test Device || Result || |crosswalk 15.44.384.0|2015.08.07| Google Nexus5 ARM | {color:green}Pass{color} | |crosswalk 16.44.387.0|2015.08.17| Google Nexus5 ARM | {color:red}Fail{color} | Issue Analysis ============== Cause by cordova-plugin-splashscreen(version:r2.1.0) conflict with latest cordova-plugin-crosswalk-webview commit(commit id:b304c9ffaebc84aca2ff003db9a5952193204b64).If i build with previous cordova-plugin-crosswalk-webview,app can run successfully. {code} E/AndroidRuntime(26787): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.helloworld/com.example.helloworld.helloworld}: java.lang.UnsupportedOperationException: getNavigationHistory E/AndroidRuntime(26787): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184) E/AndroidRuntime(26787): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) E/AndroidRuntime(26787): at android.app.ActivityThread.access$800(ActivityThread.java:135) E/AndroidRuntime(26787): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) E/AndroidRuntime(26787): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(26787): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime(26787): at android.app.ActivityThread.main(ActivityThread.java:5001) E/AndroidRuntime(26787): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(26787): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(26787): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) E/AndroidRuntime(26787): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) E/AndroidRuntime(26787): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(26787): Caused by: java.lang.UnsupportedOperationException: getNavigationHistory E/AndroidRuntime(26787): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57) E/AndroidRuntime(26787): at org.xwalk.core.XWalkView.getNavigationHistory(XWalkView.java:348) E/AndroidRuntime(26787): at org.crosswalk.engine.XWalkWebViewEngine.canGoBack(XWalkWebViewEngine.java:143) E/AndroidRuntime(26787): at org.apache.cordova.CordovaWebViewImpl.canGoBack(CordovaWebViewImpl.java:393) E/AndroidRuntime(26787): at org.apache.cordova.splashscreen.SplashScreen.loadSpinner(SplashScreen.java:279) E/AndroidRuntime(26787): at org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:93) E/AndroidRuntime(26787): at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:55) E/AndroidRuntime(26787): at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169) E/AndroidRuntime(26787): at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:95) E/AndroidRuntime(26787): at org.apache.cordova.PluginManager.init(PluginManager.java:84) E/AndroidRuntime(26787): at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:116) E/AndroidRuntime(26787): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:138) E/AndroidRuntime(26787): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:208) E/AndroidRuntime(26787): at com.example.helloworld.helloworld.onCreate(helloworld.java:32) E/AndroidRuntime(26787): at android.app.Activity.performCreate(Activity.java:5231) E/AndroidRuntime(26787): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) E/AndroidRuntime(26787): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148) E/AndroidRuntime(26787): ... 11 more W/ActivityManager( 780): Force finishing activity com.example.helloworld/.helloworld {code}

    JIRA | 1 year ago | lijingjing
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.helloworld/com.example.helloworld.helloworld}: java.lang.UnsupportedOperationException: getNavigationHistory
  3. 0

    Showing period with days, hours, minutes and seconds

    Stack Overflow | 6 years ago | Kristoffer
    java.lang.UnsupportedOperationException: Field is not supported
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem when running glassfish server 3.0.1 and EJB 3 to connet to SQL Server 2005

    Stack Overflow | 6 years ago | samvn
    java.lang.UnsupportedOperationException: This operation is not supported.
  6. 0

    GCM Android: Unfortunately, GCM demo has stopped

    Stack Overflow | 4 years ago | mobiletest
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gcm.demo.app/com.google.android.gcm.demo.app.DemoActivity}: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf

    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.UnsupportedOperationException

      getNavigationHistory

      at org.xwalk.core.ReflectMethod.invoke()
    2. org.xwalk.core
      XWalkView.getNavigationHistory
      1. org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57)
      2. org.xwalk.core.XWalkView.getNavigationHistory(XWalkView.java:348)
      2 frames
    3. org.crosswalk.engine
      XWalkWebViewEngine.canGoBack
      1. org.crosswalk.engine.XWalkWebViewEngine.canGoBack(XWalkWebViewEngine.java:143)
      1 frame
    4. org.apache.cordova
      CordovaActivity.loadUrl
      1. org.apache.cordova.CordovaWebViewImpl.canGoBack(CordovaWebViewImpl.java:393)
      2. org.apache.cordova.splashscreen.SplashScreen.loadSpinner(SplashScreen.java:279)
      3. org.apache.cordova.splashscreen.SplashScreen.pluginInitialize(SplashScreen.java:93)
      4. org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:55)
      5. org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169)
      6. org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:95)
      7. org.apache.cordova.PluginManager.init(PluginManager.java:84)
      8. org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:116)
      9. org.apache.cordova.CordovaActivity.init(CordovaActivity.java:138)
      10. org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:208)
      10 frames
    5. com.example.helloworld
      helloworld.onCreate
      1. com.example.helloworld.helloworld.onCreate(helloworld.java:32)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5231)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
      5. android.app.ActivityThread.access$800(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5001)
      9 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame