Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by LissF
, 1 year ago
via GitHub by LissF
, 1 year ago
reference.get() must not be null
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)