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

BugSnag Error (LFE) #1219

Open
vinayvenu opened this issue Dec 13, 2023 · 3 comments
Open

BugSnag Error (LFE) #1219

vinayvenu opened this issue Dec 13, 2023 · 3 comments

Comments

@vinayvenu
Copy link
Member

BugSnag Error

Error Fatal error: Unsupported idpType: null 
    /home/circleci/avni-client/packages/openchs-android/node_modules/@react-native-firebase/app/lib/internal/NativeFirebaseError.js:58:23 _0x4fe1eb
    index.android.bundle:1:1306141 ?anon_0_
    native next
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Image/Image.android.js:340:2 asyncGeneratorStep
    /home/circleci/avni-client/packages/openchs-android/node_modules/@babel/runtime/helpers/asyncToGenerator.js:15:26 _asyncToGenerator
    /home/circleci/avni-client/packages/openchs-android/node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:10 anonymous
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9 tryCallTwo
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25 doResolve
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14 Promise
    /home/circleci/avni-client/packages/openchs-android/node_modules/@babel/runtime/helpers/asyncToGenerator.js:12:20 asyncGeneratorStep
    native apply
    index.android.bundle:1:1306204 _0x24548b
    index.android.bundle:1:1308005 ?anon_0_
    native next
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Image/Image.android.js:340:2 asyncGeneratorStep
    /home/circleci/avni-client/packages/openchs-android/node_modules/@babel/runtime/helpers/asyncToGenerator.js:15:26 _asyncToGenerator
    /home/circleci/avni-client/packages/openchs-android/node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:10 anonymous
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9 tryCallTwo
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25 doResolve
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14 Promise
    /home/circleci/avni-client/packages/openchs-android/node_modules/@babel/runtime/helpers/asyncToGenerator.js:12:20 asyncGeneratorStep
    native apply
    index.android.bundle:1:1308257 _0x1c4377
    index.android.bundle:1:1308370 _get
    index.android.bundle:1:1309445 getJSON
    /home/circleci/avni-client/packages/openchs-android/src/service/EntityApprovalStatusService.js:61:66 _0x29a9c2
    /home/circleci/avni-client/packages/openchs-android/src/service/EntityApprovalStatusService.js:61:66 _0x47f7dd
    /home/circleci/avni-client/packages/openchs-android/src/service/EntityApprovalStatusService.js:61:66 anonymous
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16 tryCallOne
    /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/1h352kp3/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27 anonymous
    native apply
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:243 anonymous
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:94:2 _callTimer
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:154:2 _callReactNativeMicrotasksPass
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/Core/Timers/JSTimers.js:407:3 callReactNativeMicrotasks
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:385:50 __callReactNativeMicrotasks
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:127:30 anonymous
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:359:2 __guard
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:125:6 flushedQueue
    /home/circleci/avni-client/packages/openchs-android/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:117:3 invokeCallbackAndReturnFlushedQueue

Management of BugSnag error and BugSnag
https://avni.readme.io/docs/how-to-use-bugsnag

@vinayvenu vinayvenu moved this to Ready in Avni Product Dec 13, 2023
@vinayvenu vinayvenu added the bug label Dec 13, 2023
@1t5j0y 1t5j0y moved this from Ready to In Progress in Avni Product Dec 13, 2023
@1t5j0y 1t5j0y self-assigned this Dec 13, 2023
@1t5j0y
Copy link
Contributor

1t5j0y commented Dec 13, 2023

Unable to simulate a condition where idpType would be null. Tried various flows of fresh install of 5.0.0 and upgrade from 4.0.5 (previous lfe prod version) to 5.0.0 and token expiry.

@1t5j0y 1t5j0y moved this from In Progress to Ready in Avni Product Dec 13, 2023
@1t5j0y 1t5j0y removed their assignment Dec 13, 2023
@petmongrels petmongrels moved this from Ready to In Progress in Avni Product Dec 13, 2023
@petmongrels petmongrels moved this from In Progress to Ready in Avni Product Dec 13, 2023
@mahalakshme
Copy link
Contributor

@1t5j0y If the user is in 4.0.5 version he might probably face the issue since the fix we did in main for the above issue in Avni main branch, the user ll not have. It happened because automatic sync was happening before login. So if this error happens only for 4.0.5 version in bugsnag we can close the card

@1t5j0y
Copy link
Contributor

1t5j0y commented Dec 14, 2023

@mahalakshme yes, that was checked. All occurrences are on version 5.0.0

@mahalakshme mahalakshme moved this from Ready to Finalized for the upcoming release in Avni Product Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants