Skip to content

Removed jakarta json dependency as it triggered a ClassCastException - #4032

Merged
shroffk merged 1 commit into
masterfrom
CSSTUDIO-3830
Nov 19, 2026
Merged

shroffk merged 1 commit into
masterfrom
CSSTUDIO-3830

Conversation

@georgweiss

@georgweiss georgweiss commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Running the save&restore service in IntelliJ did not reveal this, but when running as a regular Spring Boot jar a ClassCastException is triggered when data is deserialized. Apparently different JsonProviders are instantiated in these two cases.

Resolved by removing a jakarta json lib.

Also removed dependency to vtype.gson for save&restore as it is not needed.

  • Testing:

    • The feature has automated tests
    • Tests were run
    • If not, explain how you tested your changes
  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

@georgweiss
georgweiss requested a review from shroffk November 19, 2026 13:12
@sonarqubecloud

Copy link
Copy Markdown

@shroffk
shroffk merged commit 107775e into master Nov 19, 2026
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants