0

My app works as expected but sometimes in my console i get this error that i don't know how to solve

enter image description here

keikai
  • 14,085
  • 9
  • 49
  • 68

1 Answers1

0

Use promise.catch clause or a try/catch block to handle server errors in your promise callbacks.

Manan Joshi
  • 629
  • 1
  • 6
  • 17
  • I think that the error is coming from the java API, in the console this is the error "JSON mapping problem: java.util.ArrayList[5]->com.ravtecnologia.desafio.models.Grupo["atividades"]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: could not extract ResultSet (through reference chain: java.util.ArrayList[5]->com.ravtecnologia.desafio.models.Grupo["atividades"])" – Antonio Fabricio Mar 21 '20 at 23:06