When Project Tile or Project Workspace 'Create From Template' Fails
search cancel

When Project Tile or Project Workspace 'Create From Template' Fails

book

Article ID: 271302

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

When creating from templete and filling out the fields, the error is displayed:
API-1019: Could not process the request due to internal error.

The APP log shows:

ERROR 2023-08-07 07:09:45,373 [http-nio-8080-exec-1982] ppm.rest (user:session:PPM_REST_API) Exception processing request for resource [investmentTemplateCopier], query string [/private/investmentTemplateCopier]
java.lang.NullPointerException
 at com.ca.platform.osf.object.rest.rule.ApiRuleHelper.processPreRules(ApiRuleHelper.java:313)
 at com.ca.platform.osf.object.rest.rule.ApiRuleHelper.executePreProcessRules(ApiRuleHelper.java:121)
 at com.ca.clarity.projmgr.template.AbstractInvestmentTemplateCopier.validateRuleBasedRequiredAttributes(AbstractInvestmentTemplateCopier.java:187)
 at com.ca.clarity.projmgr.template.AbstractInvestmentTemplateCopier.validate(AbstractInvestmentTemplateCopier.java:152)
 at com.ca.clarity.projmgr.template.AbstractInvestmentTemplateCopier.create(AbstractInvestmentTemplateCopier.java:128)
 at com.ca.clarity.projmgr.rest.function.InvestmentTemplateCopierResource.create(InvestmentTemplateCopierResource.java:73)
 at com.ca.ppm.rest.provider.FunctionResourceProvider.createResource(FunctionResourceProvider.java:168)
 at com.ca.ppm.rest.provider.FunctionResourceProvider.createEntity(FunctionResourceProvider.java:140)
 at com.ca.ppm.rest.resource.BaseResourceHandler.createResource(BaseResourceHandler.java:455)
 at com.ca.ppm.rest.resource.BaseResourceHandler.createResource(BaseResourceHandler.java:289)
 at com.ca.ppm.rest.resource.ResourceHandler.postResource(ResourceHandler.java:255)
 at jdk.internal.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)

Environment

Release : 16.1.2

Resolution

Check the associated blueprint set on the project template.

Go to the blueprint Rules page and check for any incomplete rule.
Either finish or delete the rule.
Publish the blueprint.