I\'m getting a really annoying error, saying I\'m getting a null pointer exception but there\'s an if statement to check to see if the text is null before proceeding:
if(Text.equals(null));
The above will throw a NullPointerException each time Text is null. Anytime you use the "." operator on null you get a NullPointerException.
If you are getting a NPE after if(Text != null), please post the stack trace.