title: Why does the onError method keep getting invoked(Firebase)?
body: <p>I'm working with fire base and I'm following the creating a user account code on their website
  -><a href="https://www.firebase.com/docs/android/guide/login/password.html" rel="nofollow">https://www.firebase.com/docs/android/guide/login/password.html</a>.</p>
  
  <pre><code> public class RegisterFragment extends Fragment {
  private final String FIREBASE_URL = "(MyFirebaseURL)";
  private Firebase fRef;
  private EditText etUserName;
  private EditText etEmail;
  private EditText etPassword;
  private EditText etConfirmPassword;
  private Button bSubmit;
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
  
      View v = inflater.inflate(R.layout.fragment_register,container,false);
      Firebase.setAndroidContext(getActivity());
  
      fRef = new Firebase(FIREBASE_URL);
  
      fRef.createUser("(hardcodedEmail)", "(hardcodedPassword)", new Firebase.ValueResultHandler&lt;Map&lt;String, Object&gt;&gt;() {
          @Override
          public void onSuccess(Map&lt;String, Object&gt; result) {
  
              Toast toast = Toast.makeText(getActivity(),"Registration Successful! UID: " + result.get("uid"), Toast.LENGTH_LONG);
              toast.show();
          }
  
          @Override
          public void onError(FirebaseError firebaseError) {
              Toast toast = Toast.makeText(getActivity(),"There was an error", Toast.LENGTH_LONG);
              toast.show();
          }
      });
  </code></pre>
  
  <p>...And for some reason the onError() method gets invoked.
  Why is that?</p>
  
  <p>In case this helps, I first use "Firebase.setAndroidContext(getActivity());" in my LoginFragment.</p>