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 7023839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:45:43+00:00 2026-05-27T23:45:43+00:00

I have an activity (BookMarks) that is called from main activity. BookMarks throw an

  • 0

I have an activity (BookMarks) that is called from main activity. BookMarks throw an exception (not all the time) I can’t figure out what this exception means.

I/ActivityManager(  181): START {cmp=com.unreal.muslim/.BookMarks} from pid 25558
I/WindowManager(  181): createSurface Window{41fbf070 Loading...  paused=false}: DRAW NOW PENDING
I/WindowManager(  181): createSurface Window{41da2230 com.unreal.muslim/com.unreal.muslim.BookMarks paused=false}: DRAW NOW PENDING
E/bm run catch(25558): Only the original thread that created a view hierarchy can touch its views.
D/AndroidRuntime(25558): Shutting down VM
W/dalvikvm(25558): threadid=1: thread exiting with uncaught exception (group=0x40a5d1f8)
E/AndroidRuntime(25558): FATAL EXCEPTION: main
E/AndroidRuntime(25558): java.lang.NullPointerException
E/AndroidRuntime(25558):        at android.widget.AbsListView$RecycleBin.getScrapView(AbsListView.java:5900)
E/AndroidRuntime(25558):        at android.widget.AbsListView.obtainView(AbsListView.java:2003)
E/AndroidRuntime(25558):        at android.widget.ListView.measureHeightOfChildren(ListView.java:1244)
E/AndroidRuntime(25558):        at android.widget.ListView.onMeasure(ListView.java:1155)
E/AndroidRuntime(25558):        at android.view.View.measure(View.java:12603)
E/AndroidRuntime(25558):        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4677)
E/AndroidRuntime(25558):        at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369)
E/AndroidRuntime(25558):        at android.widget.LinearLayout.measureVertical(LinearLayout.java:660)
E/AndroidRuntime(25558):        at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)
E/AndroidRuntime(25558):        at android.view.View.measure(View.java:12603)
E/AndroidRuntime(25558):        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4677)
E/AndroidRuntime(25558):        at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)
E/AndroidRuntime(25558):        at android.view.View.measure(View.java:12603)
E/AndroidRuntime(25558):        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4677)
E/AndroidRuntime(25558):        at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369)
E/AndroidRuntime(25558):        at android.widget.LinearLayout.measureVertical(LinearLayout.java:660)
E/AndroidRuntime(25558):        at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)
E/AndroidRuntime(25558):        at android.view.View.measure(View.java:12603)
E/AndroidRuntime(25558):        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4677)
E/AndroidRuntime(25558):        at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)
E/AndroidRuntime(25558):        at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2072)
E/AndroidRuntime(25558):        at android.view.View.measure(View.java:12603)
E/AndroidRuntime(25558):        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1044)
E/AndroidRuntime(25558):        at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2418)
E/AndroidRuntime(25558):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(25558):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(25558):        at android.app.ActivityThread.main(ActivityThread.java:4340)
E/AndroidRuntime(25558):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(25558):        at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(25558):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime(25558):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime(25558):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  181):   Force finishing activity com.unreal.muslim/.BookMarks
W/ActivityManager(  181):   Force finishing activity com.unreal.muslim/.main

Can anyone help me understand this exception and a possible solution to fix it?

  • 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-05-27T23:45:44+00:00Added an answer on May 27, 2026 at 11:45 pm

    I think this is your problem

    E/bm run catch(25558): Only the original thread that created a view hierarchy can touch its views.
    

    Where are you setting your Adapter for your ListView? Also, could you post code from your Activity?

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

Sidebar

Related Questions

I can't for the life of me figure out how to have an activity
I have a NativeActivity derived activity that I wrote that is to use bookmarks
I Have activity that get some data from the internet, and shows it to
I have activity which needs to be active all the time. I have thread
I have an activity that starts on demand of the user. The user can
I have an activity that could show different dialogs during run-time. I use onCreateDialog(int
I have activity that load's image from server into imageview. Image is displayed after
I have an Activity that plays some audio from within a ListActivity . The
That's the cuestion , i have: Activity A Activity B From A i want
I have activity which can show overlay. This overlay have markers which gets from

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.