Idea project conversion: API-1019
search cancel

Idea project conversion: API-1019

book

Article ID: 278214

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

On a multi-currency enabled system, when the idea financial currency and billing currency differ, the Convert Idea to Project fails if this has got a Benefit Plan.

STEPS TO REPRODUCE:

  1. Set a multi-currency enabled system
  2. Entity home currency is set A (let say USD currency)
  3. Activate a different currency (let say EUR currency)
  4. Create an idea and financially enable it. Home currency here is USD
  5. Set its billing currency to EUR
  6. Create a Benefit Plan and populate it with some benefit figures
  7. Convert the Idea to a Project

Expected Results: Idea is successfully converted to a project
Actual results: You get an error: API-1019 : Could not process the request due to internal error

app-ca.log file contains following entries:

ERROR 2024-01-16 02:11:29,087 [http-nio-8080-exec-72] ppm.rest (clarity:myuser:25448553__395D9CED-2F09-4D67-91AA-76B6859DBCFE:PPM_REST_API) (28fc1058-5b54-4cd5-a846-a54255273934) Exception processing request for resource [convertIdea], query string [/private/convertIdea]
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "internalId" is null

Caused by: java.lang.NullPointerException: Cannot invoke "com.niku.union.odf.object.Attribute.getInternalName()" because the return value of "com.niku.union.odf.exception.ODFValidationException.getAttribute()" is null

 

Environment

Clarity 16.2.0

Resolution

This is fixed in 16.2.1