Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Sep 12, 2020 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@spring-projects-issues
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants