Skip to content

Get a NullPointerException when using the geodist command of redis [DATAREDIS-1214] #1783

@spring-projects-issues

Description

@spring-projects-issues

QiangYoung opened DATAREDIS-1214 and commented

In redis, the geodist command may return a null value. which also mentioned in the comments of "io.lettuce.core.api.sync.RedisGeoCommands#geodist".

But in "org.springframework.data.redis.connection.lettuce.LettuceGeoCommands#geoDist", the distanceConverter accepts a non-null Double parameter and convert to "org.springframework.data.geo.Distance".

 
 
 


Referenced from: pull request #565

Backported to: 2.3.5 (Neumann SR5), 2.2.11 (Moore SR11)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions