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(JsonParser.java:1419)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:508)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2300)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2277)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._matchToken(ReaderBasedJsonParser.java:2129)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._matchTrue(ReaderBasedJsonParser.java:2080)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3105)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3051)
at io.swagger.parser.util.DeserializationUtils.deserialize(DeserializationUtils.java:48)
at io.swagger.parser.ResolverCache.loadRef(ResolverCache.java:102)
at io.swagger.parser.processors.ExternalRefProcessor.processRefToExternalDefinition(ExternalRefProcessor.java:26)
at io.swagger.parser.processors.ModelProcessor.processRefModel(ModelProcessor.java:92)
at io.swagger.parser.processors.ModelProcessor.processModel(ModelProcessor.java:33)
at io.swagger.parser.processors.DefinitionsProcessor.processDefinitions(DefinitionsProcessor.java:40)
at io.swagger.parser.SwaggerResolver.resolve(SwaggerResolver.java:41)
at io.swagger.parser.SwaggerParser.read(SwaggerParser.java:66)
at io.swagger.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:383)
at io.swagger.codegen.cmd.Generate.run(Generate.java:221)
at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)

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.