android.view.ViewRootImpl$CalledFromWrongThreadException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Runtime Error using Timer - Android
    via Stack Overflow by user4549769
    ,
  • Android app data taking from MySql table
    via Stack Overflow by roshanpeter
    ,
  • Android java crash after thread.start
    via Stack Overflow by Rob
    ,
    • android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6814) at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:978) at android.view.ViewGroup.invalidateChild(ViewGroup.java:5100) at android.view.View.invalidateInternal(View.java:12826) at android.view.View.invalidate(View.java:12790) at android.view.View.invalidate(View.java:12774) at android.widget.ImageView.invalidateDrawable(ImageView.java:248) at android.graphics.drawable.Drawable.invalidateSelf(Drawable.java:387) at android.graphics.drawable.ShapeDrawable.updateShape(ShapeDrawable.java:476) at android.graphics.drawable.ShapeDrawable.onBoundsChange(ShapeDrawable.java:333) at android.graphics.drawable.Drawable.setBounds(Drawable.java:170) at org.kontalk.util.MessageUtils.drawableToBitmap(MessageUtils.java:882) at org.kontalk.ui.MessagingNotification.updateMessagesNotification(MessagingNotification.java:368) at org.kontalk.ui.MessagingNotification$1.run(MessagingNotification.java:146) at java.lang.Thread.run(Thread.java:833)

    Users with the same issue

    Indri Yunita
    2 times, last one,
    Unknown visitor1 times, last one,
    filpgame
    7 times, last one,
    Donsy
    4 times, last one,
    malhobayyeb
    4 times, last one,
    27 more bugmates