java.lang.RuntimeException: java.lang.NoSuchMethodError: org.xwalk.core.extension.XWalkExtensionContextClient.getActivity

JIRA | Xie, XiaolongX | 4 months ago
  1. 0

    Impacted Cases ============== Navigator_iap_init Navigator_iap_init_error Navigator_iap_queryProductsInfo Navigator_iap_queryProductsInfo_opererror Navigator_iap_queryProductsInfo_invalidaccess usecase-webapi-xwalk-tests/IAPGooglePlay usecase-webapi-xwalk-tests/IAPXiaomiStore Reproduce Test Steps ==================== 1. Download iapdemo_release.apk (download address please refer to the comment) 2. Launch the app(Google Play IAP) 3. Select the impacted case and tap "Run" button, check the behavior Expected Outcome ================ No Crash Actual Outcome ============== Crash happens Test Case Source Code ===================== ||Case ID||URL|| | Navigator_iap_init | https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/webapi-iap-xwalk-tests/iap/Navigator_iap.html | | Navigator_iap_init_error | https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/webapi-iap-xwalk-tests/iap/Navigator_iap_init_error.html | | Navigator_iap_queryProductsInfo | https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/webapi-iap-xwalk-tests/iap/Navigator_iap_queryProductsInfo.html | | Navigator_iap_queryProductsInfo_opererror | https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/webapi-iap-xwalk-tests/iap/Navigator_iap_queryProductsInfo_opererror.html | | Navigator_iap_queryProductsInfo_invalidaccess | https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/webapi-iap-xwalk-tests/iap/Navigator_iap_queryProductsInfo_invalidaccess.html | Test Builds =========== ||Version||Test Date|| Test Device || Result || |Canary 22.51.551.0|2016.08.01| ASUS Memo Pad8| {color:green}PASS{color} | |Canary 22.51.553.0|2016.08.01| ASUS Memo Pad8| {color:red}FAIL{color} | Issue Analysis ============== {code} E/IAP (21434): Receive command: init W/System.err(21434): java.lang.RuntimeException: java.lang.NoSuchMethodError: org.xwalk.core.extension.XWalkExtensionContextClient.getActivity W/System.err(21434): at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:67) W/System.err(21434): at org.xwalk.core.internal.XWalkExtensionBridge.onMessage(XWalkExtensionBridge.java:126) W/System.err(21434): at dalvik.system.NativeStart.run(Native Method) W/System.err(21434): Caused by: java.lang.NoSuchMethodError: org.xwalk.core.extension.XWalkExtensionContextClient.getActivity W/System.err(21434): at org.xwalk.extensions.InAppPurchaseExtension.createHelperByChannel(InAppPurchaseExtension.java:117) W/System.err(21434): at org.xwalk.extensions.InAppPurchaseExtension.onMessage(InAppPurchaseExtension.java:60) W/System.err(21434): at org.xwalk.core.extension.XWalkCoreExtensionBridge.onMessage(XWalkCoreExtensionBridge.java:27) W/System.err(21434): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err(21434): at java.lang.reflect.Method.invoke(Method.java:515) W/System.err(21434): at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61) {code}

    JIRA | 4 months ago | Xie, XiaolongX
    java.lang.RuntimeException: java.lang.NoSuchMethodError: org.xwalk.core.extension.XWalkExtensionContextClient.getActivity
  2. 0

    twitter-cassie : Error thrown on Cluster init

    Stack Overflow | 4 years ago | ɭɘ ɖɵʊɒɼɖ 江戸
    java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Lscala/collection/immutable/StringOps; at com.twitter.cassie.Cluster.<init>(Cluster.scala:50) ~[cassie-core-0.20.0.jar:na] at cassandra.Cassandra$.<init>(Cassandra.scala:13) ~[na:na] at cassandra.Cassandra$.<clinit>(Cassandra.scala) ~[na:na]
  3. 0

    Flex Weblogic Blazeds Error

    Stack Overflow | 6 years ago | Michael
    java.lang.NoSuchMethodError: setExclusiveOwnerThread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jogl Applet with JNLP runs in eclipse but not in the browser

    Stack Overflow | 6 years ago | WarrenFaith
    java.lang.NoSuchMethodError: javax.media.opengl.awt.GLCanvas.<init>(Ljavax/media/opengl/GLCapabilities;)V
  6. 0

    Application crashing HTC Explorer A310e when using Gson

    Stack Overflow | 4 years ago | Rockin
    java.lang.NoSuchMethodError: com.google.gson.GsonBuilder.registerTypeAdapterFactory

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

      org.xwalk.core.extension.XWalkExtensionContextClient.getActivity

      at org.xwalk.extensions.InAppPurchaseExtension.createHelperByChannel()
    2. org.xwalk.extensions
      InAppPurchaseExtension.onMessage
      1. org.xwalk.extensions.InAppPurchaseExtension.createHelperByChannel(InAppPurchaseExtension.java:117)
      2. org.xwalk.extensions.InAppPurchaseExtension.onMessage(InAppPurchaseExtension.java:60)
      2 frames
    3. org.xwalk.core
      XWalkCoreExtensionBridge.onMessage
      1. org.xwalk.core.extension.XWalkCoreExtensionBridge.onMessage(XWalkCoreExtensionBridge.java:27)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. org.xwalk.core
      ReflectMethod.invoke
      1. org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61)
      1 frame