-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Description:
We are experiencing a potential ANR in our Android app when using Juspay HyperSDK. The issue appears to be caused by a Resources$NotFoundException in JsInterface.getResourceById, which may be leading to a blocked main thread.
Device & Environment:
Device: Samsung Galaxy S24 Ultra
OS: Android (version unspecified)
Juspay HyperSDK version: [Please specify]
Crashlytics Stacktrace:
main (native):tid=1 systid=12553 #00 pc 0x5e378 libc.so (syscall + 28) (BuildId: 82f892fd1b7c9384a320c9a49d4c95fc) #01 pc 0x210bff libart.so (art::ConditionVariable::WaitHoldingLocks + 86) (BuildId: 26957a0c04d227e2ae43f21dd5010097) #02 pc 0x59d9dd libart.so (artJniMethodEnd + 312) (BuildId: 26957a0c04d227e2ae43f21dd5010097) #03 pc 0xa4189 libart.so (art_jni_method_end + 8) (BuildId: 26957a0c04d227e2ae43f21dd5010097) at android.os.MessageQueue.nativePollOnce(Native method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loopOnce(Looper.java:161) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7941) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)
Error Message Related to Juspay HyperSDK:
E om.newme.mobile: Invalid resource ID 0x00000000. android.content.res.Resources$NotFoundException: String resource ID #0x0 at android.content.res.Resources.getText(Resources.java:511) at android.content.res.Resources.getString(Resources.java:604) at in.juspay.hypersdk.core.JsInterface.getResourceById(SourceFile:1) at in.juspay.hypersdk.core.JsInterface.getResourceByName(SourceFile:1) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loopOnce(Looper.java:187) at android.os.Looper.loop(Looper.java:319) at android.os.HandlerThread.run(HandlerThread.java:67)