io.swagger.models.Model: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips


The fingerprint generator in Silhouette got wrong parameter so it failed to decode the json from the PLAY_SESSION cookie.

Expert tip

Check if you forgot to set the "data" field inside your request. If you did set it, check if it's being serialized before sending, and if it's being serialized the right way.

Solutions on the web

via Google Groups by Pradeep Kumar Reddy, 1 year ago
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'type': was expecting 'null', 'true', 'false' or NaN at [Source: type: object properties: moduleUnitName: type: string description: name of module unit moduleUnits: type: integer description: number of module units isModule: type: string description: isModule true or false moduleItem: $ref: './moduleItem.yml'; line: 1, column: 6]
at com.fasterxml.jackson.core.JsonParser._constructError(
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._matchToken(
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._matchTrue(
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(
at io.swagger.parser.util.DeserializationUtils.deserialize(
at io.swagger.parser.ResolverCache.loadRef(
at io.swagger.parser.processors.ExternalRefProcessor.processRefToExternalDefinition(
at io.swagger.parser.processors.ModelProcessor.processRefModel(
at io.swagger.parser.processors.ModelProcessor.processModel(
at io.swagger.parser.processors.DefinitionsProcessor.processDefinitions(
at io.swagger.parser.SwaggerResolver.resolve(
at io.swagger.codegen.config.CodegenConfigurator.toClientOptInput(
at io.swagger.codegen.SwaggerCodegen.main(

Users with the same issue

2 times, 5 days ago
Once, 3 weeks ago
2 times, 3 weeks ago
Once, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.