Search:

Type: Posts; User: hello_world

Search: Search took 0.11 seconds.

  1. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    I've added print statements throughout and can see what's causing the problem, but can't determine why. The problem is that I get the NullPointerException on line 40 of this code. Here is line 40:...
  2. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    Will try that tomorrow. I have my final to sleep for my final, then will be back to finalize my project for Saturday. I appreciate the help.
  3. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    Yes sir, LocalCall extends the abstract class PhoneCall, but I have a toString() method in both of them.
  4. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    I'm still getting nullpointer exceptions in my LocalCall class and don't know why. Does it have something to do with my abstract class or from the objects created by my MonthlyPhoneBill class. I'm...
  5. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    I see that Junky, but that's the issue that I can't figure out. I have toString() in my abstract class and my LocalCall class and another similar class LongDistanceCall. I'm having trouble tracking...
  6. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    not sure why I had my List<Object> that way. I do have "new" before my ArrayList<OBject>. As for the file name, that's above the code I originally listed in this thread. Here's the code that is...
  7. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    The startTime and endTime are objects created by another class CheckedTime which extends one class, which itself extends to a third class. The third class would be considered the first class...
  8. Replies
    17
    Views
    2,217

    Re: Problem extracting data from file

    okay, I fixed that to look like this "if (callType.equals("D") || callType.equals("L")) {"
    , but now it's creating a new error below and I am still am having the issue with extracting the strings in...
  9. Replies
    17
    Views
    2,217

    Problem extracting data from file

    List<Object> variable = ArrayList<Object>();
    Scanner fileScan;
    File inputFile = null;

    I checked my inputFile to see if it was in the directory. If yes then the code continues below.

    try {...
Results 1 to 9 of 10