Javers IlegalArguementException -


javers team, thomas , using javers 2.0.3 , getting below error

java.lang.illegalargumentexception: argument should not null @ org.javers.common.validation.validate.argumentsarenotnull(validate.java:33) @ org.javers.core.javerscore.compare(javerscore.java:119) 

looks not able handle nulls. using javers compare 2 entity of same type diff = javers.compare(oldentity,newentity); has many entities defined inside having 1 one, 1 many relationships.

i read in stackflow post, issue resolved 1.2.1.

javers breaking above respective error

it's not error, illegalargumentexception means have put illegal data compare() function. both arguments have non-null.

inside domain objects can have many null need, javadoc compare() method says:

 * calculate diff, provide 2 versions of  * same domain object (entity or valueobject)  * or handles 2 versions of same object graph. 

Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -