Title: Issue when jackson try to deserialize response classes · Issue #55 · pluggyai/pluggy-java · GitHub
Open Graph Title: Issue when jackson try to deserialize response classes · Issue #55 · pluggyai/pluggy-java
X Title: Issue when jackson try to deserialize response classes · Issue #55 · pluggyai/pluggy-java
Description: I'm receive an error by Jackson when try to use Quarkus RestClient and response classes from this repository as mapped response of the client. With this stacktrace error: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: can...
Open Graph Description: I'm receive an error by Jackson when try to use Quarkus RestClient and response classes from this repository as mapped response of the client. With this stacktrace error: com.fasterxml.jackson.data...
X Description: I'm receive an error by Jackson when try to use Quarkus RestClient and response classes from this repository as mapped response of the client. With this stacktrace error: com.fasterxml.jackson....
Opengraph URL: https://github.com/pluggyai/pluggy-java/issues/55
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue when jackson try to deserialize response classes","articleBody":"I'm receive an error by Jackson when try to use Quarkus RestClient and response classes from this repository as mapped response of the client. \nWith this stacktrace error: \n\n`com.fasterxml.jackson.databind.exc.InvalidDefinitionException: cannot construct instance of ai.pluggy.client.response.AccountResponse (no creators, like default constructor, exist): cannot deserialize from object value (no delegate- or property-based creator) at [source: (org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper); `\n\nI suspect the error occur when Jackson try to deserialize the **AccountsResponse**, but the class don't have a default constructor. \nAs you can see from the master code, the class is annotated only with `@Data` \u0026 `@Builder` and not provide a default and empty constructor.\n```\n@Data\n@Builder\npublic class AccountsResponse {\n\n List\u003cAccount\u003e results;\n}\n```\n\nWhen we map the class with `@NoArgsConstructor` \u0026 `@AllArgsConstructor` annotation of Lombok it's fixed. \n\n```\n@Data\n@Builder\n@NoArgsConstructor\n@AllArgsConstructor\npublic class AccountsResponse {\n\n List\u003cAccount\u003e results;\n}\n```\n\nSo, It's possible to include that annotations on all of response classes ? \nI've already did it, if i can make a pull request just include me as a collaborator.\n","author":{"url":"https://github.com/felipelx07","@type":"Person","name":"felipelx07"},"datePublished":"2025-02-18T22:41:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/55/pluggy-java/issues/55"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b05cf5b-03a3-4694-c167-c541d18c7b97 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD9C:19722:2FC11D5:441C08D:6A4C0C91 |
| html-safe-nonce | 3163603487dda2f8bd983aa4fc52336cce158da972f5c0e026d0ad86d24698a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDlDOjE5NzIyOjJGQzExRDU6NDQxQzA4RDo2QTRDMEM5MSIsInZpc2l0b3JfaWQiOiI5MDM3ODc1ODg0MzQyMzgxNzEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7b5c56efc71fff69be0cf6e1102be28d47239898d4f49da907e5a207203a9e9d |
| hovercard-subject-tag | issue:2861784745 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pluggyai/pluggy-java/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca6604c8072683da121814f0a3c242941278bfb37b4b33ded607fcd3feae43f2/pluggyai/pluggy-java/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca6604c8072683da121814f0a3c242941278bfb37b4b33ded607fcd3feae43f2/pluggyai/pluggy-java/issues/55 |
| og:image:alt | I'm receive an error by Jackson when try to use Quarkus RestClient and response classes from this repository as mapped response of the client. With this stacktrace error: com.fasterxml.jackson.data... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | felipelx07 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 940b0dbb4d0fe72558ee760b2ff0f25a504383fdfe404f3a7691ec853b8dc17f |
| turbo-cache-control | no-preview |
| go-import | github.com/pluggyai/pluggy-java git https://github.com/pluggyai/pluggy-java.git |
| octolytics-dimension-user_id | 52629757 |
| octolytics-dimension-user_login | pluggyai |
| octolytics-dimension-repository_id | 283552672 |
| octolytics-dimension-repository_nwo | pluggyai/pluggy-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 283552672 |
| octolytics-dimension-repository_network_root_nwo | pluggyai/pluggy-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b0267d17ea43e55446153a7e2c60bb6ac3cffd6b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width