Server Error while checking old Deployments information
search cancel

Server Error while checking old Deployments information

book

Article ID: 372404

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

While checking the details of some old Deployments, the following Server Error appears:

Environment

Release Automation 6.8.4 (and older) and 6.9

Cause

Checking logs at the time the error appeared, the following can be seen:

INFO  (com.nolio.platform.server.dataservices.services.execution.cache.JobDatabaseLoaderImpl:46) - loading online job [12345] from Database.
WARN  (com.nolio.platform.server.dataservices.services.execution.cache.JobsCacheImpl:70) - Failed to load ExecutionJob[id=12345] to cache
com.nolio.platform.server.dataservices.services.execution.cache.NoItemToLoadException: job id[12345]

INFO  (com.nolio.platform.server.dataservices.services.execution.cache.JobDatabaseLoaderImpl:34) - loading offline job [12345] from Database.
ERROR (com.nolio.releasecenter.designer.controllers.execution.ProcessExecutionController:125) - Controller method error occurred.
java.lang.IllegalArgumentException: job [id=12345] was not found in jobs cache, nor in online and offline jobs DB tables.

Resolution

This error message appears because a cleanup script was previously executed, in order to delete execution jobs:

Database Care and Feeding

When this is done, deployments information is kept in the database, but all the associated execution jobs of these deployments are removed, which causes the error. Currently, there is no way to cleanup old deployments.

At the moment this article was written, DEV team confirmed that there is a feature being built which will include a way to also cleanup Deployments from the database, it's expected to be in release 6.9.1.