Skip to content

Class Cast Exception when retrieve data Point with value equal integer. [DATAMONGO-1607] #2517

Closed
@spring-projects-issues

Description

@spring-projects-issues

Thiago Diniz da Silveira opened DATAMONGO-1607 and commented

Trying to retrieve a Point data type with the x or y with value equal Integer (in database int32) it's throwing a ClassCastException because Integer cannot be cast to Double.
As I can see it will occur with Circle and Sphere too.

File: GeoConverters.java:124


Referenced from: pull request #438

Backported to: 1.10.1 (Ingalls SR1), 1.9.8 (Hopper SR8)

Metadata

Metadata

Labels

in: mappingMapping and conversion infrastructuretype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions