java.lang.IllegalArgumentException: There is no UserRepoKeyPublicKey with this userRepoKeyId: BVuMC5pXzv-RqhNZNyH3sg

GitHub | nlmarco | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IllegalArgumentException: ... no UserRepoKeyPublicKey ... when opening "Security" tab

    GitHub | 8 months ago | nlmarco
    java.lang.IllegalArgumentException: There is no UserRepoKeyPublicKey with this userRepoKeyId: BVuMC5pXzv-RqhNZNyH3sg

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      There is no UserRepoKeyPublicKey with this userRepoKeyId: BVuMC5pXzv-RqhNZNyH3sg

      at org.subshare.local.persistence.UserRepoKeyPublicKeyDao.getUserRepoKeyPublicKeyOrFail()
    2. org.subshare.local
      SsLocalRepoMetaDataImpl.getEffectivePermissionTypes
      1. org.subshare.local.persistence.UserRepoKeyPublicKeyDao.getUserRepoKeyPublicKeyOrFail(UserRepoKeyPublicKeyDao.java:24)[org.subshare.local-0.9.0.jar:na]
      2. org.subshare.local.CryptreeNode.assertHasPermission(CryptreeNode.java:1442)[org.subshare.local-0.9.0.jar:na]
      3. org.subshare.local.CryptreeImpl.assertHasPermission(CryptreeImpl.java:2024)[org.subshare.local-0.9.0.jar:na]
      4. org.subshare.local.SsLocalRepoMetaDataImpl.getEffectivePermissionTypes(SsLocalRepoMetaDataImpl.java:185)[org.subshare.local-0.9.0.jar:na]
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor8815.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
      3. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
      3 frames
    4. co.codewizards.cloudstore
      InvokeMethodExecutor$InvocationRunnable.run
      1. co.codewizards.cloudstore.core.util.ReflectionUtil.invoke(ReflectionUtil.java:153)[co.codewizards.cloudstore.core-0.9.7.jar:na]
      2. co.codewizards.cloudstore.core.util.ReflectionUtil.invoke(ReflectionUtil.java:131)[co.codewizards.cloudstore.core-0.9.7.jar:na]
      3. co.codewizards.cloudstore.ls.core.invoke.InvokeMethodExecutor$InvocationRunnable.run(InvokeMethodExecutor.java:201)[co.codewizards.cloudstore.ls.core-0.9.7.jar:na]
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      3 frames