Update ToolErrorListener.java

update addError and addWarning to pass message methods they call instead of passing null