Skip to content

Specify "argument should not be null" exception #996

Description

@Kira-Cesonia

Frontend has handed me the following error stemming from our new Javers implementation:

Exception in thread "Thread-143" java.lang.IllegalArgumentException: argument should not be null
	at org.javers.common.validation.Validate.argumentsAreNotNull(Validate.java:33)
	at org.javers.core.JaversCore.commit(JaversCore.java:80)
	at org.javers.core.JaversCore.commit(JaversCore.java:69)

The problem is that this error does not happen in the backend tests that I have, and just from the error message, I can't say which of the possible arguments is null.

It would be great if the error message could specify which of the arguments was null.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions