Skip to content

Conversation

@averyaube
Copy link
Contributor

I ran into an issue using resolvers with Java 11, and after some debugging I traced the issue to the Apache commons-lang3 library.

This issue only comes up when implementing a GraphQLResolver class - root resolvers, etc are fine.

In ResolverInfo.kt, the NormalResolverInfo::findDataClass method makes a call to TypeUtils.determineTypeArguments, which internally hits a NPE - as commons-lang3 3.8 and below improperly create an enum value representing the current Java version.

By upgrading to 3.9 I have had success running my project again.

Thanks, hope this helps!

@oliemansm oliemansm merged commit b07bd4a into graphql-java-kickstart:master Jun 16, 2019
@oliemansm
Copy link
Member

Thanks @lowgain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants