Search:

Type: Posts; User: ProgrammerNoobE

Search: Search took 0.15 seconds.

  1. Re: When I run my program, it says error: java.lang.NullPointerException

    Stupid of me! scanner = new Scanner (System.in);

    Thank you!
  2. Re: When I run my program, it says error: java.lang.NullPointerException

    Thank you for your fast reply!

    I tried to locate it, but I just don't see it. Only in this class the variabel numberOfGenerations is used and it is initialized just before the user is asked for...
  3. When I run my program, it says error: java.lang.NullPointerException

    Hello,

    I need some help, because I just don't see it!

    This is my code:



    class GameOfLife{ // main class
    Field field = new Field();
Results 1 to 3 of 3