Classic - System error when going to portlet definition for some custom portlets.
search cancel

Classic - System error when going to portlet definition for some custom portlets.

book

Article ID: 398250

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

We are facing an error while navigating to Portlet Definition. Error is specific to certain custom portlets. Some portlet links open fine, but others error out.

Steps to reproduce:

1. Go to Classic.

2. Go to Administration -> Studio -> Portlets.

3. Search for a portlet in Portlet Name.

4. Click on Portlet Name, get an error below.

Environment

Clarity 16.3.1

Cause

ERROR 2025-05-15 13:53:38,626 [http-nio-8080-exec-649] niku.xql2 (clarity:some_user.com:session_id:npt.gridPropertiesEntry) Internal Processing exception
com.niku.odf.griphendor.GriphendorException: Unable to find grid metadata with view code/portlet id = xxxxxxx
    at com.niku.odf.griphendor.grid.GridAdminHandler.postProcess(GridAdminHandler.java:288)
    at com.niku.xql2.XQLVisitor.postProcess(XQLVisitor.java:1440)

Resolution

By referencing the query in this KB you can identify the NSQL query used for a given portlet and then ensure it is valid and does not produce any errors.