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]]

Solutions on the web23119

  • via GitHub by nlmarco
    , 9 months ago
    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
  • via github.com by Unknown author, 1 year ago
    the target host is accessible, that credentials are correct (location and permissions if using a key), that the SFTP subsystem is available on the remote side, and that there is sufficient random noise in /dev/random on both ends. To debug less common causes, see the original error in the trace or log, and/or enable 'net.schmizz' (sshj) logging.
  • via symmetricds.org by Unknown author, 11 months ago
    There are no keys defined for Reporting-DB.dbo.booking_offers. Cannot build an update statement. The only keys defined are binary and they have been removed.
  • Stack trace

    • 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]] at org.subshare.core.user.UserImpl$PreventUserRepoKeyRingAndPublicKeysCollisionListener.modificationOccurring(UserImpl.java:88)[org.subshare.core-0.9.8-SNAPSHOT.jar:na] at org.subshare.core.observable.standard.StandardModificationHandler.firePreEvent(StandardModificationHandler.java:436)[org.subshare.core-0.9.8-SNAPSHOT.jar:na] at org.subshare.core.observable.standard.StandardModificationHandler.preEvent(StandardModificationHandler.java:406)[org.subshare.core-0.9.8-SNAPSHOT.jar:na] at org.subshare.core.observable.ModificationHandler.preAdd(ModificationHandler.java:292)[org.subshare.core-0.9.8-SNAPSHOT.jar:na] at org.subshare.core.observable.ObservableCollection.add(ObservableCollection.java:214)[org.subshare.core-0.9.8-SNAPSHOT.jar:na] at org.subshare.local.UserRepoKeyPublicKeyHelper.updateUserRepoKeyRingFromUserIdentities(UserRepoKeyPublicKeyHelper.java:422)[org.subshare.local-0.9.8-SNAPSHOT.jar:na] at org.subshare.local.CryptreeImpl.putCryptoChangeSetDto(CryptreeImpl.java:536)[org.subshare.local-0.9.8-SNAPSHOT.jar:na] at org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.syncCryptoKeysFromRemoteRepo(CryptreeRestRepoTransportImpl.java:209)[org.subshare.rest.client-0.9.8-SNAPSHOT.jar:na] at org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.getChangeSetDto(CryptreeRestRepoTransportImpl.java:160)[org.subshare.rest.client-0.9.8-SNAPSHOT.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:217)[co.codewizards.cloudstore.core-0.9.11.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.syncDown(RepoToRepoSync.java:168)[co.codewizards.cloudstore.core-0.9.11.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:131)[co.codewizards.cloudstore.core-0.9.11.jar:na] at org.subshare.core.repo.sync.SsRepoToRepoSync.sync(SsRepoToRepoSync.java:65)[org.subshare.core-0.9.8-SNAPSHOT.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoSyncRunner.run(RepoSyncRunner.java:51)[co.codewizards.cloudstore.core-0.9.11.jar:na] at co.codewizards.cloudstore.core.repo.sync.RepoSyncDaemonImpl$WrapperRunnable.run(RepoSyncDaemonImpl.java:123)[co.codewizards.cloudstore.core-0.9.11.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.