java.lang.IllegalArgumentException: Duplicated record: id=fcbf7d03-929d-4d57-b012-138483684b63, name=test

Sonatype JIRA | Kelly Robinson | 2 years ago
  1. 0

    If a duplicate LDAP name is selected this fact is not highlighted until saving, at which point the message is less than helpful for problem resolution(see screenshot). In addition, because the interaction is spread across multiple panels, the only way to resolve the problem is to navigate back to the first panel - which loses all of the "User and group" configuration. This isn't so bad in the case where our available templates are used, but could prove very frustrating for someone applying custom config. If possible we should allow navigating between the panels without information loss to facilitate fine-tuning the config for situations like this. In any case we should be able to validate name uniqueness earlier than at the point of saving the DB record, either by validating against the Store names in the UI or at the server bean validation layer(or both), and improve the error message. {code} 2015-06-05 11:02:30,188-0700 ERROR [qtp175455137-415] admin org.sonatype.nexus.extdirect.internal.ExtDirectServlet - Failed to invoke action method: ldap_LdapServer.create, java-method: org.sonatype.nexus.ldap.internal.ui.LdapServerComponent.create java.lang.IllegalArgumentException: Duplicated record: id=fcbf7d03-929d-4d57-b012-138483684b63, name=test at org.sonatype.nexus.ldap.internal.persist.orient.OrientDBLdapConfigurationSource.create(OrientDBLdapConfigurationSource.java:110) [na:na] at org.sonatype.nexus.ldap.internal.persist.DefaultLdapConfigurationManager.addLdapServerConfiguration(DefaultLdapConfigurationManager.java:133) [na:na] at org.sonatype.nexus.ldap.internal.persist.LdapConfigurationManager$addLdapServerConfiguration$0.call(Unknown Source) [na:na] at org.sonatype.nexus.ldap.internal.ui.LdapServerComponent.create(LdapServerComponent.groovy:121) [na:na] at org.sonatype.nexus.validation.internal.ValidationInterceptor.invoke(ValidationInterceptor.java:53) [na:na] {code}

    Sonatype JIRA | 2 years ago | Kelly Robinson
    java.lang.IllegalArgumentException: Duplicated record: id=fcbf7d03-929d-4d57-b012-138483684b63, name=test
  2. 0

    Creating multiple https requests fail because of race condition

    GitHub | 8 months ago | markvandertol
    akka.actor.ActorInitializationException: akka://my-system/user/StreamSupervisor-1/flow-1-2-SlotProcessorInternalConnectionFlow: exception during creation
  3. 0

    Java.lang.IllegalArgumentException: accounts Record ID -9223372036854775808 does not exist in the db

    GitHub | 10 months ago | raoulbhatia
    java.lang.IllegalArgumentException: accounts Record ID -9223372036854775808 does not exist in the db
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 688#191954415

    GitHub | 9 months ago | kjjaeger
    java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute with name test
  6. 0

    IllegalArgumentException when deleting a scheduled export

    GitHub | 1 year ago | rivaldi8
    java.lang.IllegalArgumentException: Record with ID 1 does not exist in the db

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Duplicated record: id=fcbf7d03-929d-4d57-b012-138483684b63, name=test

      at org.sonatype.nexus.ldap.internal.persist.orient.OrientDBLdapConfigurationSource.create()
    2. org.sonatype.nexus
      ValidationInterceptor.invoke
      1. org.sonatype.nexus.ldap.internal.persist.orient.OrientDBLdapConfigurationSource.create(OrientDBLdapConfigurationSource.java:110)[na:na]
      2. org.sonatype.nexus.ldap.internal.persist.DefaultLdapConfigurationManager.addLdapServerConfiguration(DefaultLdapConfigurationManager.java:133)[na:na]
      3. org.sonatype.nexus.ldap.internal.persist.LdapConfigurationManager$addLdapServerConfiguration$0.call(Unknown Source)[na:na]
      4. org.sonatype.nexus.ldap.internal.ui.LdapServerComponent.create(LdapServerComponent.groovy:121)[na:na]
      5. org.sonatype.nexus.validation.internal.ValidationInterceptor.invoke(ValidationInterceptor.java:53)[na:na]
      5 frames