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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:30:16+00:00 2026-06-05T06:30:16+00:00

I met a problem when I was trying to import a csv file into

  • 0

I met a problem when I was trying to import a csv file into my java code, here is the related java code

try {   File file = new File("/home/hanrui/workspace/table.csv");
        BufferedReader reader = new BufferedReader(new FileReader(file));
        reader.readLine();
        String line = null;
        while((line=reader.readLine())!=null){
            String item[] = line.split(",");

            String last = item[item.length-1];
            int value = Integer.parseInt(last);
            series1Numbers[row] = value;
            series2Numbers[row] = value;
            row++;
        }
    } catch (FileNotFoundException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }

and when I debugged it, it reported an error: Source Not Found. But I imported the file like this: File file = new File(“/home/hanrui/workspace/table.csv”). (And I debugged other part of my codes with no error reported)

Any help will be appreciated =)

Here is the log:

[2012-06-05 15:27:25 – AndroidPlotExample] Installing AndroidPlotExample.apk…

[2012-06-05 15:27:52 – AndroidPlotExample] Success!

[2012-06-05 15:27:52 – AndroidPlotExample] Starting activity edu.ius.rwisman.AndroidPlotExample.AndroidPlotExampleActivity on device emulator-5554

[2012-06-05 15:27:53 – AndroidPlotExample] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=edu.ius.rwisman.AndroidPlotExample/.AndroidPlotExampleActivity }

[2012-06-05 15:27:54 – AndroidPlotExample] Attempting to connect debugger to ‘edu.ius.rwisman.AndroidPlotExample’ on port 8643

  • 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-05T06:30:17+00:00Added an answer on June 5, 2026 at 6:30 am

    This problem is probably not related to the code but to some problem with your IDE. By the short error description it looks like the class doesn’t have the associated source code.

    Edit:
    Try to close Eclipse and check if there are any java ghost processes. If so kill them, restart Eclipse and try again

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

Sidebar

Related Questions

I met a problem when trying @Singleton of Guice: import com.google.inject.Singleton; @Singleton public class
I'm trying to push my code into github, but almost everytime I meet this
I'm very very new to android & JAVA, and I'm trying to learn writing
I'm new in iOS development, and met this library linking problem in last few
I met very strange problem. I have Timetable model and try to write my
I met a problem which is very strange, my company uses Visual Source Safe
In my customized function I met a strange problem. I'm writing a function to
I met with an xml tranformation problem. After applying a suggested muenchian grouping to
Well, when I'm trying to use 'inclusion' in Django, I met some confused problems
I'm new to the map and grep functions and I'm trying to make an

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.