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

kotlin.UninitializedPropertyAccessException in io.treehouses.remote.BaseInitialActivity.getChatService #1770

Open dogi opened 3 years ago

dogi commented 3 years ago

https://play.google.com/console/u/0/developers/4706131988394147634/app/4973925947152385508/vitals/crashes/4edf3767/details?installedFrom=PLAY_STORE&days=30

java.lang.RuntimeException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2583)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2665)
  at android.app.ActivityThread.-wrap11 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1499)
  at android.os.Handler.dispatchMessage (Handler.java:111)
  at android.os.Looper.loop (Looper.java:207)
  at android.app.ActivityThread.main (ActivityThread.java:5765)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:789)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:679)
Caused by: kotlin.UninitializedPropertyAccessException: 
  at io.treehouses.remote.BaseInitialActivity.getChatService (BaseInitialActivity.java:43)
  at io.treehouses.remote.bases.BaseFragment.onAttach (BaseFragment.java:24)
  at androidx.fragment.app.Fragment.performAttach (Fragment.java:2894)
  at androidx.fragment.app.FragmentStateManager.attach (FragmentStateManager.java:485)
  at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:269)
  at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:112)
  at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1632)
  at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3109)
  at androidx.fragment.app.FragmentManager.dispatchCreate (FragmentManager.java:3042)
  at androidx.fragment.app.FragmentController.dispatchCreate (FragmentController.java:240)
  at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:272)
  at androidx.appcompat.app.AppCompatActivity.onCreate (AppCompatActivity.java:115)
  at io.treehouses.remote.InitialActivity.onCreate (InitialActivity.java:32)
  at android.app.Activity.performCreate (Activity.java:6309)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1113)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2530)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2665)
  at android.app.ActivityThread.-wrap11 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1499)
  at android.os.Handler.dispatchMessage (Handler.java:111)
  at android.os.Looper.loop (Looper.java:207)
  at android.app.ActivityThread.main (ActivityThread.java:5765)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:789)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:679)
Okuro3499 commented 4 months ago

duplicate #2057 which was fixed by #2058