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

  • Home
  • SEARCH
  • 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 4108496
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:39:51+00:00 2026-05-20T21:39:51+00:00

I’m trying to develop an application for Android, but I’m having difficulties tracing the

  • 0

I’m trying to develop an application for Android, but I’m having difficulties tracing the source and cause of each exception I get in the process.
My code runs in an Activity, and if a line of mine causes an exception, then rather than stopping on that line and highlighting it, it throws me into the ActivityThread class’s code, which apparently I don’t have, so I just get a “Source not found” screen.

Trying to find the troublesome line like this is very frustrating, so I’m trying to find a way to prevent Android’s code from catching every exception during development.
My searches online have yielded no information as to how I go about doing this, so I decided to ask here.

Here is the stack trace before the exception is thrown in my code:

Thread [<1> main] (Suspended
(breakpoint at line 72 in GameView))
GameView.showMenu() line: 72
GameView.init() line: 59
GameView.(Context,
AttributeSet) line: 51
Constructor.constructNative(Object[],
Class, Class[], int, boolean) line:
not available [native method]
Constructor.newInstance(Object…)
line: 415
PhoneLayoutInflater(LayoutInflater).createView(String,
String, AttributeSet) line: 505
PhoneLayoutInflater(LayoutInflater).createViewFromTag(String,
AttributeSet) line: 570
PhoneLayoutInflater(LayoutInflater).rInflate(XmlPullParser,
View, AttributeSet) line: 623
PhoneLayoutInflater(LayoutInflater).inflate(XmlPullParser,
ViewGroup, boolean) line: 408
PhoneLayoutInflater(LayoutInflater).inflate(int,
ViewGroup, boolean) line: 320
PhoneLayoutInflater(LayoutInflater).inflate(int,
ViewGroup) line: 276
PhoneWindow.setContentView(int) line:
207
MainActivity(Activity).setContentView(int)
line: 1657
MainActivity.onCreate(Bundle) line:
20
Instrumentation.callActivityOnCreate(Activity,
Bundle) line: 1047
ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord,
Intent) line: 1586
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord,
Intent) line: 1638
ActivityThread.access$1500(ActivityThread,
ActivityThread$ActivityClientRecord,
Intent) line: 117
ActivityThread$H.handleMessage(Message)
line: 928
ActivityThread$H(Handler).dispatchMessage(Message)
line: 99 Looper.loop() line: 123
ActivityThread.main(String[]) line:
3647 Method.invokeNative(Object,
Object[], Class, Class[], Class, int,
boolean) line: not available [native
method] Method.invoke(Object,
Object…) line: 507
ZygoteInit$MethodAndArgsCaller.run()
line: 839 ZygoteInit.main(String[])
line: 597 NativeStart.main(String[])
line: not available [native method]

and here is the stack trace after Eclipse has stopped execution on account of the exception:

Thread [<1> main] (Suspended
(exception RuntimeException))
ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord,
Intent) line: 1622
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord,
Intent) line: 1638
ActivityThread.access$1500(ActivityThread,
ActivityThread$ActivityClientRecord,
Intent) line: 117
ActivityThread$H.handleMessage(Message)
line: 928
ActivityThread$H(Handler).dispatchMessage(Message)
line: 99 Looper.loop() line: 123
ActivityThread.main(String[]) line:
3647 Method.invokeNative(Object,
Object[], Class, Class[], Class, int,
boolean) line: not available [native
method] Method.invoke(Object,
Object…) line: 507
ZygoteInit$MethodAndArgsCaller.run()
line: 839 ZygoteInit.main(String[])
line: 597 NativeStart.main(String[])
line: not available [native method]

Any help would be highly appreciated.

  • 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-20T21:39:52+00:00Added an answer on May 20, 2026 at 9:39 pm

    When the debugger breaks like that, just continue execution (probably you’ll need to do this 2 or 3 times). Then look at the LogCat output for a meaningful stack trace.

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

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm trying to select an H1 element which is the second-child in its group

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.