See this part in the error message:
NumberFormatException: Invalid int: "null"
you seem to try to parse the String “null” to an int. This is not possible and will therefore throw NumberFormatException.
4
solved FATAL EXCEPTION: main ; Error receiving broadcast Intent