java.lang.IllegalStateException: Duplicate userRepoKeyId!!! WTF?! _mceof3wRHdsmXhCNyMZag

GitHub | nlmarco | 3 months ago
  1. 0

    Duplicate userRepoKeyId in UserRegistry

    GitHub | 3 months ago | nlmarco
    java.lang.IllegalStateException: Duplicate userRepoKeyId!!! WTF?! _mceof3wRHdsmXhCNyMZag
  2. 0

    GitHub comment 25#254287723

    GitHub | 2 months ago | nlmarco
    java.lang.IllegalStateException: UserImpl[U3_W4jLY9cK-DsZCZ99mlw, Adam, Smith, [adam@smith.name], [123456a45b7380c2, 6564a5f6df511111]] already has a userRepoKeyRing! Cannot add public keys! Either there is a userRepoKeyRing or there are public keys! There cannot be both! userRepoKeyRing=UserRepoKeyRingImpl[[UserRepoKeyImpl[userRepoKeyId=dh8o_uh-7D-8uN4IsHmguQ, invitation=false]]], userRepoKeyPublicKeys=[], event.changeCollection=[PublicKeyWithSignatureImpl[userRepoKeyId=X8FXjVE-y9cw-bXjhhO6Jg, invitation=false, validTo=null]]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    EAP 7.0.0.DR9 Scenario: failover-ejb-ejbremote-undeploy-dist-async During application deployment (after failover), perf20 logged this error: {code} [JBossINF] [0m[0m15:36:10,604 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 85) WFLYCLINF0002: Started dist cache from ejb container [JBossINF] [0m[0m15:36:10,608 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 86) WFLYCLINF0002: Started clusterbench-ee7.ear.clusterbench-ee7-web-default.war cache from web container [JBossINF] [0m[0m15:36:10,611 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 84) WFLYCLINF0002: Started dist cache from web container [JBossINF] [0m[0m15:36:10,612 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 87) WFLYCLINF0002: Started clusterbench-ee7.ear.clusterbench-ee7-web-passivating.war cache from web container [JBossINF] [0m[31m15:36:10,613 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.ejb.remoting.connector.client-mappings.installer: org.jboss.msc.service.StartException in service jboss.ejb.remoting.connector.client-mappings.installer: Failed to start service [JBossINF] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [JBossINF] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [JBossINF] at java.lang.Thread.run(Thread.java:745) [JBossINF] Caused by: java.lang.IllegalStateException: Duplicate key [org.jboss.as.network.ClientMapping@44b990d8] [JBossINF] at java.util.stream.Collectors.lambda$throwingMerger$152(Collectors.java:133) [JBossINF] at java.util.stream.Collectors$$Lambda$58/796953906.apply(Unknown Source) [JBossINF] at java.util.HashMap.merge(HashMap.java:1245) [JBossINF] at java.util.stream.Collectors.lambda$toMap$210(Collectors.java:1320) [JBossINF] at java.util.stream.Collectors$$Lambda$60/415494469.accept(Unknown Source) [JBossINF] at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) [JBossINF] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [JBossINF] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [JBossINF] at java.util.Iterator.forEachRemaining(Iterator.java:116) [JBossINF] at org.infinispan.stream.impl.spliterators.IteratorAsSpliterator.forEachRemaining(IteratorAsSpliterator.java:150) [JBossINF] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) [JBossINF] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) [JBossINF] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [JBossINF] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [JBossINF] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [JBossINF] at org.infinispan.stream.impl.local.AbstractLocalCacheStream.collect(AbstractLocalCacheStream.java:256) [JBossINF] at org.infinispan.stream.impl.TerminalFunctions$CollectorFunction.apply(TerminalFunctions.java:1035) [JBossINF] at org.infinispan.stream.impl.TerminalFunctions$CollectorFunction.apply(TerminalFunctions.java:1025) [JBossINF] at org.infinispan.stream.impl.termop.SegmentRetryingOperation.innerPerformOperation(SegmentRetryingOperation.java:68) [JBossINF] at org.infinispan.stream.impl.termop.SegmentRetryingOperation.performOperation(SegmentRetryingOperation.java:79) [JBossINF] at org.infinispan.stream.impl.AbstractCacheStream.performOperationRehashAware(AbstractCacheStream.java:306) [JBossINF] at org.infinispan.stream.impl.AbstractCacheStream.performOperation(AbstractCacheStream.java:252) [JBossINF] at org.infinispan.stream.impl.DistributedCacheStream.collect(DistributedCacheStream.java:324) [JBossINF] at org.wildfly.clustering.server.registry.CacheRegistry.getEntries(CacheRegistry.java:110) [JBossINF] at org.jboss.as.ejb3.remote.LocalEjbReceiver.registryAdded(LocalEjbReceiver.java:447) [JBossINF] at org.jboss.as.ejb3.remote.RegistryCollectorService.add(RegistryCollectorService.java:54) [JBossINF] at org.jboss.as.ejb3.remote.RegistryInstallerService.start(RegistryInstallerService.java:60) [JBossINF] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [JBossINF] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [JBossINF] ... 3 more [JBossINF] [JBossINF] [0m[31m15:36:10,625 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "clusterbench-ee7.ear")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => [ [JBossINF] "jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.LocalStatefulSB.START is missing [jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.LocalStatefulSB.cache]", [JBossINF] "jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.RemoteStatefulSBImpl.START is missing [jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.RemoteStatefulSBImpl.cache]" [JBossINF] ]} [JBossINF] [0m[31m15:36:10,627 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "clusterbench-ee7.ear" was rolled back with the following failure message: [JBossINF] {"WFLYCTL0180: Services with missing/unavailable dependencies" => [ [JBossINF] "jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.LocalStatefulSB.START is missing [jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.LocalStatefulSB.cache]", [JBossINF] "jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.RemoteStatefulSBImpl.START is missing [jboss.deployment.subunit.\"clusterbench-ee7.ear\".\"clusterbench-ee7-ejb.jar\".component.RemoteStatefulSBImpl.cache]" [JBossINF] ]} {code} Which ends up with WFLYSRV0021: *Deploy of deployment "clusterbench-ee7.ear" was rolled back*. In this very same testrun, there was another issue with application deployment on perf18, may be related: JBEAP-1041 Server log: http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-failover-ejb-ejbremote-undeploy-dist-async/5/console-perf20/

    JBoss Issue Tracker | 1 year ago | Michal Vinkler
    mappings.installer: org.jboss.msc.service.StartException in service jboss.ejb.remoting.connector.client-mappings.installer: Failed to start service
  5. 0

    OpenJDK Lambda Development - Slightly deceiving error message on Collectors.toMap

    nabble.com | 4 months ago
    java.lang.IllegalStateException: Duplicate key -2147483648

    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.IllegalStateException

      Duplicate userRepoKeyId!!! WTF?! _mceof3wRHdsmXhCNyMZag

      at org.subshare.core.user.UserRegistryImpl.getUserByUserRepoKeyId()
    2. org.subshare.core
      UserRegistryImpl.getUserByUserRepoKeyId
      1. org.subshare.core.user.UserRegistryImpl.getUserByUserRepoKeyId(UserRegistryImpl.java:468)[org.subshare.core-0.9.6.jar:na]
      1 frame
    3. org.subshare.local
      CryptreeImpl.putCryptoChangeSetDto
      1. org.subshare.local.UserRepoKeyPublicKeyHelper.updateUserRepoKeyRingFromUserIdentities(UserRepoKeyPublicKeyHelper.java:375)[org.subshare.local-0.9.6.jar:na]
      2. org.subshare.local.CryptreeImpl.putCryptoChangeSetDto(CryptreeImpl.java:536)[org.subshare.local-0.9.6.jar:na]
      2 frames
    4. org.subshare.rest
      CryptreeRestRepoTransportImpl.getChangeSetDto
      1. org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.syncCryptoKeysFromRemoteRepo(CryptreeRestRepoTransportImpl.java:209)[org.subshare.rest.client-0.9.6.jar:na]
      2. org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.getChangeSetDto(CryptreeRestRepoTransportImpl.java:160)[org.subshare.rest.client-0.9.6.jar:na]
      2 frames
    5. co.codewizards.cloudstore
      RepoToRepoSync.sync
      1. co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:217)[co.codewizards.cloudstore.core-0.9.11.jar:na]
      2. co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.syncDown(RepoToRepoSync.java:168)[co.codewizards.cloudstore.core-0.9.11.jar:na]
      3. co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:131)[co.codewizards.cloudstore.core-0.9.11.jar:na]
      3 frames
    6. org.subshare.core
      MetaOnlyRepoSyncDaemonImpl$2.run
      1. org.subshare.core.repo.sync.SsRepoToRepoSync.sync(SsRepoToRepoSync.java:65)[org.subshare.core-0.9.6.jar:na]
      2. org.subshare.core.repo.metaonly.MetaOnlyRepoManagerImpl.sync(MetaOnlyRepoManagerImpl.java:116)[org.subshare.core-0.9.6.jar:na]
      3. org.subshare.core.repo.metaonly.MetaOnlyRepoManagerImpl.sync(MetaOnlyRepoManagerImpl.java:75)[org.subshare.core-0.9.6.jar:na]
      4. org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl._sync(MetaOnlyRepoSyncDaemonImpl.java:100)[org.subshare.core-0.9.6.jar:na]
      5. org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl.access$100(MetaOnlyRepoSyncDaemonImpl.java:19)[org.subshare.core-0.9.6.jar:na]
      6. org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl$2.run(MetaOnlyRepoSyncDaemonImpl.java:70)[org.subshare.core-0.9.6.jar:na]
      6 frames