Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.

java.lang.RuntimeException #77

Open
jbpratt opened this issue Jan 4, 2021 · 4 comments
Open

java.lang.RuntimeException #77

jbpratt opened this issue Jan 4, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@jbpratt
Copy link
Member

jbpratt commented Jan 4, 2021

android.app.ActivityThread.performLaunchActivity

java.lang.RuntimeException: 
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3116)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3259)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:78)
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:108)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:68)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1950)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7073)
  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)
@jbpratt jbpratt added the bug Something isn't working label Jan 4, 2021
@jbpratt
Copy link
Member Author

jbpratt commented Jan 4, 2021

Crash Samsung Galaxy S8 Android 9 (SDK 28)

@jbpratt
Copy link
Member Author

jbpratt commented Jan 7, 2021

gg.strims.android.fragments.FragmentViewBindingDelegate.getValue

java.lang.RuntimeException: 
  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args (LoadedApk.java:1641)
  at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run (Unknown Source:2)
  at android.os.Handler.handleCallback (Handler.java:888)
  at android.os.Handler.dispatchMessage (Handler.java:100)
  at android.os.Looper.loop (Looper.java:213)
  at android.app.ActivityThread.main (ActivityThread.java:8178)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:513)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1101)
Caused by: java.lang.IllegalStateException: 
  at androidx.fragment.app.Fragment.getViewLifecycleOwner (Fragment.java:328)
  at gg.strims.android.fragments.FragmentViewBindingDelegate.getValue (FragmentViewBindingDelegate.kt:39)
  at gg.strims.android.fragments.ChatFragment.getBinding (Unknown Source:10)
  at gg.strims.android.fragments.ChatFragment.parseChatMessage (ChatFragment.kt:1189)
  at gg.strims.android.fragments.ChatFragment.access$parseChatMessage (ChatFragment.kt:62)
  at gg.strims.android.fragments.ChatFragment$broadcastReceiver$1.onReceive (ChatFragment.kt:187)
  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args (LoadedApk.java:1631)
java.lang.RuntimeException: 
  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0 (LoadedApk.java:1493)
  at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run (Unknown Source:2)
  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:7073)
  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)
Caused by: java.lang.IllegalStateException: 
  at androidx.fragment.app.Fragment.getViewLifecycleOwner (Fragment.java:328)
  at gg.strims.android.fragments.FragmentViewBindingDelegate.getValue (FragmentViewBindingDelegate.kt:39)
  at gg.strims.android.fragments.ChatFragment.getBinding (Unknown Source:10)
  at gg.strims.android.fragments.ChatFragment$broadcastReceiver$1.onReceive (ChatFragment.kt:226)
  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0 (LoadedApk.java:1483)

@jbpratt
Copy link
Member Author

jbpratt commented Jan 7, 2021

gg.strims.android.fragments.StreamsFragment$StreamItem$bind$$inlined$with$lambda$1.invokeSuspend

java.lang.IllegalStateException: 
  at androidx.fragment.app.Fragment.requireActivity (Fragment.java:833)
  at gg.strims.android.fragments.StreamsFragment$StreamItem$bind$$inlined$with$lambda$1.invokeSuspend (StreamsFragment.kt:135)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.kt:571)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.kt:738)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.kt:678)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:665)

@jbpratt
Copy link
Member Author

jbpratt commented Jan 13, 2021

gg.strims.android.fragments.ChatFragment.printMessage

java.lang.RuntimeException: 
  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0 (LoadedApk.java:1493)
  at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run (Unknown Source:2)
  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:7073)
  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)
Caused by: java.lang.NullPointerException: 
  at gg.strims.android.fragments.ChatFragment.printMessage (ChatFragment.kt:143)
  at gg.strims.android.fragments.ChatFragment.access$printMessage (ChatFragment.kt:62)
  at gg.strims.android.fragments.ChatFragment$onViewCreated$$inlined$with$lambda$2.onChanged (ChatFragment.kt:407)
  at gg.strims.android.fragments.ChatFragment$onViewCreated$$inlined$with$lambda$2.onChanged (ChatFragment.kt:62)
  at androidx.lifecycle.LiveData.considerNotify (LiveData.java:131)
  at androidx.lifecycle.LiveData.dispatchingValue (LiveData.java:149)
  at androidx.lifecycle.LiveData.setValue (LiveData.java:307)
  at androidx.lifecycle.MutableLiveData.setValue (MutableLiveData.java:50)
  at gg.strims.android.utils.LiveDataUtilsKt.notifyObserver (LiveDataUtils.kt:6)
  at gg.strims.android.viewmodels.ChatViewModel.addMessage (ChatViewModel.kt:24)
  at gg.strims.android.fragments.ChatFragment$broadcastReceiver$1.onReceive (ChatFragment.kt:178)
  at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0 (LoadedApk.java:1483)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant