This exception has no message.

Samebug tips4

You're inputing information in a way the Json Parser can't understand. This page might enlighten you a little:

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Google Groups by Pradeep Kumar Reddy, 1 year ago
    This exception has no message.
  • Stack trace

    • io.swagger.models.Model 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 at io.swagger.codegen.config.CodegenConfigurator.toClientOptInput( at at io.swagger.codegen.SwaggerCodegen.main( Caused by: 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.core.json.ReaderBasedJsonParser.nextToken( at com.fasterxml.jackson.databind.ObjectMapper._initForReading( at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose( at com.fasterxml.jackson.databind.ObjectMapper.readValue( at io.swagger.parser.util.DeserializationUtils.deserialize( ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 22 hours ago
    36 times, 1 week ago
    Once, 3 weeks ago
    3 times, 1 month ago
    Once, 1 month ago
    109 more bugmates