Search:

Type: Posts; User: JavaPF

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    3,163

    [SOLVED] Re: crazy NullPointerException

    Ah OK yes that makes sense. Learning new things every day!

    I'm glad you have resolved this. Thank you for marking your thread as solved :)
  2. Replies
    10
    Views
    3,163

    [SOLVED] Re: crazy NullPointerException

    Hello dean,

    The enhanced for loop is something that is reasonably new to myself. I have always used the regular for loop to print array data in the past. This will not cause any performance issues...
  3. Replies
    10
    Views
    3,163

    [SOLVED] Re: crazy NullPointerException

    Dean, if this wasn't generating an exception, what is your expected output for:



    System.out.print(players[0].pocketCard1.toString() + " ");


    ?
  4. Replies
    10
    Views
    3,163

    [SOLVED] Re: crazy NullPointerException

    Thanks for that dean,

    I can see the exception. I will look into it now..
  5. Replies
    10
    Views
    3,163

    [SOLVED] Re: crazy NullPointerException

    Hello dean_martin and welcome to the forums :D

    Could you please attach all of the code so I can compile it and see the error for myself?
Results 1 to 5 of 5