Open ptahchiev opened 9 years ago
But this seems to be redis client error. Which versions of redis client and redis do you use? Are they compatible? Embedded-redis currently wraps redis 2.8.19
Sorry, I didn't see your reply. I use jedis 2.5.2:
[INFO] +- org.springframework.boot:spring-boot-starter-redis:jar:1.2.3.RELEASE:compile
[INFO] | \- (redis.clients:jedis:jar:2.5.2:compile - omitted for duplicate)
[INFO] \- redis.clients:jedis:jar:2.5.2:compile
and embedded redis version 0.6:
\- com.github.kstyrc:embedded-redis:jar:0.6:compile
The weird thing is it doesn't happen all the time. And as soon as I see the exception if I refresh the page the second time works fine.
Just looking at the stack trace is not enough, you need to check arguments that were passed to HMSET
.
At least one field/value pair must be passed.
Check whether you're handling potentially empty list of parameters properly.
Also null
value might cause this.
https://redis.io/commands/hmset
If it's no longer an issue, please close it.
Hello,
I'm using your project and I think it's awesome, but sometimes (completely unpredictable) I get the following exception:
I'm using java8, ubuntu and 0.6 of the embedded redis.