Ошибка #257
Updated by Victor K. over 5 years ago
Crashlytics detected a new issue.
*MainActivity.java line 785* in @@
This issue is affecting at least 1 user who has crashed at least 1 time.
More information: https://fabric.io/droidoncar/android/apps/com.roher.carservice/issues/c33f5b96f037632d9f412c1d10f8afea?utm_medium=service_hooks-redmine&utm_source=issue_impact
Stacktrace:
<pre>
Fatal Exception: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.roher.carservice/.CANService }: app is in background uid UidRecord{b4e11c4 u0a80 CAC bg:+1m41s521ms idle change:idle procs:1 seq(3,3,3)}
at android.app.ContextImpl.startServiceCommon + 1577(ContextImpl.java:1577)
at android.app.ContextImpl.startService + 1532(ContextImpl.java:1532)
at android.content.ContextWrapper.startService + 664(ContextWrapper.java:664)
at com.roher.carservice.MainActivity.startCANService + 785(MainActivity.java:785)
at com.roher.carservice.MainActivity.onStart + 182(MainActivity.java:182)
at android.app.Instrumentation.callActivityOnStart + 1391(Instrumentation.java:1391)
at android.app.Activity.performStart + 7165(Activity.java:7165)
at android.app.ActivityThread.handleStartActivity + 2975(ActivityThread.java:2975)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence + 180(TransactionExecutor.java:180)
at android.app.servertransaction.TransactionExecutor.cycleToPath + 165(TransactionExecutor.java:165)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState + 142(TransactionExecutor.java:142)
at android.app.servertransaction.TransactionExecutor.execute + 70(TransactionExecutor.java:70)
at android.app.ClientTransactionHandler.executeTransaction + 55(ClientTransactionHandler.java:55)
at android.app.ActivityThread.handleRelaunchActivityLocally + 4782(ActivityThread.java:4782)
at android.app.ActivityThread.access$3200 + 200(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage + 1826(ActivityThread.java:1826)
at android.os.Handler.dispatchMessage + 106(Handler.java:106)
at android.os.Looper.loop + 193(Looper.java:193)
at android.app.ActivityThread.main + 6718(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 493(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main + 858(ZygoteInit.java:858)
</pre>