Skip to content
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

Cannot construct instance of com.codepine.api.testrail.model.Configuration$Config (although at least one Creator exists): non-static inner classes like this can only by instantiated using default, no-argument constructor #52

Open
ayarem opened this issue May 21, 2020 · 0 comments

Comments

@ayarem
Copy link

ayarem commented May 21, 2020

Hi!
I'm receiving this RuntimeExceprion
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of com.codepine.api.testrail.model.Configuration$Config (although at least one Creator exists): non-static inner classes like this can only by instantiated using default, no-argument constructor at [Source: (BufferedInputStream); line: 1, column: 71] (through reference chain: java.util.ArrayList[0]->com.codepine.api.testrail.model.Configuration["configs"]->java.util.ArrayList[0])
Looks like there's a need to add custom deserializer for Configuration@Config class.

lib: testrail-api-java-client:2.0.1
on call to testRail.configurations().list(int projectId).execute()
Thanks in advance.

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

No branches or pull requests

1 participant