Search:

Type: Posts; User: redrooster

Search: Search took 0.16 seconds.

  1. Re: Exception in thread "main" java.lang.NullPointerException - And everything else...

    I'm not quite sure how to do that. I also notice that I'm getting a similar error:
    You passed your turn.It is the other Pokemon's turn.Exception in thread "main" java.lang.NullPointerException
    ...
  2. Re: Exception in thread "main" java.lang.NullPointerException - And everything else...

    I'm sorry, but I don't quite understand. Are you suggesting that I add a println in the actual code?
  3. Re: Exception in thread "main" java.lang.NullPointerException - And everything else...

    Again, I believe it's currentPokemon, but I'm not sure how to get it to be defined all throughout the program; I declare it at the very top of my code. Any ideas?
  4. Re: Exception in thread "main" java.lang.NullPointerException - And everything else...

    Exception in thread "main" java.lang.NullPointerException
    at PokemonArena.attack(PokemonArena.java:337)
    at PokemonArena.userMove(PokemonArena.java:243)
    at...
  5. Exception in thread "main" java.lang.NullPointerException - And everything else...

    Hello, I have a project that requires that I make a Pokemon program to simulate what would occur in an ordinary Pokemon game, without the graphics involved. I am continually coming across the same...
Results 1 to 5 of 5