Skip to main content

Validation Overview

RISKSHEET’s configuration parser (PolarionAppConfigManager.java) enforces 278 validation rules across three categories:
Rule TypeCountDescription
Required fields184Properties that must be present and non-null
Enum constraints31Properties restricted to specific allowed values
Range checks3Numeric properties with minimum/maximum bounds
diagram

Required Field Rules

These properties must be present and non-null. Missing any of these will cause RISKSHEET to fail loading or behave unexpectedly.

Data Types

PropertyValidated InWhat Happens If Missing
dataTypesPolarionAppConfigManagerConfiguration fails to load
dataTypes.taskPolarionAppConfigManagerNo downstream items displayed
dataTypes.task.typeRisksheetViewServlet, ResultFilterTask rows not loaded
dataTypes.task.roleRisksheetViewServlet, DefaultTraceProviderLink traversal fails
dataTypes.task.nameGetSetUtilDisplay label missing in UI
dataTypes.riskRisksheetPolarionServiceImplRisk items not loaded

Columns

PropertyValidated InWhat Happens If Missing
columns[].bindingsPolarionAppConfigManagerColumn cannot map to work item field
columns[].readOnlyPolarionAppConfigManagerDefaults applied; edit state unpredictable
columns[].levelPolarionAppConfigManagerColumn assigned to default level
columns[].formatPolarionAppConfigManagerType inference from Polarion field type
columns[].typePropertiesRisksheetPolarionServiceImplLink columns fail to resolve
columns[].typeProperties.linkRoleWorkItemBasedReviewReview column linking fails

PDF Export

PropertyValidated InWhat Happens If Missing
pdfExport.pages[].dataGrids[].columnsDocumentTableRendererExport renders empty grid
pdfExport.pages[].dataGrids[].columns[].widthDocumentTableRendererColumn width defaults to 0
pdfExport.pages[].dataGrids[].columns[].headerPolarionAppConfigManagerHeader shows as blank
pdfExport.pages[].ratingGrids[].titleAbstractReviewRating grid title missing
pdfExport.cover.propertiesRisksheetProjectPropertiesCover page properties empty
The most frequent configuration error is a missing or misspelled dataTypes.task.role. If your downstream tasks don’t appear, verify that:
  1. The role value matches an existing Polarion link role exactly (case-sensitive)
  2. The link role is defined in your Polarion project configuration
  3. Work items of the specified type actually have links using that role

Enum Constraint Rules

These properties only accept specific values. Using an unsupported value causes a validation error.
PropertyValid ValuesSource
dataTypes.task.typeAny valid Polarion work item type IDEditorServlet
columns[].typeenum, rating, date, taskLink, itemLink, multiItemLink, workflow, text, richText, boolean, float, integer, currencyPolarionAppConfigManager
If you omit columns[].type, RISKSHEET infers it from the Polarion field definition. Explicit types are only needed when you want to override the default rendering (e.g., using rating:severityScale instead of the default enum for an enum field).

Range Validation Rules

PropertyConstraintEffect
pdfExport.pages[].dataGrids[].controlColumnLength must be > 0Empty control column causes export to skip the grid
HTTP response codesStatus code < 400Server errors trigger rollback

Troubleshooting Validation Errors

”Error while reading configuration”

This error from PolarionAppConfigManager indicates malformed JSON:
  1. Open the configuration editor (Menu > Configure)
  2. Check for JSON syntax errors (missing commas, unmatched brackets)
  3. Validate your JSON using an external validator
  4. If the error persists, compare against a working configuration template

”Cannot parse config”

The JSON is valid but contains unrecognizable structures:
  1. Check for misspelled property names
  2. Verify array properties use [] syntax, not objects
  3. Ensure columns is an array, not an object

”Cannot get type from binding”

A column’s bindings value doesn’t match any Polarion field:
  1. Verify the field ID exists in your Polarion work item type
  2. Check for typos in the binding name
  3. For custom fields, use the internal field ID (not the display name)
See Risksheet.json Format for the complete configuration schema and Configuration Properties Index for all available properties.