Diagnose an HTTP 500 on checklist save
When a user checks or unchecks an item and the change doesn’t stick, the save request may have failed on the server.- Reproduce the action and immediately check the Polarion server log.
- Look for a stack trace originating from the checklist save path, together with a dump of the request parameters (project, and one of document/testrun/plan/workitem, plus the checklist data).
- Confirm which target type was involved — the save request only carries one of
document,testrun,plan, orworkitem. If more than one happens to be present, the system resolves them in that precedence order (document first, then test run, then plan, then work item), so check that the client is sending the parameter you expect. - If the target object (document, test run, plan, or work item) cannot be resolved, or the underlying transaction fails to commit, the server returns a generic HTTP 500 and logs the error with the full parameter dump.
Understand “InvocationTargetException” / “UnresolvableObjectException” in the log
Some deployments see the Polarion log fill up withInvocationTargetException errors wrapping an UnresolvableObjectException or UnknownObjectException for a specific work item, but only when the work item is created, not on later edits.
If you encounter this pattern:
- Confirm the error only appears on work item creation, not on subsequent saves of the same item. That matches the known pattern.
- Confirm the checklist value itself was saved correctly despite the log entry (open the work item and check the checklist content).
- If the checklist data is present and correct, treat the log entry as noise from the save hook’s summary computation rather than a functional failure.
Checklist summary fields not updating
The checklist form extension pairs each checklist custom field with a companion summary field that uses the_summary suffix convention (for example, a checklist field dod pairs with dod_summary). Summary computation is not automatic for every checklist — it must first be enabled via the nextedy.checklist._TYPEID_.checklistsIdsForSummary configuration property, which lists which checklist field IDs get summarized for a given work item type. Once enabled, the summary text is recomputed automatically every time the work item is saved. See Summary Field Reference for the full setup procedure.
- Confirm the checklist field ID is listed in
nextedy.checklist._TYPEID_.checklistsIdsForSummaryfor the work item’s type — a checklist that isn’t listed there never gets a computed summary, regardless of naming. - Verify the summary field’s ID actually follows the
_summarysuffix convention for the checklist field it should reflect. - Save the work item again (any save triggers recomputation) and check whether the summary field updates.
- If summary computation itself throws an error, it’s logged but does not block the save — check the server log around the time of the save for a stack trace tied to summary computation, separate from any save-error investigation above.
Version-related formatting issue on work item type change
Changing a work item’s type can trigger a separate, previously reported Polarion platform issue where multi-line plain text in the checklist field is converted into rich text. To avoid the practical impact of both the reset behavior and the formatting issue when type changes are common in your workflow, see Multiple Templates per Type and Reset on Type Change, which documents thenextedy.checklist.checklistsIdsForTypeChanges configuration property that resets affected checklists cleanly to the correct type’s template.
Verify
You should now see the expected outcome for each scenario:- A checklist save that previously failed either succeeds (HTTP 200) or produces a log entry with a full parameter dump you can act on or escalate.
InvocationTargetException/UnresolvableObjectExceptionentries appearing only at work item creation, with the checklist data itself saved correctly, are recognized as known log noise rather than a functional defect.- Summary fields (
<fieldId>_summary) reflect the current checklist state after every save. - Checklist content survives a work item type change without unexpected reformatting, or you’ve documented it as a known, reported Polarion issue.
See also
- Checklist Is Marked Read-Only
- Duplicate, Type-Change, and Formatting Issues
- Multiple Templates per Type and Reset on Type Change
- Summary Field Reference
- Reference
Sources
Sources
KB Articles
- Checklist is marked as readonly.
- Freeze the checklist on some statuses
- How to reset Checklist to the Template on WI type change
proc-checklist-src/com.nextedy.polarion.checklist/src/com/nextedy/polarion/checklist/ChecklistConf.javaproc-checklist-src/com.nextedy.polarion.checklist/src/com/nextedy/polarion/checklist/internal/hook/SaveHandler.javaproc-checklist-src/com.nextedy.polarion.checklist/src/com/nextedy/polarion/checklist/IChecklistService.javaproc-checklist-src/com.nextedy.polarion.checklist/src/com/nextedy/polarion/checklist/internal/ChecklistService.javaproc-checklist-src/com.nextedy.polarion.checklist/src/com/nextedy/polarion/checklist/wf/ChecklistResetToTemplate.java