翻译项目创建失败,原因是“无法创建项目java.lang.NullPointerException: null”

如果翻译项目创建失败并出现错误 — Unable to create project java.lang.NullPointerException: null — 请检查您是否属于​ projects-administrators ​组。

描述 description

环境

Adobe Experience Manager

问题/症状

创建翻译项目(包括所有类型的翻译创建)失败,出现以下栈栈跟踪:

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

环境中缺少OOB组: projects-users ​和​ projects-administrators

根据文档1和2,如果您创建项目,则需要成为​ projects-administrators ​组的成员。

​ ​ ​{0​} 1] 使用“引用”面板创建翻译项目[

[ 2] 项目控制台

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