Search:

Type: Posts; User: copeg

Search: Search took 0.17 seconds.

  1. Replies
    4
    Views
    1,483

    [SOLVED] Re: Getting NullPointerException in program

    if(accountNum != accounts[count].getAcctNumber())


    Step through the code and consider the operations one by one. When the above line is first executed, has accounts[count] yet been instantiated?...
  2. Replies
    4
    Views
    1,483

    [SOLVED] Re: Getting NullPointerException in program

    You mention a NullPointerException in the title of your post, but no mention of it in your post. Is this the problem? Where is this exception being thrown (recommended you post the full stack trace)?
Results 1 to 2 of 2