java.lang.IllegalStateException

reference.get() must not be null

Solutions on the web18205

  • reference.get() must not be null
  • via GitHub by LissF
    , 11 months ago
    reference.get() must not be null
  • via GitHub by Riateche
    , 11 months ago
    parentByTree must not be null
  • Stack trace

    • java.lang.IllegalStateException: reference.get() must not be null at com.github.nitrico.lastadapter.WeakReferenceOnListChangedCallback.getAdapter(WeakReferenceOnListChangedCallback.kt:30) at com.github.nitrico.lastadapter.WeakReferenceOnListChangedCallback.onItemRangeInserted(WeakReferenceOnListChangedCallback.kt:41) at android.databinding.ListChangeRegistry$1.onNotifyCallback(ListChangeRegistry.java:47) at android.databinding.ListChangeRegistry$1.onNotifyCallback(ListChangeRegistry.java:38) at android.databinding.CallbackRegistry.notifyCallbacks(CallbackRegistry.java:201) at android.databinding.CallbackRegistry.notifyFirst64(CallbackRegistry.java:122) at android.databinding.CallbackRegistry.notifyRemainder(CallbackRegistry.java:169) at android.databinding.CallbackRegistry.notifyRecurse(CallbackRegistry.java:145) at android.databinding.CallbackRegistry.notifyCallbacks(CallbackRegistry.java:91) at android.databinding.ListChangeRegistry.notifyCallbacks(ListChangeRegistry.java:135) at android.databinding.ListChangeRegistry.notifyInserted(ListChangeRegistry.java:93) at android.databinding.ObservableArrayList.notifyAdd(ObservableArrayList.java:118) at android.databinding.ObservableArrayList.addAll(ObservableArrayList.java:60)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.