Bug Fixes

Any patch release made for an Axon project is tailored towards resolving bugs. This page aims to provide a dedicated overview of patch releases per project.

Axon Framework

Release 4.2

  • An Aggregate's Snapshotter was not auto configured when Spring Boot is being used, as was filed under #932.

  • The CommandResultMessage was returned as null when using the DisruptorCommandBus.

    This was solved in pull request #1169.

  • The ScopeDescriptor used by the DeadlineManager had serialization issue when a user would migrate from an Axon 3.x application to Axon 4.x.

    The axon-legacy package has been expanded to contain legacy ScopeDescriptors to resolve this problem.

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.1.2

  • A dependency on XStream was enforced undesirably through the Builder pattern introduced in 4.0.

    This has been resolved by using a Supplier of a Serializer in the Builders instead, as described under this issue.

  • Due to a hierarchy issue in the Spring Boot auto configuration, the JdbcTokenStore was not always used as expected.

    The ordering has been fixed under issue #1077.

  • The ordering of message handling functions was incorrect according to the documentation.

    Classes take precedence over interface, and the depth of interface hierarchy is calculated based on the inheritance level (as described here).

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.1.1

  • Query Dispatch Interceptors were no called correctly when a subscription query was performed when Axon Server was used as the QueryBus.

    This issue was marked here and resolved in pull request #1042.

  • When Axon Server was (auto) configured without being able to connect to an actual instance, processing instructions were incorrectly dispatched regardless.

    Pull request #1040 resolves this by making sure an active connection is present.

  • The Spring Boot auto configuration did not allow the exclusion of the axon-server-connector dependency due to a direct dependency on classes.

    This has been resolved by expecting fully qualified class names as Strings instead (resolved under this pull request).

  • The JpaEventStorageEngine was not wrapping the appendEvents operation in a transaction.

    Problem has been resolved under issue #1035.

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.1

  • Command an Query message priority was not set correctly for the Axon Server Connector.

    This issue has been addressed under bug #1004.

  • The CapacityMonitor was not registered correctly for Event Processor, which user "Sabartius" resolved under issue #961.

  • Some exception were not reported correctly and/or clearly when utilizing the Axon Server Connector (issue marked under number #945).

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.0.4

  • Deserialization failures were accidentally swallowed by the command and query gateway (marked under #967).

  • Resolved an issue where custom exception in a Command Handling constructor caused NullPointerExceptions.

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.0.3

  • The SimpleQueryBus reported exceptions on the initial result incorrectly upon performing a subscription query.

    Issue has been described and resolved under #913.

  • Resolved issue where the the "download Axon Server" message was shown upon a reconnect of an application to a Axon Server node.

  • Large global index gaps between events caused issues when querying the event stream (described here).

  • Fixed inconsistency in the GlobalSequenceTrackingToken#covers(TrackingToken) method.

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.0.2

  • A timeout was thrown instead of a exception by Axon Server when a duplicate aggregate id was created, which is resolved in #903.

  • Command or Query handling exception were no properly serialized through Axon Server (resolved in #904).

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.0.1

  • Resolved QueryUpdateEmitter configuration for the Axon Server connector set up (see issue here).

  • For migration purposes legacy TrackingTokens should have been added, which is resolved here.

  • Event Processing was stopped after a reconnection with Axon Server. Resolve the problem in issue #883.

For a complete list of all resolved bugs we refer to the issue tracker.

Release 4.0

The bugs marked for release 4.0 were issues introduced to new features or enhancements. As such they should not have impacted users in any way. Regardless, the full list can be found here.

Axon Framework Extensions

JGroups 4.2

As marked under this issue, the command callback will not be called if the connection between JGroups peers dies whilst a command is in transit. Credits go to "sgrimm-sg" for filing the issue and solving it.

JGroups 4.1

If cluster connection message came in quickly after starting the connection, a NullPointerException could be thrown. This issue was resolved for release 4.1 here.

Mongo 4.0.1

The Mongo extension incorrectly used the content type instead of the tokens type upon storing a serialized token. The issue was marked and resolved under #1.

Spring Cloud 4.2

When using the Kubernetes implementation of Spring Cloud the SpringCloudCommandRouter would throw NullPointerExceptions. This occurs because Spring Cloud Kubernetes does not support the ServiceInstance's meta data field, which the SpringCloudCommandRouter relies on. This pull request introduced a null check to ensure the null pointer would not be thrown again.

Spring Cloud 4.1

The SpringCloudCommandRouter failed to correctly connect to a Spring Cloud Discovery Service if the node did not contain any Command Handler methods. This undesired behaviour was marked by user "travikk" and made more lenient under this.