Skip to end of metadata
Go to start of metadata

Problem

When accessing user profiles in any way, e.g.

  • in any Linchpin User Profiles macro
  • in the People Directory
  • when hovering usernames

then, depending on your Confluence and Linchpin version, either an info panel with the following message is displayed:

  • The content of this macro can only be viewed by users who have logged in. Please log in to view this content.

or one of the rendering exceptions listed below occurs:

  • Error formatting macro: profile: java.lang.NullPointerException
  • Exception executing macro: 'profile'

Diagnosis

Environment

  • Linchpin Intranet Suite, Linchpin Essentials or Linchpin User Profiles are installed and active

Diagnostic Steps

  • Navigate to the Confluence administration section Administration > System Information (URL fragment: /admin/systeminfo.action)
  • Check the list of CATALINA_OPTS to see if one or more of the following properties is set to true:
    • -Dconfluence.disable.peopledirectory.anonymous
    • -Dconfluence.disable.peopledirectory.all

Cause

Your Confluence is most likely configured to prevent users from accessing the People Directory through the UI.

Background information on why this might be the case can be found in Atlassian's Knowledge Base article about Hiding the People Directory.

Resolution

Depending on the desired system configuration, ...

  • if you would like users to be able to access profile information of other users, including the people directory:
    → unset the system properties and restart your Confluence service
  • if you would like to continue blocking (certain or all) users from accessing the people directory:
    → in this case, our app Space Privacy might be worth looking into! It allows collaborating with external users without exposing all your Confluence user details to them.
  • if you're not sure why the system properties are set:
    → try asking the people in charge of managing your intranet whether this setting is/was intentional


  • No labels

This content was last updated on 05/19/2021.

This content hasn't been updated in a while. That doesn't have to be a problem. Some of our pages live for years without becoming obsolete. Please click this link if you want us to update this page. Old content can be incorrect, misleading or outdated. Please get in contact with us via a form on this page, our live chat or via email with content@seibert-media.net if you are in doubt, have a question, suggestion, or want changes from us.