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

ClassCastException java.lang.Long cannot be cast to [B #90

Closed
kimjuny opened this issue Oct 8, 2015 · 1 comment
Closed

ClassCastException java.lang.Long cannot be cast to [B #90

kimjuny opened this issue Oct 8, 2015 · 1 comment
Assignees
Labels

Comments

@kimjuny
Copy link

kimjuny commented Oct 8, 2015

I often get this error both from WorkerImpl and ClientImpl.(Regarding this post: redis/jedis#186

Is it feasible for both WorkerImpl and ClientImpl use pool connection rather than single Jedis instance? Or is there a way to avoid frequently recreating WorkerImpl and ClientImpl?

@gresrun gresrun self-assigned this Dec 28, 2015
gresrun added a commit that referenced this issue Dec 28, 2015
@gresrun
Copy link
Owner

gresrun commented Dec 28, 2015

@RonankiM According to redis/jedis#186, the issue was due to using Pool.returnResource() instead of Jedis.close(). Can you confirm this fixes your issue?

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

No branches or pull requests

2 participants