Issue with test in Axon 1.4 (haven't tried in 2)

I have an annotated commandhandler in an aggregate that applies an event and then throws an exception.

My test looks like this:

public void test() {

Instead of the expected exception i get an InvocationTargetException and I get no event.

Hi Jeroen,

it’s a known issue in 1.4. There is a commit for a fix, but it hasn’t been released yet. I am not sure I’ll get to releasing Axon 1.4.1. It currently doesn’t have top priority.
It has been addressed in the Axon 2 release, though.



Ok, good to know. Thanks (again).