Search:

Type: Posts; User: kvmeurs

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    3,674

    Re: NullPointerException but dont know why

    Thank you, however I put r.openFile() in it, but I still get the same exception.
  2. Replies
    5
    Views
    3,674

    NullPointerException but dont know why

    When I run class Programmalijst, I get a NullpointerException.
    It states that my x.hasNext() is null, I dont know why. Im a beginner in Java.




    import java.util.*;
    import java.io.File;
Results 1 to 2 of 2