title: Data is not showing(not uploading) in firebase database in android studio
body: <p>This is my code and I am uploading a student name and batch name to firebase database. This method is excecuted after user created the account successfully. 
  User is created in Authentication but data is not uploaded to database and the only error in logcat is: </p>
  
  <blockquote>
    <p>E/SpellCheckerSession: ignoring processOrEnqueueTask due to unexpected mState=TASK_CLOSE scp.mWhat=TASK_CLOSE </p>
  </blockquote>
  
  <pre><code>private void uploadUserDetails(){
          String name = studentName.getText().toString();
          String batch = "BCA";
          database = FirebaseDatabase.getInstance();
          DatabaseReference ref = database.getReference(firebaseAuth.getUid());
          Student student = new Student(name,batch);
          ref.child("Student Details").setValue(student);
      }
  
  public class Student {
      public String name;
      public String batch;
  
      Student(){
          this.name= "Hello";
          this.batch="Unspecified";
      }
      Student(String name,String batch){
          this.name=name;
          this.batch=batch;
      }
  }
  </code></pre>