Feign RetryableException is not serialisable
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.8k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 41
Description
Hi,
Unable to serialize the exception object RetryableException .
Get below exception :
"could not serialize : feign.TARGET$HardCodedTarget"
Version : feign-core : 11.6
Additional info:
Before referring to recent version of feign-core , I got below error
After that above error("could not serialize :feign.Request")
While looking around for a solution , I came across this https://github.com/OpenFeign/feign/issues/1193. So upgraded the feign-core to recent version 11.6 .
After that, exception("could not serialize :feign.Request") got resolved , but stuck up new exception
"could not serialize :feign. TARGET$HardCodedTarget"
Any suggestions ? Workaround please?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing serialization of feign.RetryableException with feign-core 11.6, focusing on the reported feign.TARGET$HardCodedTarget failure and the earlier issue linked as #1193. Done means the exception can be serialized without that failure; the issue names no source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100