Recently we have migrated from JDO to Objectify for accessing datastore as a part of App Engine Gen 2 Migration. When app trying to fetch the entity by key which was created by using JDO, occasionally we are getting error.
"java.lang.NullPointerException: Cannot invoke "com.googlecode.objectify.Result.now()" because "this.this$0.translated" is null
at com.googlecode.objectify.impl.Round$1.nowUncached(Round.java:71)
at com.googlecode.objectify.util.ResultCache.now(ResultCache.java:30)
at com.googlecode.objectify.LoadResult.now(LoadResult.java:25)
The method we are using to fetch is ofy.load().key(Key.create(ClassName.class,id)).now()
The objectify dependency version we are using is 5.0.5
Kindly support