Translations project creation fails with “Unable to create project java.lang.NullPointerException: null”

If your translation project creation fails with the error – Unable to create project java.lang.NullPointerException: null – check if you are part of the projects-administrators group.

Description description

Environment

Adobe Experience Manager

Issue/Symptoms

Creation of a Translation Project, including all types of Translation Creation fails with the below stacktrace:

com.adobe.cq.projects.impl.servlet.ProjectServlet Unable to create project
java.lang.NullPointerException: null

    at com.adobe.cq.projects.impl.team.TeamManagerImpl.createProjectGroups(TeamManagerImpl.java:346) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]
    at com.adobe.cq.projects.impl.ProjectStorageProvider.setupProjectTeam(ProjectStorageProvider.java:691) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]
    at com.adobe.cq.projects.impl.ProjectStorageProvider.createProject(ProjectStorageProvider.java:636) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]
    at com.adobe.cq.projects.impl.ProjectStorageProvider.createProjectFromMasterProject(ProjectStorageProvider.java:514) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]
    at com.adobe.cq.projects.impl.ProjectManagerImpl.createProjectFromMasterProject(ProjectManagerImpl.java:92) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]
    at com.adobe.cq.projects.impl.servlet.ProjectServlet.createProject(ProjectServlet.java:297) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]
    at com.adobe.cq.projects.impl.servlet.ProjectServlet.doPost(ProjectServlet.java:196) [ com.adobe.cq.com.adobe.cq.projects.core:0.5.28]

Resolution resolution

The OOB groups were missing from the environment: projects-users and projects-administrators.

As per documentation 1 and 2, if you are creating the project, you need to be part of the projects-administrators group.

​​​​[ 1] Creating Translation Projects Using the References Panel

[ 2] Projects Console

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f