Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro pesquisa de contatos proximos

Estou com erro na pesquisa de contatos proximos, segue p log

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Thu Nov 29 13:58:50 BRST 2018
There was an unexpected error (type=Internal Server Error, status=500).
Command failed with error 16755 (Location16755): 'Can't extract geo keys: { _id: ObjectId('5c0008999f169a18fc3865e0'), contato: { endereco: "Rua do Comércio, Ilicínea - MG, Brasil", type: "point", coordinates: [ -45.8230063, -20.945845 ] }, nome: "edson de oliveira", data_nascimento: new Date(-2208977612000), curso: { nome: "es" }, habilidades: [], notas: [] } unknown GeoJSON type: { endereco: "Rua do Comércio, Ilicínea - MG, Brasil", type: "point", coordinates: [ -45.8230063, -20.945845 ] }' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "Can't extract geo keys: { _id: ObjectId('5c0008999f169a18fc3865e0'), contato: { endereco: \"Rua do Comércio, Ilicínea - MG, Brasil\", type: \"point\", coordinates: [ -45.8230063, -20.945845 ] }, nome: \"edson de oliveira\", data_nascimento: new Date(-2208977612000), curso: { nome: \"es\" }, habilidades: [], notas: [] } unknown GeoJSON type: { endereco: \"Rua do Comércio, Ilicínea - MG, Brasil\", type: \"point\", coordinates: [ -45.8230063, -20.945845 ] }", "code" : 16755, "codeName" : "Location16755" }
com.mongodb.MongoCommandException: Command failed with error 16755 (Location16755): 'Can't extract geo keys: { _id: ObjectId('5c0008999f169a18fc3865e0'), contato: { endereco: "Rua do Comércio, Ilicínea - MG, Brasil", type: "point", coordinates: [ -45.8230063, -20.945845 ] }, nome: "edson de oliveira", data_nascimento: new Date(-2208977612000), curso: { nome: "es" }, habilidades: [], notas: [] } unknown GeoJSON type: { endereco: "Rua do Comércio, Ilicínea - MG, Brasil", type: "point", coordinates: [ -45.8230063, -20.945845 ] }' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "Can't extract geo keys: { _id: ObjectId('5c0008999f169a18fc3865e0'), contato: { endereco: \"Rua do Comércio, Ilicínea - MG, Brasil\", type: \"point\", coordinates: [ -45.8230063, -20.945845 ] }, nome: \"edson de oliveira\", data_nascimento: new Date(-2208977612000), curso: { nome: \"es\" }, habilidades: [], notas: [] } unknown GeoJSON type: { endereco: \"Rua do Comércio, Ilicínea - MG, Brasil\", type: \"point\", coordinates: [ -45.8230063, -20.945845 ] }", "code" : 16755, "codeName" : "Location16755" } at com.mongodb.internal.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:179) at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:293) at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:255) at 
1 resposta
solução!

resolvi