razorpay / razorpay-android-custom-sample-app

Sample app to demonstrate the custom UI integration
MIT License
13 stars 9 forks source link

I have got crash on production app #53

Closed ravisharma46 closed 3 years ago

ravisharma46 commented 3 years ago

Caused by java.lang.NullPointerException println needs a message

android.util.Log.d (Log.java:181) com.razorpay.l.a (l.java:2024) com.razorpay.BaseRazorpay.initRazorpay (BaseRazorpay.java:175) com.razorpay.BaseRazorpay. (BaseRazorpay.java:154) com.razorpay.OtpelfBaseRazorpay. (OtpelfBaseRazorpay.java:15) com.razorpay.Razorpay. (Razorpay.java:46) com.inventia.app.ui.activities.PaymentActivity.initRazorpay (PaymentActivity.java:397) com.inventia.app.ui.activities.PaymentActivity.onCreate (PaymentActivity.java:115)

Please look into this asap @vivekshindhe

vivekshindhe commented 3 years ago

@ravisharma46 Will need some reproducible steps for this? Did you update the SDK? Is this constant or intermittent?

vivekshindhe commented 3 years ago

@ravisharma46 also, how are you setting the apiKey?

ravisharma46 commented 3 years ago

@vivekshindhe it is intermittent and we are setting apiKey threw a backend API call.

vivekshindhe commented 3 years ago

The error is occurring because the key is empty. @ravisharma46

ravisharma46 commented 3 years ago

ok i will check with my backend team. thanks for the help @vivekshindhe

vivekshindhe commented 3 years ago

@ravisharma46 hoping this was resolved. Closing the issue. Please comment here in case it wasn't. Thank you.