Search:

Type: Posts; User: abzywabzy

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    1,133

    Re: Programme producing NullPointerException

    I used the code you gave me and it is saying all the values are null which I am guessing is the problem?
    I want the users input to change the value from null to the input?
    Could you explain why my...
  2. Replies
    7
    Views
    1,133

    Re: Programme producing NullPointerException

    I have printed the array out because what I am trying to do is have the user input an arraylist into various array values. For example for [1][3]'s value I would try add the places "derby" and...
  3. Replies
    7
    Views
    1,133

    Re: Programme producing NullPointerException

    Exception in thread "main" java.lang.NullPointerException
    at myCourseworkPackage.stops.setStops(stops.java:26)
    at train.main(train.java:179)

    Thats the full error message
    line 26 of stops is the...
  4. Replies
    7
    Views
    1,133

    Programme producing NullPointerException

    Am new to programming and am trying to create a system that is similar to a train timetable system.
    I want the user to be able to enter the stops between two stations ( from a preset list of 5...
Results 1 to 4 of 4