Skip to content

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

@ayarem

Description

@ayarem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions