forcedotcom / SalesforceMobileSDK-Android

Android SDK for Salesforce
Other
339 stars 384 forks source link

Android App is throwing exception "Caused by com.salesforce.androidsdk.rest.ClientManager$AccountInfoNotFoundException User is logging out" #2559

Open Deepika-PFJ opened 1 month ago

Deepika-PFJ commented 1 month ago

Please fill out the following details:

  1. Version of Mobile SDK Used: 11.0
  2. Issue found in Native App or Hybrid App: Native
  3. OS Version: 14
  4. Device: Samsung Galaxy S22 Ultra
  5. Steps to reproduce: Tap "Logout" CTA on ScreenLockActivity
  6. Actual behavior: App is throwing exception "Caused by com.salesforce.androidsdk.rest.ClientManager$AccountInfoNotFoundException User is logging out"
  7. Expected Behavior: App should not crash.
  8. Error Log: ``` Caused by com.salesforce.androidsdk.rest.ClientManager$AccountInfoNotFoundException User is logging out com.salesforce.androidsdk.rest.ClientManager.peekRestClient (ClientManager.java:182) com.salesforce.androidsdk.rest.ClientManager.peekRestClient (ClientManager.java:161) com.salesforce.androidsdk.rest.ClientManager.getRestClient (ClientManager.java:138) com.salesforce.androidsdk.ui.SalesforceActivityDelegate.onResume (SalesforceActivityDelegate.java:86) com.salesforce.androidsdk.ui.SalesforceActivity.onResume (SalesforceActivity.java:55) android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1622)
wmathurin commented 1 month ago

Could you try with the latest Mobile SDK (12.0) and let us know if the issue still occurs?