in Axon 4.0.3, the exception message has become slightly more descriptive, which makes it easier to debug.
However, looking at “Command 'com.giftcard.query.listener.GiftCardPaymentConfirmedEvent”, I suspect the problem is caused by a NoHandlerForCommandException, as your “Command” has the suffix “Event”. Are you sending an event on the command bus?
In your first message you’re pointing out you’re testing this GiftCardPaymentSaga.
Are you actually using SagaTestFixtures for this or are you testing by starting up the application?
If you would be testing the Saga instance through the SagaTestFixtures, I would assume the ‘NoHandlerForCommandException’ would never be thrown at all.
Hence, I am assuming you’re ‘testing’ in a live system.
In that case, the changes are high that the application which should handle the ‘GiftCardPaymentConfirmedEvent’ (which should be a command message if you publish it on the gateway by the way) either does not correctly declare a Command Handling method for that command or the application isn’t correctly connected to Axon Server.
You can start up Axon Server with debug logging if you’d want, by setting logging.level.root=DEBUG for example.
Let’s try to resolve your issue Gustavo, hope this helps a little already.