-
Notifications
You must be signed in to change notification settings - Fork 162
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
Stack Overflow after 1.2.0, because of shared commit. #1163
Comments
After many iteration on finding out what works and what doesnt, Below Commit is what makes the difference, with commit, plugins are loaded as expected, without, get stackOverflow error as shown. Shortlisted as much as I could, lmk if I can help or diagnose it more in any other way |
So it seems like a type with a recursive descriptor. We can change the calculation to put in a placeholder character for when it recurses by keeping a set of seen types. Will have to try and reproduce, but should be pretty easy give what you've found out so far. |
Got the same exception when using JsonElement as return type of a suspending ZiplineService method: interface ExampleService : ZiplineService {
suspend fun example(): JsonElement
} JsonElement might be JsonArray or JsonObject, which in turn contains This exception does not seem to appear when using JsonElement in return type of non-suspending functions or when using it in function parameters. |
@JakeWharton your hunch was r8, took time and dug in more today: this is the class which ends in endless recursion
![]() |
Some Traces thrown from plugins are very opaque on the cause of the crash, or am I missing something here ?
The text was updated successfully, but these errors were encountered: