New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering more than one custom comparator throws exception #172

tomazic89 opened this Issue Jun 10, 2015 · 1 comment


None yet
2 participants

tomazic89 commented Jun 10, 2015

If you try to register more than one custom comparator the following exception is thrown:

Caused by: org.picocontainer.PicoCompositionException: Duplicate Keys not allowed. Duplicate for 'class org.javers.core.diff.custom.CustomToNativeAppenderAdapter'
at org.picocontainer.DefaultPicoContainer.addAdapterInternal(
at org.picocontainer.DefaultPicoContainer.addAdapter(
at org.picocontainer.DefaultPicoContainer.addComponent(
at org.picocontainer.DefaultPicoContainer.addComponent(
at org.picocontainer.DefaultPicoContainer.addComponent(
at org.javers.core.AbstractJaversBuilder.addComponent(
at org.javers.core.JaversBuilder.registerCustomComparator(
at com.bee7.core.entityaudit.DatastoreEntityAuditerTest.(
... 25 more

Version used: 1.2.9

@bartoszwalacik bartoszwalacik added the bug label Jun 10, 2015

@bartoszwalacik bartoszwalacik self-assigned this Jun 11, 2015

bartoszwalacik added a commit that referenced this issue Jun 11, 2015


This comment has been minimized.


bartoszwalacik commented Jun 12, 2015

fixed in 1.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment