posted 8 years ago
Thanks, fellas. Vijay, you were right on the money. It fixed that error. I have since fixed an OutOfBoundsException on the array. I now have a NullPointerException. I have researched the issue, and what I've learned is that I'm referencing an object that doesn't exists. I cannot figure out what object it may be. So, here's my code and the compile error. Thanks again!
Error:
run:
Tic Tac Toe game board
Connect Four game board
Exception in thread "main" java.lang.NullPointerException
at games.board.Board.toString(Board.java:47)
at boardgametester.BoardGameTester.main(BoardGameTester.java:37)
C:\Users\Chris\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 0 seconds)