Skip to content

LettuceConnection.execute(ZCARD) fails with unsupported output exception #2473

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

Closed
cjdxhjj opened this issue Dec 27, 2022 · 1 comment
Closed
Assignees
Labels
type: bug A general bug

Comments

@cjdxhjj
Copy link

cjdxhjj commented Dec 27, 2022

when i invoke zcard command by this method, it print an error
image

image

i use Lettuce, my default codec is bytearraycodes

image
because the inteface dosn't defined that method, it define the flowing
image

commandOutputTypeHint is null
image

, when i run into that method, i found it auto locate the prototype and adjustment the result resolve, but i can't find the zcard map to the commondoutput class, so it use the default, and resolve the result cause an error

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 27, 2022
@mp911de mp911de self-assigned this Jan 9, 2023
@mp911de mp911de added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 9, 2023
@mp911de mp911de changed the title invoke zcard with Object execute(String command, byte[]... args) report error LettuceConnection.execute(ZCARD) fails with unsupported output exception Jan 10, 2023
@mp911de mp911de added this to the 2.7.7 (2021.2.7) milestone Jan 10, 2023
mp911de added a commit that referenced this issue Jan 10, 2023
…te(…)`.

We now provide a type hint for the ZCARD command.

Closes #2473
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
@jxblum jxblum closed this as completed in 002da15 Jan 11, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
…te(…)`.

We now provide a type hint for the ZCARD command.

Closes spring-projects#2473
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
…te(…)`.

We now provide a type hint for the ZCARD command.

Closes spring-projects#2473

Original pull request: spring-projects#2482
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
…te(…)`.

We now provide a type hint for the ZCARD command.

Closes spring-projects#2473

Original pull request: spring-projects#2482
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 11, 2023
@cjdxhjj
Copy link
Author

cjdxhjj commented Jan 12, 2023

@mp911de thanks very much

jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 12, 2023
…te(…)`.

We now provide a type hint for the ZCARD command.

Closes spring-projects#2473

Original pull request: spring-projects#2482
jxblum pushed a commit to jxblum/spring-data-redis that referenced this issue Jan 12, 2023
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
3 participants