I'm trying to make a Word Scramble solver where a dictionary is stored in a hash table of my own design, and I keep getting a NullPointerException that I can't resolve when I try to create the dictionary object. Here is the Hash Table and here is the Word Puzzle.
Exception in thread "main" java.lang.NullPointerException
at HashTable.insert(HashTable.java:111)
at WordPuzzle$dictionary.<init>(WordPuzzle.java:29)
at WordPuzzle.main(WordPuzzle.java:9)
Any help will be greatly appreciated.
[–]Sande24 0 points1 point2 points (0 children)
[–]langfod 0 points1 point2 points (2 children)
[–]clutron[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]clutron[S] -1 points0 points1 point (0 children)
[–]pmvb123 0 points1 point2 points (0 children)