You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: