Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16952

JsonSchemaValidationTest failed with a java.lang.NoClassDefFoundError

XMLWordPrintable

      This issue occurs while the changes are made in the PR: https://github.com/wildfly/wildfly-core/pull/5190 for the issue: https://issues.redhat.com/browse/WFCORE-5979

      The following is the log for the failed build:

      org.eclipse.microprofile.health.tck.JsonSchemaValidationTest.testPayloadJsonVerifiesWithTheSpecificationSchema: java.lang.NoClassDefFoundError: com/google/common/util/concurrent/internal/InternalFutureFailureAccess

      at java.base/java.lang.ClassLoader.defineClass1(Native Method)

      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)

      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)

      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)

      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)

      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)

      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)

      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)

      at java.base/java.lang.ClassLoader.defineClass1(Native Method)

      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)

      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)

      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)

      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)

      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)

      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)

      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)

      at java.base/java.lang.ClassLoader.defineClass1(Native Method)

      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)

      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)

      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)

      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)

      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)

      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)

      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)

      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)

      at com.google.common.cache.LocalCache$LoadingValueReference.<init>(LocalCache.java:3476)

      at com.google.common.cache.LocalCache$LoadingValueReference.<init>(LocalCache.java:3480)

      at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2138)

      at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049)

      at com.google.common.cache.LocalCache.get(LocalCache.java:3966)

      at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3989)

      at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4950)

      at com.github.fge.jsonschema.core.processing.CachingProcessor.process(CachingProcessor.java:122)

      at com.github.fge.jsonschema.processors.validation.InstanceValidator.process(InstanceValidator.java:109)

      at com.github.fge.jsonschema.processors.validation.ValidationProcessor.process(ValidationProcessor.java:56)

      at com.github.fge.jsonschema.processors.validation.ValidationProcessor.process(ValidationProcessor.java:34)

      at com.github.fge.jsonschema.core.processing.ProcessingResult.of(ProcessingResult.java:79)

      at com.github.fge.jsonschema.main.JsonSchemaImpl.doValidate(JsonSchemaImpl.java:77)

      at com.github.fge.jsonschema.main.JsonSchemaImpl.validate(JsonSchemaImpl.java:100)

      at com.github.fge.jsonschema.main.JsonSchemaImpl.validate(JsonSchemaImpl.java:110)

      at org.eclipse.microprofile.health.tck.JsonSchemaValidationTest.testPayloadJsonVerifiesWithTheSpecificationSchema(JsonSchemaValidationTest.java:76)

      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)

      at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:239)

      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

       

      Check the link for a more detailed description:
      https://github.com/wildfly/wildfly-core/pull/5190#issuecomment-1238223321

            ssur@redhat.com Sudeshna Sur (Inactive)
            ssur@redhat.com Sudeshna Sur (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: