https://kotlinlang.org logo
#apollo-kotlin
Title
# apollo-kotlin
s

Seb Jachec

03/12/2024, 3:24 PM
Using Apollo 3.8.2, the
generateServiceApolloSources
task is failing with
java.lang.NullPointerException (no error message)
when I run a Gradle project sync after I've downloaded a changed schema and fixed a number of errors in my query/mutation files. Does anyone have any suggestions as to how I can work out what's going wrong? The full exception didn't feel very helpful (see thread)
1
Untitled
D'oh, solved – had an
extend type
declaration in a separate file that specified
@typePolicy(keyFields: ..)
with a field that no longer exists
m

mbonnin

03/12/2024, 3:31 PM
Mind filing an issue? We want to provide better error messages for these cases and need better test coverage overall too
s

Seb Jachec

03/12/2024, 3:32 PM
Sure thing!
thank you color 1
1