Clarity: Project > Hierarchy: Parent - Error 500 - Internal Server Error when trying to add parent investments to an investment

Document ID : KB000050363
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

An error message is generated when the end-user is attempting to select an investment as a Parent in the Investment Hierarchy page.

Steps to Reproduce:

  1. Login to Clarity as any end-user with Project Hierarchy access rights

  2. Main Application > Projects > click the name of an existing Project > Hierarchy Tab: Parents page

  3. Click 'Add' button

Expected Result: The Select Investments List View should appear without error
Actual Result: The Select Investments List View appears with a red error message:

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

APP-NIKU.LOG FILE ERROR MESSAGE:

ERROR 2011-06-15 08:44:19,796 [http-80-Processor22] investment.InvestmentListService (admin:150778096__2ec01d:pma.selectParentChildInvestmentsList) Exception occurred in com.niku.pma.investment.InvestmentListService. Unable to load investment list
ERROR 2011-06-15 08:44:19,796 [http-80-Processor22] web.WebActionController (admin:150778096__2ec01d:pma.selectParentChildInvestmentsList)
com.niku.union.web.WebException: Service call failed for portlet: pma.selectParentChildInvestmentsList
Caused by: java.lang.NullPointerException
at com.niku.pma.investment.InvestmentListService.doProcess(InvestmentListService.java:55)
WARN 2011-06-15 19:17:44,025 [http-80-Processor42] lookup.LookupControllerImpl (admin:150804478__2ec01d:service.allocationsList) NULL passed as lookup type at
com.niku.odf.lookup.LookupControllerImpl.getLookupType(LookupControllerImpl.java:671)

Solution:

Workaround:
The root cause was determined that the 'Investment Type' lookup was missing or had missing values. The application is looking for specific values in this lookup.

To workaround this issue, remove the 'Type' attribute from the 'Select Investments Filter Section' on the Investments Object.

  1. Login to Clarity as an Administrator User

  2. Admin Tool > Studio: Objects > select 'Investment' Object > Views

  3. Select Investments Filter [Layout]

    Figure 1

  4. Highlight 'Type' from the 'Selected' box and move it to the 'Available' box

    Figure 2

  5. Click 'Submit' button

  6. Click 'Publish' button

  7. Main Application > Projects > click the name of an existing Project > Hierarchy Tab: Parents page

  8. Click 'Add' button

Status/Resolution:
Resolved in Clarity 12.1.1

Keywords: CLARITYKB, CLRT-56954, clarity12resolved, clarity1211resolved.