AnsweredAssumed Answered

NotConnectedException

Question asked by TC App Development Account on Aug 7, 2020
Latest reply on Aug 10, 2020 by Nico Becke

Hello,

We're getting the following exception from the Trimble Catalyst Android SDK. We're using the CatalystFacade to interface with the Trimble DA1. The stack trace below shows up in the playstore with no additional context. Looking for some insight as to where this exception is thrown and where to catch the exception so it doesn't blow up the app. Ideally the CatalystFacade would catch this exception or at least throw from there so our application could catch and handle the exception.

trimble.jssi.interfaces.NotConnectedException:
at trimble.jssi.driver.androidservice.catalyst.BlueBottleSensor.d (BlueBottleSensor.java:14704)
at trimble.jssi.internal.t.onServiceConnected (BBServiceConnection.java:32)
at android.app.LoadedApk$ServiceDispatcher.doConnected (LoadedApk.java:1848)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run (LoadedApk.java:1880)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7100)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)

Outcomes