Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8167297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:09:03+00:00 2026-06-06T20:09:03+00:00

I am implementing simple thread that passes messages to main UI thread to make

  • 0

I am implementing simple thread that passes messages to main UI thread to make changes in UL but sometimes I get this exception and can’t figure out its exact reason.

01-22 21:03:50.035: E/AndroidRuntime(18076): FATAL EXCEPTION: main
01-22 21:03:50.035: E/AndroidRuntime(18076): java.lang.RuntimeException: Main thread loop unexpectedly exited
01-22 21:03:50.035: E/AndroidRuntime(18076):    at android.app.ActivityThread.main(ActivityThread.java:4426)
01-22 21:03:50.035: E/AndroidRuntime(18076):    at java.lang.reflect.Method.invokeNative(Native Method)
01-22 21:03:50.035: E/AndroidRuntime(18076):    at java.lang.reflect.Method.invoke(Method.java:511)
01-22 21:03:50.035: E/AndroidRuntime(18076):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-22 21:03:50.035: E/AndroidRuntime(18076):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-22 21:03:50.035: E/AndroidRuntime(18076):    at dalvik.system.NativeStart.main(Native Method)
01-22 21:03:50.109: E/JavaBinder(18076): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
01-22 21:03:50.109: E/JavaBinder(18076): android.util.AndroidRuntimeException: { what=102 when=-14h26m28s942ms obj=android.os.BinderProxy@41347e18 } This message is already in use.
01-22 21:03:50.109: E/JavaBinder(18076):    at android.os.MessageQueue.enqueueMessage(MessageQueue.java:187)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.os.Handler.sendMessageAtTime(Handler.java:473)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.os.Handler.sendMessageDelayed(Handler.java:446)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.os.Handler.sendMessage(Handler.java:383)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.app.ActivityThread.queueOrSendMessage(ActivityThread.java:1834)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.app.ActivityThread.access$200(ActivityThread.java:123)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.app.ActivityThread$ApplicationThread.schedulePauseActivity(ActivityThread.java:505)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.app.ApplicationThreadNative.onTransact(ApplicationThreadNative.java:78)
01-22 21:03:50.109: E/JavaBinder(18076):    at android.os.Binder.execTransact(Binder.java:338)
01-22 21:03:50.109: E/JavaBinder(18076):    at dalvik.system.NativeStart.run(Native Method)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T20:09:05+00:00Added an answer on June 6, 2026 at 8:09 pm

    Ted Hopp said:

    The log says that you are trying to reuse a Message object. Don’t do that; get a fresh Message object for each message.

    SO, using fresh messages fixed my problem. As he didn’t post his answer even after I asked him to do so, so that I can accept his answer.

    So I am doing it by myself.

    Thank you 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing a simple Graph library for my uni project and since this is
I am implementing a simple iOS solitaire game that allows the user to drag
Web-development novice here. I want to try implementing a simple web site that uses
I am currently implementing a method that accepts two bitmap objects. We can assume
I'm implementing a simple eclipse notification plugin that is supposed to change an icon
I have an application that contains a main Activity, which has a very simple
Can someone please show a simple, but complete example of how one could use
I'm implementing a simple threaded application in which I have a server thread, and
I am implementing a simple file server using Java NIO with one selecting thread
I am getting acquainted with boost thread and signals. I am thus implementing this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.