The program works fluently on start, but after I mistakenly remove the database, there began the error dumbing. Really I don't understand why ?. The error code is 

```
 Process: com.rafaquarta.whatsapp, PID: 6886
    com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.rafaquarta.whatsapp.model.Usuario
        at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertBean(com.google.firebase:firebase-database@@19.2.0:435)
        at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToClass(com.google.firebase:firebase-database@@19.2.0:231)
        at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertToCustomClass(com.google.firebase:firebase-database@@19.2.0:79)
        at com.google.firebase.database.DataSnapshot.getValue(com.google.firebase:firebase-database@@19.2.0:203)
        at com.rafaquart

```

And the code where I face the issue is

```
 valueEventListenerContatos = usuariosRef.addValueEventListener(new ValueEventListener() {
            @Override
            public void onDataChange(@NonNull DataSnapshot dataSnapshot) {

                limparListaContatos();

                for(DataSnapshot dados: dataSnapshot.getChildren()){

                    Usuario usuario = dados.getValue(Usuario.class);

                    String emailUsuarioAtual = usuarioAtual.getEmail();
                    if(!emailUsuarioAtual.equals(usuario.getEmail())){
                        listaContatos.add(usuario);
                    }

                }

                adapter.notifyDataSetChanged();
            }

            @Override
            public void onCancelled(DatabaseError databaseError) {

            }
        });

```

In this code, I face error in

```
Usuario usuario = dados.getValue(Usuario.class);

```

The database:

![](https://i.ibb.co/4gg0y5k/Capture.jpg)

If anyone know any solution please help. I'm in a situation here. Why the error I don't understand. I checked 
[com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type models.firebase.FirebaseTripDataHolder](https://stackoverflow.com/questions/59122830/com-google-firebase-database-databaseexception-cant-convert-object-of-type-jav?noredirect=1&lq=1)

and this
[link](https://stackoverflow.com/questions/51156959/cant-convert-object-of-type-java-lang-string?noredirect=1&lq=1)

If anyone knows any solution please help me.