My Oracle Support Banner

SOCS Application Crashes When In Sent To Background (Doc ID 2901107.1)

Last updated on OCTOBER 06, 2022

Applies to:

Oracle Retail Store Operations Cloud Service - Version NA and later
Information in this document applies to any platform.

Symptoms

SOCS application crashes when sent to background.
When using the application, sending it to the background and opening another app on the device often causes the SOCS to crash.

Error observed in SOCS logs:

2022-06-08 09:23:33.059 5655-5655/oracle.retail.sim.mobile.client.SimMobile E/AndroidRuntime: FATAL EXCEPTION: main
  Process: oracle.retail.sim.mobile.client.SimMobile, PID: 5655
  java.lang.RuntimeException: Unable to pause activity {oracle.retail.sim.mobile.client.SimMobile/oracle.adfmf.Container}: java.lang.IllegalArgumentException: Receiver not registered: oracle.retail.sim.mobile.plugin.honeywell.scan.SimHoneywellScanPlugin$1@499ca21
  at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4503)
  at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4454)
  at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4406)
  at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:46)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
  at android.os.Handler.dispatchMessage(Handler.java:107)
  at android.os.Looper.loop(Looper.java:214)
  at android.app.ActivityThread.main(ActivityThread.java:7356)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
  Caused by: java.lang.IllegalArgumentException: Receiver not registered: oracle.retail.sim.mobile.plugin.honeywell.scan.SimHoneywellScanPlugin$1@499ca21
  at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1429)
  at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1543)
  at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:664)
  at oracle.retail.sim.mobile.plugin.honeywell.scan.SimHoneywellScanPlugin.releaseScanner(SimHoneywellScanPlugin.java:145)
  at oracle.retail.sim.mobile.plugin.honeywell.scan.SimHoneywellScanPlugin.onPause(SimHoneywellScanPlugin.java:71)
  at org.apache.cordova.PluginManager.onPause(PluginManager.java:211)
  at org.apache.cordova.CordovaWebViewImpl.handlePause(CordovaWebViewImpl.java:435)
  at org.apache.cordova.CordovaFragment.onPauseCordovaWebView(CordovaFragment.java:373)
  at oracle.adfmf.Container._handlePauseResume(Container.java:1642)
  at oracle.adfmf.Container.onPause(Container.java:436)
  at android.app.Activity.performPause(Activity.java:7978)
  at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1500)
  at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4493)


Steps to reproduce:

1. Download the SOCS MAA file for 22.1.201 from OSDC.
2. Install maf 2.6.5.0.42.211220.0031
3. Generate .apk and deploy to emulator.
4. Open SOCS and send it to the background. Open another app.
5. Observe SOCS crash.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.