java.lang.ClassCastException: graphql.schema.GraphQLTypeReference cannot be cast to graphql.schema.GraphQLUnmodifiedType

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ceronman
, 1 year ago
graphql.schema.GraphQLTypeReference cannot be cast to graphql.schema.GraphQLUnmodifiedType
via GitHub by ceronman
, 1 year ago
graphql.schema.GraphQLTypeReference cannot be cast to graphql.schema.GraphQLUnmodifiedType
via GitHub by raptortech-js
, 1 year ago
graphql.schema.GraphQLTypeReference cannot be cast to graphql.schema.GraphQLUnmodifiedType
via GitHub by Hellblazer
, 1 year ago
graphql.schema.GraphQLTypeReference cannot be cast to graphql.schema.GraphQLUnmodifiedType
java.lang.ClassCastException: graphql.schema.GraphQLTypeReference cannot be cast to graphql.schema.GraphQLUnmodifiedType
at graphql.schema.SchemaUtil.getUnmodifiedType(SchemaUtil.java:30)
at graphql.schema.SchemaUtil.isLeafType(SchemaUtil.java:12)
at graphql.validation.rules.ScalarLeafs.checkField(ScalarLeafs.java:21)
at graphql.validation.RulesVisitor.checkField(RulesVisitor.java:92)
at graphql.validation.RulesVisitor.enter(RulesVisitor.java:51)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:19)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverseImpl(LanguageTraversal.java:22)
at graphql.validation.LanguageTraversal.traverse(LanguageTraversal.java:14)
at graphql.validation.Validator.validateDocument(Validator.java:20)
at graphql.GraphQL.execute(GraphQL.java:73)
at graphql.GraphQL.execute(GraphQL.java:55)
at graphql.GraphQL.execute(GraphQL.java:47)
at graphql.GraphQL.execute(GraphQL.java:43)
at undefined.GraphQLTest.main(GraphQLTest.java:63)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.