java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)
java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210) at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.add(ImmutableCollection.java:339) at com.google.common.collect.ImmutableList$Builder.add(ImmutableList.java:652) at com.google.common.collect.ImmutableList$Builder.add(ImmutableList.java:630) at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:282) at com.google.common.collect.ImmutableCollection$ArrayBasedBuilder.addAll(ImmutableCollection.java:360) at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:665) at com.atlassian.confluence.api.model.pagination.PageResponseImpl$Builder.addAll(PageResponseImpl.java:164) at com.atlassian.confluence.api.model.pagination.PageResponseImpl.from(PageResponseImpl.java:80) at com.atlassian.confluence.api.impl.pagination.PaginationServiceImpl.executeBatch(PaginationServiceImpl.java:173) at com.atlassian.confluence.api.impl.pagination.PaginationServiceImpl.lambda$doRequestInTransaction$2(PaginationServiceImpl.java:157) at com.atlassian.confluence.api.impl.ReadOnlyAndReadWriteTransactionConversionTemplate.lambda$executeInReadOnly$0(ReadOnlyAndReadWriteTransactionConversionTemplate.java:48) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at com.atlassian.confluence.api.impl.ReadOnlyAndReadWriteTransactionConversionTemplate.executeInReadOnly(ReadOnlyAndReadWriteTransactionConversionTemplate.java:48) at com.atlassian.confluence.api.impl.pagination.PaginationServiceImpl.doRequestInTransaction(PaginationServiceImpl.java:139) at com.atlassian.confluence.api.impl.pagination.PaginationServiceImpl.doPaginationListRequest(PaginationServiceImpl.java:71) at com.atlassian.confluence.internal.user.UserSearchServiceInternalImpl.doUserSearch(UserSearchServiceInternalImpl.java:70) at com.atlassian.confluence.user.actions.AbstractSearchCrowdUsersAction.doUserSearch(AbstractSearchCrowdUsersAction.java:98) at com.atlassian.confluence.user.actions.BrowseUsersAction.execute(BrowseUsersAction.java:9)
Hi, Damir.
According to the error shown, It's most likely due to Confluence can't build pagination View All Users Page. As a troubleshooting step, here's what I'd like you to Rebuild the Content Indexes From Scratch on Confluence Server:
If rebuilding the index doesn't help, please remove the current external user directory and re-create it. See Confluence triggers NPE when a user tries to open View All Users for more information.
Cheers
Hi, thank's, I have to remove an external user directory, and the app shows me now correctly one user (admin) without exception. When I try to add another, on top of the screen, is shown:
Uses allowed by the license: 10
Current active users: 10
which is not correct and I can'tadd another! Any ideas what to do now?
greeting,
Damir Hohnjec
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Damir.
Please follow the below and check for active users counting towards the Confluence license:
* https://confluence.atlassian.com/confkb/how-to-get-a-list-of-active-users-counting-towards-the-confluence-license-298978076.html
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Suren.
Reindexing Content has recovered Users count, but all of my problems were caused because someone has renamed setting from Confluence in Jira SD! After recovering this everything was working fine. Thank you for your time with best wishes,
Damir Hohnjec
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PS.NullPointer exception Bug for "Show users..." still arises when "User Diectory" is pointed to unexisting host/application!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.