JSON Schema Assertion in MAC OS

book

Article ID: 141100

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

When running the test case with Ensure JSON Schema Assertion in MAC OS, getting the exception like

 Unexpected exception thrown during evaluation of '{
<JSON Payload information>
}': java.lang.IncompatibleClassChangeError: Found interface com.github.fge.jsonschema.main.JsonSchema, but class was expected

Are there any ways to avoid this exception?

Environment

Release : 10.2, 10.3, 10.4 and 10.5

Component : CA Service Virtualization

OS: MAC OS only

Resolution

Moving the json-schema-validator-2.2.8.jar from LISA_HOME/lib/shared directory to the outside directory solved the problem.
The influence for removal of this file effected the feature for RAML in DevTest.