java.lang.IllegalStateException: This exception has no message.

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

Samebug tips

,
Expert tip

This probably occurs because you are calling notifyItemInserted(position);, notifyItemChanged(position), or notifyItemRemoved(position); from a background thread (or from a callback, which runs on a background thread). Use a Handler to solve it.

,
via stackoverflow.com by Unknown author

You can find the exact answer on the link.

Solutions on the web

via GitHub by aldoborrero
, 6 months ago
via GitHub by bobymicroby
, 10 months ago
via GitHub by alashow
, 11 months ago
This exception has no message.
java.lang.IllegalStateException:
at android.support.v7.widget.RecyclerView.assertNotInLayoutOrScroll(RecyclerView.java:2463)
at android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.onChanged(RecyclerView.java:4785)
at android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyChanged(RecyclerView.java:10769)
at io.intercom.android.sdk.inbox.InboxFragment.onStateChange(InboxFragment.java:339)
at io.intercom.android.sdk.inbox.InboxFragment.onStateChange(InboxFragment.java:54)
at io.intercom.android.sdk.utilities.ChangeSubscriber.onStateChange(ChangeSubscriber.java:33)
at io.intercom.android.sdk.store.Store$1.dispatch(Store.java:49)
at io.intercom.android.sdk.store.Store$2.dispatch(Store.java:63)
at io.intercom.android.sdk.middleware.PingMiddleware.dispatch(PingMiddleware.java:20)
at io.intercom.android.sdk.store.Store$3.dispatch(Store.java:71)
at io.intercom.android.sdk.middleware.LoggerMiddleware.dispatch(LoggerMiddleware.java:17)
at io.intercom.android.sdk.store.Store$3.dispatch(Store.java:71)
at io.intercom.android.sdk.store.Store.dispatch(Store.java:78)
at io.intercom.android.sdk.inbox.InboxFragment.onLoadMore(InboxFragment.java:284)
at io.intercom.android.sdk.views.EndlessRecyclerScrollListener.onScrolled(EndlessRecyclerScrollListener.java:36)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:4389)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
at android.view.Choreographer.doCallbacks(Choreographer.java:580)
at android.view.Choreographer.doFrame(Choreographer.java:549)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

Users with the same issue

2 times, 7 months ago
Once, 7 months ago
137 times, 10 months ago
7 times, 1 year ago
30 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.