Thanks !!!! i got it... i hadn't created the object of the ArrayList in the WordList class......
public void addWord(Word word)
{
wordList = new ArrayList<Word>(); //this was...
Type: Posts; User: nutan
Thanks !!!! i got it... i hadn't created the object of the ArrayList in the WordList class......
public void addWord(Word word)
{
wordList = new ArrayList<Word>(); //this was...
Exception in thread "main" java.lang.NullPointerException
at WordList.addWord(WordList.java:24)
at Execution.main(Execution.java:13)
--- Update ---
Exception in thread "main"...
Help needed .. Null pointer Exception.. ~o)
//Execution class .......
public class Execution {