-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException when Deactivating type mapping #210
Comments
|
Here is my stacktrace :
|
The stacktrace does not seem to be related to |
Indeed, I was using
|
Thanks for reporting, I see the problem now! |
To deactivate the type mapping, the documentation advises to set
typeKey
to nullAs explained in the documentation
In the method
com.arangodb.springframework.core.convert.DefaultArangoTypeMapper.DefaultTypeAliasAccessor#readAliasFrom
, the callsource.get(this.typeKey);
throws aNullPointerException
whenthis.typeKey
is null. I suggest to add a non-null check beforebefore
after
Here is the linked pull request
The text was updated successfully, but these errors were encountered: