java lang nullpointerexception attempt to invoke virtual method 'boolean on a null object reference code example
Example: boolean java.lang.String.equals(java.lang.Object)' on a null object reference
if (called_from != null && called_from.equalsIgnoreCase("add")) {