I am writing an application using the axon framework. Everything is working fine, exept the tests.
When I run the tests (using either ‘mvn test’ or running from the IDE) I get the following error:
IncompatibleAggregateException: Aggregate identifier must be non-null after applying an event. Make sure the aggregate identifier is initialized at the latest when handling the creation event.
After searching the web I couldn’t find a solution to this problem.
I created a quickstart project here that shows the error.
Am I missing something or is this a bug?