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

Using dinky version 1.2.1, write flink sql to report an error. #4244

Open
2 of 3 tasks
ylhh353 opened this issue Feb 24, 2025 · 1 comment
Open
2 of 3 tasks

Using dinky version 1.2.1, write flink sql to report an error. #4244

ylhh353 opened this issue Feb 24, 2025 · 1 comment
Labels
Bug Something isn't working More Information Required More information required Need Reproduce Need to provide reproduction steps

Comments

@ylhh353
Copy link

ylhh353 commented Feb 24, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

使用dinky 1.2.1版本 ,写flink sql 报错.

org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type java.util.ArrayList<org.dinky.data.ext.ConfigItem> from Object value (token JsonToken.START_OBJECT); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type java.util.ArrayList<org.dinky.data.ext.ConfigItem> from Object value (token JsonToken.START_OBJECT)
at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 82] (through reference chain: org.dinky.data.dto.TaskSaveDTO["configJson"]->org.dinky.data.model.ext.TaskExtConfig["customConfig"])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:391)

What you expected to happen

org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type java.util.ArrayList<org.dinky.data.ext.ConfigItem> from Object value (token JsonToken.START_OBJECT); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type java.util.ArrayList<org.dinky.data.ext.ConfigItem> from Object value (token JsonToken.START_OBJECT)
at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 82] (through reference chain: org.dinky.data.dto.TaskSaveDTO["configJson"]->org.dinky.data.model.ext.TaskExtConfig["customConfig"])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:391)

How to reproduce

org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type java.util.ArrayList<org.dinky.data.ext.ConfigItem> from Object value (token JsonToken.START_OBJECT); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type java.util.ArrayList<org.dinky.data.ext.ConfigItem> from Object value (token JsonToken.START_OBJECT)
at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 82] (through reference chain: org.dinky.data.dto.TaskSaveDTO["configJson"]->org.dinky.data.model.ext.TaskExtConfig["customConfig"])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:391)

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ylhh353 ylhh353 added Bug Something isn't working Waiting for reply Waiting for reply labels Feb 24, 2025
@github-actions github-actions bot changed the title 使用dinky 1.2.1版本 ,写flink sql 报错. Using dinky version 1.2.1, write flink sql to report an error. Feb 24, 2025
@Zzm0809 Zzm0809 added Need Reproduce Need to provide reproduction steps More Information Required More information required and removed Waiting for reply Waiting for reply labels Feb 24, 2025
Copy link

Hello @ylhh353, we need you to provide reproduction steps so that we can help you troubleshoot the problem. Issues are marked `Need Reproduce`.

你好 @ylhh353, 我们需要你提供复现步骤以便于我们帮你排查问题,Issues 标注为 `Need Reproduce` 。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working More Information Required More information required Need Reproduce Need to provide reproduction steps
Projects
None yet
Development

No branches or pull requests

2 participants