Error converting some ideas to a project if using XOG or Process: Internal Process Engine Error

book

Article ID: 130518

calendar_today

Updated On:

Products

CLARITY PPM FOR ITG CLARITY PPM FEDERAL Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Some ideas are unable to be converted to projects if the idea has a cost plan.

If using a process see error:

BPM-0522: Internal Process Engine Error. Contact your site administrator (Error executing action).

  • It fails on system action: "Convert Idea to Project".
  • The convert process is done via a script using an admin user with correct access

If idea was created using XOG, error seen is:  

Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator.

  • Excerpt of Error seen in logs for this issue:

ERROR 2020-01-09 06:25:00,036 [http-nio-14001-exec-42] service.ODFService (clarity:admin:zzz-zzzzzzz-zzz- zzz - zzzzzzzz:projmgr.projectNewPost) processRequest Exception

Caused by: com.niku.union.service.ServiceException: Service Exception

Cause

  • This is working as designed. When converting an Idea with a Cost Plan to a Project, a Start Date is required on the Idea.
  • Error referencing date being issue for cost plan:

Caused by: java.lang.NullPointerException

at com.ca.clarity.financial.planning.copy.TemplatePlanCopyHelper.calculateDateShift(TemplatePlanCopyHelper.java:229)

at com.ca.clarity.financial.planning.copy.IdeaPlanProcessingService.copyPlans(IdeaPlanProcessingService.java:268)

at com.ca.clarity.financial.planning.copy.IdeaPlanProcessingService.copy(IdeaPlanProcessingService.java:131) 

OR

Caused by: com.niku.union.service.ServiceException: Service Exception

  at com.ca.clarity.financial.planning.copy.IdeaPlanProcessingService.copy(IdeaPlanProcessingService.java:151)

  at com.ca.clarity.financial.planning.copy.CopyIdeaPlansHandler.postProcess(CopyIdeaPlansHandler.java:78)

Environment

Release: All Supported Releases
Component: PPMBPM

Resolution

  1. Add a Start Date on the Idea before converting ideas that have cost plans
  2. If using XOG to create the idea, add a line to the XOG similar to the below to the properties on the <Idea> tag:

start="2020-01-08T00:00:00"

 

Additional Information

See KB 141061 - How to search for known Clarity PPM Issues using Self Service