-
Notifications
You must be signed in to change notification settings - Fork 43
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
FlowConverterFacotry: java.util.NoSuchElementException: List is empty. #511
Comments
I rolled back to a previous build and both bugs were not reproducible. |
The issue is here
if I add more than one response converter, it will jump automatically when I call |
Hi, I'm getting the same error on the ktorVersion = "3.0.0"
|
@niyajali |
@niyajali Could be an issue with R8. What does your ConverterFactory look like? |
I'm using Ktorfit FlowConverterFactory |
@niyajali So you are using exactly the same code as in here in your code? https://github.com/Foso/Ktorfit/blob/master/ktorfit-converters/flow/src/commonMain/kotlin/de/jensklingenberg/ktorfit/converter/FlowConverterFactory.kt I'm asking because based on the package name "org.mifospay.core.network.utils.FlowConverterFactory" you are using your own class and i have other way of knowing what the code in there looks like |
@Foso Yes I've copied exact same code, and also tried with |
|
Ktorfit version
1.11.1
What happened and how can we reproduce this issue?
I didn't find the
FlowConverterFactory
in the last version as I previously reported, so I copied it from the Repo but when trying to parse any response it falls at this lineval response = getResponse()
with this error
java.util.NoSuchElementException: List is empty.
What did you expect to happen?
The parsing to success as in the previous versions.
Is there anything else we need to know about?
No response
The text was updated successfully, but these errors were encountered: