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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:52:26+00:00 2026-06-10T04:52:26+00:00

i’m programming a little app which displays data from a website. The data is

  • 0

i’m programming a little app which displays data from a website. The data is provided as a json string. i had 3 activities which worked fine. now i changed the code of one activity and wanted to test it. but since then none of the activities are working anymore and i dont find the error with the debugger. maybe someone can help me with the logcat.

Thx

08-23 08:17:09.600: E/Trace(641): error opening trace file: No such file or directory (2)
08-23 08:17:10.368: D/dalvikvm(641): GC_FOR_ALLOC freed 93K, 2% free 10954K/11143K, paused 60ms, total 64ms
08-23 08:17:10.738: D/gralloc_goldfish(641): Emulator without GPU emulation detected.
08-23 08:17:32.118: D/AndroidRuntime(641): Shutting down VM
08-23 08:17:32.118: W/dalvikvm(641): threadid=1: thread exiting with uncaughtexception (group=0x40a13300)
08-23 08:17:32.260: E/AndroidRuntime(641): FATAL EXCEPTION: main
08-23 08:17:32.260: E/AndroidRuntime(641): java.lang.RuntimeException: Unable to start activity ComponentInfo{de.damps.fantasy/de.damps.fantasy.scoresActivity}: android.os.NetworkOnMainThreadException
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.ActivityThread.access$600(ActivityThread.java:130)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.os.Handler.dispatchMessage(Handler.java:99)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.os.Looper.loop(Looper.java:137)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.ActivityThread.main(ActivityThread.java:4745)
08-23 08:17:32.260: E/AndroidRuntime(641):  at java.lang.reflect.Method.invokeNative(Native Method)
08-23 08:17:32.260: E/AndroidRuntime(641):  at java.lang.reflect.Method.invoke(Method.java:511)
08-23 08:17:32.260: E/AndroidRuntime(641):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
08-23 08:17:32.260: E/AndroidRuntime(641):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
08-23 08:17:32.260: E/AndroidRuntime(641):  at dalvik.system.NativeStart.main(Native Method)
08-23 08:17:32.260: E/AndroidRuntime(641): Caused by: android.os.NetworkOnMainThreadException
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)
08-23 08:17:32.260: E/AndroidRuntime(641):  at java.net.InetAddress.lookupHostByName(InetAddress.java:385)
08-23 08:17:32.260: E/AndroidRuntime(641):  at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
08-23 08:17:32.260: E/AndroidRuntime(641):  at java.net.InetAddress.getAllByName(InetAddress.java:214)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpConnection.<init>(HttpConnection.java:70)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:341)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:315)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpEngine.connect(HttpEngine.java:310)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:289)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:239)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:273)
08-23 08:17:32.260: E/AndroidRuntime(641):  at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:168)
08-23 08:17:32.260: E/AndroidRuntime(641):  at java.net.URL.openStream(URL.java:462)
08-23 08:17:32.260: E/AndroidRuntime(641):  at de.damps.fantasy.Json.readUrl(Json.java:39)
08-23 08:17:32.260: E/AndroidRuntime(641):  at de.damps.fantasy.Json.<init>(Json.java:20)
08-23 08:17:32.260: E/AndroidRuntime(641):  at de.damps.fantasy.scoresActivity.parse(scoresActivity.java:110)
08-23 08:17:32.260: E/AndroidRuntime(641):  at de.damps.fantasy.scoresActivity.onCreate(scoresActivity.java:34)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.Activity.performCreate(Activity.java:5008)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
08-23 08:17:32.260: E/AndroidRuntime(641):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
08-23 08:17:32.260: E/AndroidRuntime(641):  ... 11 more
08-23 08:17:32.399: D/dalvikvm(641): GC_CONCURRENT freed 227K, 3% free 11198K/11463K, paused 77ms+106ms, total 270ms
  • 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-10T04:52:27+00:00Added an answer on June 10, 2026 at 4:52 am

    You are doing some network activity in that Activity on the Main UI thread. This will raise an exception whenever your build target is set to honeycomb or higher. To fix it reduce the build target, or move the Network operation to it’s own Thread or an AsyncTask.

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

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a text area in my form which accepts all possible characters from
Does anyone know how can I replace this 2 symbol below from the string
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
I am trying to understand how to use SyndicationItem to display feed which is
I've got a string that has curly quotes in it. I'd like to replace

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.