You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Javers with MongoDB. I have an object with a field that is a List. If the List contains an entry that is null, then I get the following exception:
java.lang.IllegalArgumentException: argument should not be null
at org.javers.common.validation.Validate.argumentsAreNotNull(Validate.java:33)
at org.javers.core.metamodel.object.GlobalIdFactory.createId(GlobalIdFactory.java:44)
at org.javers.core.graph.LiveCdoFactory.create(LiveCdoFactory.java:29)
at org.javers.core.graph.LiveCdoFactory.create(LiveCdoFactory.java:15)
at org.javers.core.graph.EdgeBuilder$MultiEdgeContainerBuilderFunction.apply(EdgeBuilder.java:72)
at org.javers.core.metamodel.type.ListType.map(ListType.java:33)
...
Activity
bartoszwalacik commentedon May 10, 2018
hi, could you reproduce it in a failing test case?
shollander commentedon May 10, 2018
If I have a domain object like this:
Then this test will fail with an exception:
https://github.com/javers/javers/issues/676
https://github.com/javers/javers/issues/676
bartoszwalacik commentedon May 11, 2018
fixed in 3.9.6