Guava com.google.common.base.Preconditions getting java.lang.IllegalArgumentException: null

I am getting the following error
java.lang.IllegalArgumentException: null
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:129) ~[janusgraph-driver-1.1.0-shaded.jar:?]


Note: here i have shaded the guava in janusgraph due to dependency conflict


this happens in my code where i am preparing a transaction using
for ...
g.mergeV(...).option(Merge.onCreate,...).option(Merge.onMerge,...).next() // this is where the error happens

g.tx().commit()

i have checked that i have no null values in the query
Was this page helpful?