Please paste the full stacktrace from the IDEA error popup.
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.lang.jsgraphql.types.introspection.Introspection
at com.intellij.lang.jsgraphql.types.schema.SchemaUtil.extractCodeFromTypes(SchemaUtil.java:151)
at com.intellij.lang.jsgraphql.types.schema.GraphQLSchema$Builder.lambda$buildImpl$4(GraphQLSchema.java:669)
at com.intellij.lang.jsgraphql.types.schema.GraphQLCodeRegistry.transform(GraphQLCodeRegistry.java:165)
at com.intellij.lang.jsgraphql.types.schema.GraphQLSchema$Builder.buildImpl(GraphQLSchema.java:669)
at com.intellij.lang.jsgraphql.types.schema.GraphQLSchema$Builder.build(GraphQLSchema.java:660)
at com.intellij.lang.jsgraphql.types.schema.idl.SchemaGenerator.makeExecutableSchemaImpl(SchemaGenerator.java:140)
at com.intellij.lang.jsgraphql.types.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:97)
at com.intellij.lang.jsgraphql.types.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:71)
at com.intellij.lang.jsgraphql.types.schema.idl.UnExecutableSchemaGenerator.makeUnExecutableSchema(UnExecutableSchemaGenerator.java:55)
at com.intellij.lang.jsgraphql.ide.introspection.GraphQLIntrospectionService.printIntrospectionAsGraphQL(GraphQLIntrospectionService.java:338)
at com.intellij.lang.jsgraphql.ide.introspection.GraphQLIntrospectionService.printIntrospectionAsGraphQL(GraphQLIntrospectionService.java:305)
at com.intellij.lang.jsgraphql.ide.introspection.GraphQLIntrospectionFilesManager.lambda$getOrCreateIntrospectionSDL$0(GraphQLIntrospectionFilesManager.java:32)
at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:227)
at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:227)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:228)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
at com.intellij.lang.jsgraphql.ide.introspection.GraphQLIntrospectionFilesManager.getOrCreateIntrospectionSDL(GraphQLIntrospectionFilesManager.java:27)
at com.intellij.lang.jsgraphql.ide.search.GraphQLPsiSearchHelper$4.visitElement(GraphQLPsiSearchHelper.java:271)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:273)
at com.intellij.json.psi.impl.JsonLiteralImpl.accept(JsonLiteralImpl.java:26)
at com.intellij.json.psi.impl.JsonStringLiteralImpl.accept(JsonStringLiteralImpl.java:28)
at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:41)
at com.intellij.lang.jsgraphql.ide.search.GraphQLPsiSearchHelper$4.visitElement(GraphQLPsiSearchHelper.java:282)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:273)
at com.intellij.json.psi.impl.JsonPropertyImpl.accept(JsonPropertyImpl.java:27)
at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:41)
at com.intellij.lang.jsgraphql.ide.search.GraphQLPsiSearchHelper$4.visitElement(GraphQLPsiSearchHelper.java:282)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:273)
at com.intellij.json.psi.impl.JsonValueImpl.accept(JsonValueImpl.java:26)
at com.intellij.json.psi.impl.JsonContainerImpl.accept(JsonContainerImpl.java:27)
at com.intellij.json.psi.impl.JsonObjectImpl.accept(JsonObjectImpl.java:27)
at com.intellij.psi.impl.source.tree.SharedImplUtil.acceptChildren(SharedImplUtil.java:185)
at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:751)
at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:41)
at com.intellij.lang.jsgraphql.ide.search.GraphQLPsiSearchHelper$4.visitElement(GraphQLPsiSearchHelper.java:282)
at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:35)
at com.intellij.psi.PsiRecursiveElementVisitor.visitFile(PsiRecursiveElementVisitor.java:60)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:60)
at com.intellij.lang.jsgraphql.ide.search.GraphQLPsiSearchHelper.lambda$processElementsWithWordUsingIdentifierIndex$3(GraphQLPsiSearchHelper.java:286)
at com.intellij.util.indexing.FileBasedIndexEx.proc...
Version and Environment Details
Operation system: macOS 12.0.1
IDE version: IU-212.4746.92
Plugin version: 3.1.0
Description
Stacktrace
Please paste the full stacktrace from the IDEA error popup.
Version and Environment Details
Operation system: macOS 12.0.1 IDE version: IU-212.4746.92 Plugin version: 3.1.0