treehouses / remote

⚡ control Raspberry Pi from Android Device through Bluetooth ⚡
https://play.google.com/store/apps/details?id=io.treehouses.remote
GNU Affero General Public License v3.0
64 stars 28 forks source link

RuntimeException #2031

Closed dogi closed 5 months ago

dogi commented 5 months ago
Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4164)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4322)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:103)
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:139)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:96)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2685)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:230)
  at android.os.Looper.loop (Looper.java:319)
  at android.app.ActivityThread.main (ActivityThread.java:8893)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:608)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
Caused by kotlin.UninitializedPropertyAccessException:
  at io.treehouses.remote.BaseInitialActivity$Companion.getMChatService (BaseInitialActivity.kt:178)
  at io.treehouses.remote.BaseInitialActivity.getChatService (BaseInitialActivity.kt:48)
  at io.treehouses.remote.bases.BaseFragment.onAttach (BaseFragment.kt:26)
  at io.treehouses.remote.ui.status.StatusFragment.onAttach (StatusFragment.kt:247)
  at androidx.fragment.app.Fragment.performAttach (Fragment.java:3071)
  at androidx.fragment.app.FragmentStateManager.attach (FragmentStateManager.java:502)
  at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:271)
  at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:114)
  at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1661)
  at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3245)
  at androidx.fragment.app.FragmentManager.dispatchCreate (FragmentManager.java:3152)
  at androidx.fragment.app.FragmentController.dispatchCreate (FragmentController.java:252)
  at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:219)
  at io.treehouses.remote.InitialActivity.onCreate (InitialActivity.kt:35)
  at android.app.Activity.performCreate (Activity.java:8944)
  at android.app.Activity.performCreate (Activity.java:8913)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1456)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4146)
Okuro3499 commented 5 months ago

duplicate issue #2032

dogi commented 5 months ago

Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{io.treehouses.remote/io.treehouses.remote.InitialActivity}: kotlin.UninitializedPropertyAccessException: lateinit property mChatService has not been initialized at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3707) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3864) at android.app.ActivityThread.handleRelaunchActivityInner (ActivityThread.java:5811) at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:5703) at android.app.servertransaction.ActivityRelaunchItem.execute (ActivityRelaunchItem.java:71) at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45) at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2253) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loopOnce (Looper.java:201) at android.os.Looper.loop (Looper.java:288) at android.app.ActivityThread.main (ActivityThread.java:7870) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003) Caused by kotlin.UninitializedPropertyAccessException: lateinit property mChatService has not been initialized at io.treehouses.remote.BaseInitialActivity.getMChatService (BaseInitialActivity.kt:40) at io.treehouses.remote.BaseInitialActivity.getChatService (BaseInitialActivity.kt:54) at io.treehouses.remote.bases.BaseFragment.onAttach (BaseFragment.kt:25) at io.treehouses.remote.ui.home.HomeFragment.onAttach (HomeFragment.kt:309) at androidx.fragment.app.Fragment.performAttach (Fragment.java:3071) at androidx.fragment.app.FragmentStateManager.attach (FragmentStateManager.java:502) at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:271) at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:122) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1663) at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3247) at androidx.fragment.app.FragmentManager.dispatchCreate (FragmentManager.java:3154) at androidx.fragment.app.FragmentController.dispatchCreate (FragmentController.java:252) at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:219) at io.treehouses.remote.BaseInitialActivity.onCreate (BaseInitialActivity.kt:43) at io.treehouses.remote.InitialActivity.onCreate (InitialActivity.kt:37) at android.app.Activity.performCreate (Activity.java:8074) at android.app.Activity.performCreate (Activity.java:8054) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1341) at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate (MonitoringInstrumentation.java:2) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3688)

dogi commented 5 months ago

last is version 6222 error which is similar to the first error