My code is breaking on the following line with a nullpointerexception:
if (stringVariable.equals(null)){
Previous to this statement, I dec
Use
stringVariable == null
To test whether stringVariable is null.
stringVariable
null
The equals method (and every other method) requires stringVariable to not be null.
equals