Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.StackOverflowError #51

Closed
Miamoto-Musashi opened this issue Mar 25, 2013 · 1 comment
Closed

java.lang.StackOverflowError #51

Miamoto-Musashi opened this issue Mar 25, 2013 · 1 comment

Comments

@Miamoto-Musashi
Copy link

complex schema with loops generate SOE but not trough spring integration

Is there a way to exclude schema scan?

thanks

java.lang.StackOverflowError
at com.fasterxml.jackson.databind.JsonNode.(JsonNode.java:43)
at com.fasterxml.jackson.databind.node.BaseJsonNode.(BaseJsonNode.java:23)
at com.fasterxml.jackson.databind.node.ContainerNode.(ContainerNode.java:27)
at com.fasterxml.jackson.databind.node.ObjectNode.(ObjectNode.java:22)
at com.fasterxml.jackson.databind.node.JsonNodeFactory.objectNode(JsonNodeFactory.java:287)
at com.fasterxml.jackson.databind.ser.std.StdSerializer.createObjectNode(StdSerializer.java:107)
at com.fasterxml.jackson.databind.ser.std.StdSerializer.createSchemaNode(StdSerializer.java:112)
at com.fasterxml.jackson.databind.ser.std.StdSerializer.createSchemaNode(StdSerializer.java:119)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.getSchema(BeanSerializerBase.java:641)
at com.fasterxml.jackson.databind.ser.std.StdSerializer.getSchema(StdSerializer.java:99)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.depositSchemaProperty(BeanPropertyWriter.java:488)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.getSchema(BeanSerializerBase.java:665)

@dilipkrish
Copy link
Member

@Miamoto-Musashi This error should be fixed in 0.4.0 version. There is already an open Issue (#48) to improve the schema documentation.

There is also a regression that does not respect the ignore type configuration extension (Issue #50), which I plan to fix in 0.4.1

adrianbk added a commit that referenced this issue Dec 14, 2014
[#516] Removes scala conversions from model tests

[#516] Removes scala conversions fromcorel tests

[#516] Remove more scala conversions

[#516] Fixes incorrect use of hasText

[#516] Removes scala optionals and fixes checks for blank or null strings

[#516] Adds JSON serialization for java swagger models (auth not working yet)

[#516] Serializes GrantTypes and Authorizations

[#516]Serializes aType as type

[#516 Serializes parameter types and formats

[#51]6Tests parameter type serialization

Serializes operation responseClass as json type attribute

[#516] Changes swagger DTO's to have java style getters

[#51] Moves swagger DTO's to more appropriate package

[#516] Improving coverage

[#516]Adds tests and disables serialization feature FAIL_ON_EMPTY_BEANS

[#516 Passes coverage limits and removes redundant DTO
adrianbk added a commit that referenced this issue Dec 15, 2014
[#516] Removes scala conversions from model tests

[#516] Removes scala conversions fromcorel tests

[#516] Remove more scala conversions

[#516] Fixes incorrect use of hasText

[#516] Removes scala optionals and fixes checks for blank or null strings

[#516] Adds JSON serialization for java swagger models (auth not working yet)

[#516] Serializes GrantTypes and Authorizations

[#516]Serializes aType as type

[#516 Serializes parameter types and formats

[#51]6Tests parameter type serialization

Serializes operation responseClass as json type attribute

[#516] Changes swagger DTO's to have java style getters

[#51] Moves swagger DTO's to more appropriate package

[#516] Improving coverage

[#516]Adds tests and disables serialization feature FAIL_ON_EMPTY_BEANS

[#516 Passes coverage limits and removes redundant DTO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants