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

No content to map due to end-of-input #57

Open
flyfeifei66 opened this issue Sep 4, 2018 · 3 comments
Open

No content to map due to end-of-input #57

flyfeifei66 opened this issue Sep 4, 2018 · 3 comments

Comments

@flyfeifei66
Copy link

com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: [B@72f926e6; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:2839)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2781)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2011)
at com.wandoulabs.jodis.RoundRobinJedisPool.resetPools(RoundRobinJedisPool.java:255)
at com.wandoulabs.jodis.RoundRobinJedisPool.(RoundRobinJedisPool.java:243)
at com.wandoulabs.jodis.RoundRobinJedisPool.(RoundRobinJedisPool.java:64)
at com.wandoulabs.jodis.RoundRobinJedisPool$Builder.build(RoundRobinJedisPool.java:479)

报这个错怎么回事

@Apache9
Copy link
Member

Apache9 commented Sep 4, 2018

看起来是读到的文件是空的所以json parse失败了?

@flyfeifei66
Copy link
Author

找到原因了,jodis支持2.X和3.X,总之用法版本没对应上,改了一通,好了。

@freeport0421
Copy link

codis3.2.2版本 jodis0.5.1,0.4.1 都试了 仍报这个错 No content to map due to end-of-input. 你是怎么解决的?

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

No branches or pull requests

3 participants