SyntaxFix
Write A Post
Hire A Developer
Questions
From @Jon Skeet comment, really the String value is "null". Following code solved it
String
"null"
if (userEmail != null && !userEmail.isEmpty() && !userEmail.equals("null"))