Open stavrogin opened 1 year ago
I am also getting a stackoverflow since version 5.15.0, more specifically the exception is related with a circular dependency on the logging libraries:
java.lang.StackOverflowError
at org.slf4j.helpers.FormattingTuple.<init>(FormattingTuple.java)
at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:185)
at org.slf4j.helpers.MessageFormatter.basicArrayFormat(MessageFormatter.java:170)
at org.slf4j.jul.JDK14LoggerAdapter.innerNormalizedLoggingCallHandler(JDK14LoggerAdapter.java:146)
at org.slf4j.jul.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:172)
at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:221)
at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:303)
at java.logging/java.util.logging.Logger.log(Logger.java:980)
at org.slf4j.jul.JDK14LoggerAdapter.innerNormalizedLoggingCallHandler(JDK14LoggerAdapter.java:156)
at org.slf4j.jul.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:172)
Any idea on how to avoid this error?
Describe the issue StackOverflow error when executing a test with maven 3.6.3 including @JsonTest Spring Boot annotation It happens with 5.15.0 version; with 5.14.0 there is no issue
What you are trying to do I am running the following empty test:
MockServer version 5.15.0
To Reproduce Run the following unit test above with maven (from IntelliJ it works fine)
Expected behaviour Unit test runs without errors
MockServer Log java.lang.StackOverflowError