Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug version of the app crashing on open(options) method call #240

Open
satyaattili opened this issue Feb 22, 2022 · 3 comments
Open

Debug version of the app crashing on open(options) method call #240

satyaattili opened this issue Feb 22, 2022 · 3 comments

Comments

@satyaattili
Copy link

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

Integrated the razopayflutter plugin version 1.2.9 to the flutter app. While initiating the payment process by calling open method, android app crashing with Native exception that says Methods marked with @UiThread must be executed on the main thread

Flutter Version :

Flutter 2.10.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 097d3313d8 (4 days ago) • 2022-02-18 19:33:08 -0600
Engine • revision a83ed0e5e3
Tools • Dart 2.16.1 • DevTools 2.9.2

Xcode Version :

Android Specific app, No ios implementation yet

Cocoapod Version :

Android Specific app, No ios implementation yetn.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Build app with flutter app
  2. Integrate flutter razopay plugin
  3. call open method from razopay using below options
  4. {
    'key': 'rzp_test_********',
    //'order_id': "razopayId",
    'amount': "2000",
    'name': 'some name',
    'description': 'Make payment ',
    'prefill': {'contact': "phone", 'email': "email"},
    }
  5. App crashes with below log

Expected Results

App shouldn't crash

Snack, code example, screenshot, or link to a repository:

@override void initiatePaymentCheckout(options, _handlePaymentSuccess, _handlePaymentError, _handleExternalWallet, _onError) async { _razorpay = Razorpay(); _razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, _handlePaymentSuccess); _razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, _handlePaymentError); _razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, _handleExternalWallet); try { _razorpay.open(options); } catch (e) { _onError(); } }

CRASH LOG
`E/com.razorpay.checkout(15364): GooglePay library not included
W/System.err(15364): java.lang.ClassNotFoundException: com.google.android.apps.nbu.paisa.inapp.client.api.PaymentsClient
W/System.err(15364): at java.lang.Class.classForName(Native Method)
W/System.err(15364): at java.lang.Class.forName(Class.java:454)
W/System.err(15364): at java.lang.Class.forName(Class.java:379)
W/System.err(15364): at com.razorpay.BaseUtils.getAllPluginsFromManifest(BaseUtils.java:204)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:19)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
W/System.err(15364): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.apps.nbu.paisa.inapp.client.api.PaymentsClient" on path: DexPathList[[zip file "/data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk"],nativeLibraryDirectories=[/data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/lib/arm64, /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.*.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
W/System.err(15364): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
W/System.err(15364): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
W/System.err(15364): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
W/System.err(15364): ... 22 more
V/FA (15364): Connecting to remote service
D/com.razorpay.checkout(15364): No permission for reading SMS
D/com.razorpay.checkout(15364): CheckoutActivity onCreate called
V/FA (15364): onActivityCreated
V/FA (15364): Connection attempt already in progress
V/FA (15364): Activity paused, time: 128250823
W/System.err(15364): java.lang.SecurityException: getDataNetworkTypeForSubscriber: uid 10407 does not have android.permission.READ_PHONE_STATE.
W/System.err(15364): at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)
W/System.err(15364): at android.os.Parcel.createException(Parcel.java:2409)
W/System.err(15364): at android.os.Parcel.readException(Parcel.java:2392)
W/System.err(15364): at android.os.Parcel.readException(Parcel.java:2334)
W/System.err(15364): at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:9323)
W/System.err(15364): at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2928)
W/System.err(15364): at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2892)
W/System.err(15364): at com.razorpay.BaseUtils.getCellularNetworkType(BaseUtils.java:344)
W/System.err(15364): at com.razorpay.D$$l_.a(Lumberjack.java:4084)
W/System.err(15364): at com.razorpay.AnalyticsUtil.init(AnalyticsUtil.java:65)
W/System.err(15364): at com.razorpay.AnalyticsUtil.setup(AnalyticsUtil.java:55)
W/System.err(15364): at com.razorpay.CheckoutPresenterImpl.setOptions(CheckoutPresenterImpl.java:2050)
W/System.err(15364): at com.razorpay.b__J_.onCreate(BaseCheckoutActivity.java:106)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:26)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
I/WebViewFactory(15364): Loading com.google.android.webview version 98.0.4758.101 (code 475810133)
W/neighborfood.n(15364): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (unsupported, reflection, allowed)
W/neighborfood.n(15364): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (unsupported, reflection, allowed)
W/neighborfood.n(15364): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (unsupported, reflection, allowed)
W/neighborfood.n(15364): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (unsupported, reflection, allowed)
W/neighborfood.n(15364): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (unsupported, reflection, allowed)
I/cr_WVCFactoryProvider(15364): Loaded version=98.0.4758.101 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
I/cr_LibraryLoader(15364): Successfully loaded native library
I/cr_CachingUmaRecorder(15364): Flushed 9 samples from 9 histograms.
D/com.razorpay.checkout(15364): {"key":"NTZmNWIwNGZhODc1MmUyY2YxOTM5NmM0","events":[],"context":{"mode":"test","device":{"manufacturer":"Google","model":"Pixel 4a","name":"sunfish","type":"phone","version":"Android12","Google":"Google","Pixel 4a":"Pixel 4a","device_size":"1080w X 2160h","device_resolution":"1080x2160x440"},"sdk":{"version":"1.6.15","type":"checkout"},"network":{"bluetooth":false,"carrier":"","cellular":false,"cellular_network_type":"NA","wifi":true,"carrier_network":"","network_type":0,"is_roming":false},"screen":{"density":2.75,"width":1080,"height":2160},"locale":"en-US","timezone":"Asia/Kolkata","user_agent":"Dalvik/2.1.0 (Linux; U; Android 12; Pixel 4a Build/SQ1A.220205.002)","webview_user_agent":"Mozilla/5.0 (Linux; Android 12; Pixel 4a Build/SQ1A.220205.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36"}}
D/com.razorpay.checkout(15364): Modified Url: https://api.razorpay.com/v1/checkout/public?version=1.6.15&library=checkoutjs&platform=android
W/System.err(15364): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
W/System.err(15364): at org.json.JSONTokener.nextCleanInternal(JSONTokener.java:121)
W/System.err(15364): at org.json.JSONTokener.nextValue(JSONTokener.java:98)
W/System.err(15364): at org.json.JSONObject.(JSONObject.java:168)
W/System.err(15364): at org.json.JSONObject.(JSONObject.java:185)
W/System.err(15364): at com.razorpay.CheckoutPresenterImpl.setOptions(CheckoutPresenterImpl.java:198)
W/System.err(15364): at com.razorpay.b__J_.onCreate(BaseCheckoutActivity.java:106)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:26)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
W/System.err(15364): java.lang.Exception: No dash options defined
W/System.err(15364): at com.razorpay.CheckoutPresenterImpl.getProgressBarColor(CheckoutPresenterImpl.java:654)
W/System.err(15364): at com.razorpay.b__J_.createContainer(BaseCheckoutActivity.java:227)
W/System.err(15364): at com.razorpay.b__J_.onCreate(BaseCheckoutActivity.java:113)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:26)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
W/System.err(15364): org.json.JSONException: No value for theme
W/System.err(15364): at org.json.JSONObject.get(JSONObject.java:403)
W/System.err(15364): at org.json.JSONObject.getJSONObject(JSONObject.java:623)
W/System.err(15364): at com.razorpay.CheckoutPresenterImpl.getProgressBarColor(CheckoutPresenterImpl.java:639)
W/System.err(15364): at com.razorpay.b__J_.createContainer(BaseCheckoutActivity.java:227)
W/System.err(15364): at com.razorpay.b__J_.onCreate(BaseCheckoutActivity.java:113)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:26)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
D/com.razorpay.checkout(15364): OTPElf Constructor
D/com.razorpay.checkout(15364): No permission for reading SMS
D/com.razorpay.checkout(15364): OTPElf Constructor
D/com.razorpay.checkout(15364): No permission for reading SMS
W/neighborfood.n(15364): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (unsupported, reflection, allowed)
D/com.razorpay.checkout(15364): NOT FULLSCREEN
W/System.err(15364): java.lang.SecurityException: getDataNetworkTypeForSubscriber: uid 10407 does not have android.permission.READ_PHONE_STATE.
W/System.err(15364): at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)
W/System.err(15364): at android.os.Parcel.createException(Parcel.java:2409)
W/System.err(15364): at android.os.Parcel.readException(Parcel.java:2392)
W/System.err(15364): at android.os.Parcel.readException(Parcel.java:2334)
W/System.err(15364): at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber(ITelephony.java:9323)
W/System.err(15364): at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2928)
W/System.err(15364): at android.telephony.TelephonyManager.getNetworkType(TelephonyManager.java:2892)
W/System.err(15364): at com.razorpay.BaseUtils.getCellularNetworkType(BaseUtils.java:344)
W/System.err(15364): at com.razorpay.BaseConfig.getFetchConfigBuilder(BaseConfig.java:346)
W/System.err(15364): at com.razorpay.Y_$H_.a(Config.java:2272)
W/System.err(15364): at com.razorpay.CheckoutPresenterImpl.fetchCondfig(CheckoutPresenterImpl.java:513)
W/System.err(15364): at com.razorpay.b__J_.onCreate(BaseCheckoutActivity.java:151)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:26)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
W/cr_media(15364): Requires BLUETOOTH permission
W/System.err(15364): java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
W/System.err(15364): at android.app.ContextImpl.checkMode(ContextImpl.java:3221)
W/System.err(15364): at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:551)
W/System.err(15364): at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:541)
W/System.err(15364): at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:196)
W/System.err(15364): at com.razorpay.h.c(SharedPreferenceUtil.java:63)
W/System.err(15364): at com.razorpay.f$_G$.b(CardSaving.java:265)
W/System.err(15364): at com.razorpay.f$G$.a(CardSaving.java:167)
W/System.err(15364): at com.razorpay.CheckoutPresenterImpl.handleCardSaving(CheckoutPresenterImpl.java:410)
W/System.err(15364): at com.razorpay.b__J
.onCreate(BaseCheckoutActivity.java:152)
W/System.err(15364): at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:26)
W/System.err(15364): at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8050)
W/System.err(15364): at android.app.Activity.performCreate(Activity.java:8030)
W/System.err(15364): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
W/System.err(15364): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
W/System.err(15364): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
W/System.err(15364): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
W/System.err(15364): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
W/System.err(15364): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
V/FA (15364): Activity resumed, time: 128251161
V/FA (15364): Connection attempt already in progress
V/FA (15364): Connection attempt already in progress
E/libprocessgroup(15364): set_timerslack_ns write failed: Operation not permitted
D/com.razorpay.checkout(15364): Updating OTPElf
D/FA (15364): Connected to remote service
V/FA (15364): Processing queued up service tasks: 4
D/com.razorpay.checkout(15364): Updating OTPElf
W/System.err(15364): java.lang.IllegalArgumentException: bad base-64
W/System.err(15364): at android.util.Base64.decode(Base64.java:163)
W/System.err(15364): at android.util.Base64.decode(Base64.java:138)
W/System.err(15364): at com.razorpay.CryptLib.a(CryptLib.java:174)
W/System.err(15364): at com.razorpay.CryptLib.b(CryptLib.java:269)
W/System.err(15364): at com.razorpay.BaseUtils.decryptFile(BaseUtils.java:750)
W/System.err(15364): at com.razorpay.V$$3$.run(OtpElfData.java:55)
W/System.err(15364): at com.razorpay.p$_5$.onPostExecute(Owl.java:5137)
W/System.err(15364): at android.os.AsyncTask.finish(AsyncTask.java:771)
W/System.err(15364): at android.os.AsyncTask.access$900(AsyncTask.java:199)
W/System.err(15364): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
D/com.razorpay.checkout(15364): Unable to decrypt file, bad base-64
W/System.err(15364): java.lang.IllegalArgumentException: bad base-64
W/System.err(15364): at android.util.Base64.decode(Base64.java:163)
W/System.err(15364): at android.util.Base64.decode(Base64.java:138)
W/System.err(15364): at com.razorpay.CryptLib.a(CryptLib.java:174)
W/System.err(15364): at com.razorpay.CryptLib.b(CryptLib.java:269)
W/System.err(15364): at com.razorpay.BaseUtils.decryptFile(BaseUtils.java:750)
W/System.err(15364): at com.razorpay.V$$3$.run(OtpElfData.java:55)
W/System.err(15364): at com.razorpay.p$5$.onPostExecute(Owl.java:5137)
W/System.err(15364): at android.os.AsyncTask.finish(AsyncTask.java:771)
W/System.err(15364): at android.os.AsyncTask.access$900(AsyncTask.java:199)
W/System.err(15364): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
D/com.razorpay.checkout(15364): Unable to decrypt file, bad base-64
D/com.razorpay.checkout(15364): RzpAssist onPageStarted: https://api.razorpay.com/v1/checkout/public?version=1.6.15&library=checkoutjs&platform=android
W/System.err(15364): java.lang.IllegalArgumentException: bad base-64
W/System.err(15364): at android.util.Base64.decode(Base64.java:163)
W/System.err(15364): at android.util.Base64.decode(Base64.java:138)
W/System.err(15364): at com.razorpay.CryptLib.a(CryptLib.java:174)
W/System.err(15364): at com.razorpay.CryptLib.b(CryptLib.java:269)
W/System.err(15364): at com.razorpay.BaseUtils.decryptFile(BaseUtils.java:750)
W/System.err(15364): at com.razorpay.p$$q
.run(MagicData.java:41)
W/System.err(15364): at com.razorpay.p$_5$.onPostExecute(Owl.java:5137)
W/System.err(15364): at android.os.AsyncTask.finish(AsyncTask.java:771)
W/System.err(15364): at android.os.AsyncTask.access$900(AsyncTask.java:199)
W/System.err(15364): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
W/System.err(15364): at android.os.Handler.dispatchMessage(Handler.java:106)
W/System.err(15364): at android.os.Looper.loopOnce(Looper.java:201)
W/System.err(15364): at android.os.Looper.loop(Looper.java:288)
W/System.err(15364): at android.app.ActivityThread.main(ActivityThread.java:7839)
W/System.err(15364): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(15364): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
W/System.err(15364): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
D/com.razorpay.checkout(15364): Unable to decrypt file, bad base-64
E/flutter (15364): [ERROR:flutter/fml/platform/android/jni_util.cc(211)] java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: 1.raster
E/flutter (15364): at io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:1405)
E/flutter (15364): at io.flutter.embedding.engine.FlutterJNI.destroyOverlaySurfaces(FlutterJNI.java:1174)
E/flutter (15364):
F/flutter (15364): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1559)] Check failed: fml::jni::CheckException(env).
F/libc (15364): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15393 (1.raster), pid 15364 (neighborfood.nf)


Build fingerprint: 'google/sunfish/sunfish:12/SQ1A.220205.002/8010174:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2022-02-22 23:52:00.889814615+0530
Process uptime: 0s
Cmdline: com..****
pid: 15364, tid: 15393, name: 1.raster >>> com.
.**** <<<
uid: 10407
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1559)] Check failed: fml::jni::CheckException(env).
'
x0 0000000000000000 x1 0000000000003c21 x2 0000000000000006 x3 0000007af75b45e0
x4 6d602e6c716e6573 x5 6d602e6c716e6573 x6 6d602e6c716e6573 x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 7fbb059c018bd6bb x10 0000000000000000 x11 ffffff80fffffbdf
x12 0000000000000001 x13 000000000000007e x14 0000007af75b3490 x15 0000000000ee71e8
x16 0000007e13886050 x17 0000007e13862eb0 x18 0000007aef730000 x19 0000000000003c04
x20 0000000000003c21 x21 00000000ffffffff x22 b400007c1567dde0 x23 b400007c1567ddc8
x24 000000000000004f x25 0000007af75b5000 x26 0000000000000000 x27 0000000000000001
x28 000000000000004f x29 0000007af75b4660
lr 0000007e13815ba0 sp 0000007af75b45c0 pc 0000007e13815bcc pst 0000000000000000
backtrace:
#00 pc 000000000004fbcc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: ba489d4985c0cf173209da67405662f9)
#1 pc 0000000001509680 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#2 pc 000000000152b6dc /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.
.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#3 pc 0000000001512eb4 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#4 pc 0000000001bdccd8 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.
.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#5 pc 0000000001bdba34 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#6 pc 000000000183d3a4 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.
.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#7 pc 00000000018485f0 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#8 pc 000000000152c39c /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.
.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#9 pc 0000000001532908 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#10 pc 000000000001691c /system/lib64/libutils.so (android::Looper::pollInner(int)+912) (BuildId: d5dfcc2a0782d6e050d6cf3448f6af45)
#11 pc 0000000000016524 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void
)+112) (BuildId: d5dfcc2a0782d6e050d6cf3448f6af45)
#12 pc 0000000000017160 /system/lib64/libandroid.so (ALooper_pollOnce+100) (BuildId: b54b72f1e3dc6a30c9fe5187714c12eb)
#13 pc 0000000001532890 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com..-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#14 pc 000000000152c2e4 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.
.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#15 pc 0000000001530190 /data/app/~~xLBkFBBdYWxHH1CoPcaS-g==/com.**.-m4t9ctqnCFkruGzHO4EzyA==/base.apk!libflutter.so (BuildId: 877d9b26d1b90347a228b72ce900c0629eec3582)
#16 pc 00000000000b1910 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: ba489d4985c0cf173209da67405662f9)
#17 pc 00000000000513f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: ba489d4985c0cf173209da67405662f9)
Lost connection to device.
`

Even I added progaurd rules, release build also getting crashed.

@Hackoak
Copy link

Hackoak commented Feb 23, 2022

Yes I also have the issue even adding proguard and release build any one having the solution

@PawanFyers
Copy link

PawanFyers commented Mar 4, 2022

Facing the same issue in the app

At least the Razorpay team should respond. I am using 2.10.1

@chennakesavareddy1
Copy link

even I am also facing the same issue, after adding proguard rules and release build please Help and I am using flutter 3.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants