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

Jackson Deserialize failure with 15.1.1 -> 15.1.2 upgrade #612

Open
AndrewWestberg opened this issue Jan 21, 2025 · 2 comments
Open

Jackson Deserialize failure with 15.1.1 -> 15.1.2 upgrade #612

AndrewWestberg opened this issue Jan 21, 2025 · 2 comments

Comments

@AndrewWestberg
Copy link

After upgrading to 15.1.1 -> 15.1.2, Jackson is not able to deserialize the Schedule type.

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.github.kagkarlsson.scheduler.task.schedule.Schedule` (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 13] (through reference chain: com.github.kagkarlsson.scheduler.task.helper.PlainScheduleAndData["schedule"])
@kagkarlsson
Copy link
Owner

I cannot see what would have caused that 🤔

@kagkarlsson
Copy link
Owner

Though I can see that that type is not very Jackson-friendly..

@kagkarlsson kagkarlsson removed the bug label Jan 29, 2025
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

2 participants