Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. PetsApiController.petsPost() has thrown a ClassCastException
    Unsorted
    0
    1
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: io.swagger.model.Pet cannot be cast to io.swagger.model.Dog
    at io.swagger.api.PetsApiController.petsPost(PetsApiController.java:39)

External results for this pattern (1)

  1. cacti77via GitHub2 years ago
    io.swagger.model.Pet cannot be cast to io.swagger.model.Dog
    Show stack trace