Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

WRONGTYPE Operation against a key holding the wrong kind of value

$
0
0

I am looping through an arrayList and using redis rpush function to store strings in redis .However,I am getting the following error: WRONGTYPE Operation against a key holding the wrong kind of value

 for(String abc:myList) {    jedis.rpush(abc,(String[]) myList.toArray(new String[myList.size()]));

Thanks in advance!


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>