CP log forced traces U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper'
search cancel

CP log forced traces U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper'

book

Article ID: 267666

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

Post upgrade to 21.0.5, some clients see forced traces on the CP REST routine as below:
U00045014 Exception 'java.lang.NullPointerException: "null"' at 'com.automic.rest.executions.ert.ErtEstimationResource.computeErtEstimations():79'.
U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' forces trace because of error.
U00003450 The TRACE file was opened with the switches '0000000000000000'.
U00003449 Output to the TRACE file is finished.
U00045099 The server replied with following status: '500'

This also sometimes shows without the message:
U00045014 Exception 'java.lang.NullPointerException: "null"' at 'com.automic.rest.executions.ert.ErtEstimationResource.computeErtEstimations():79'.

and shows up as:

U00045098 Method 'GET', URL: '[REST API URL]:[REST API PORT]/ae/api/v1/100/executions/1234567/ert', received from IP: '[IP ADDRESS]'
U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' forces trace because of error.
U00003450 The TRACE file was opened with the switches '0000000000000000'.
U00003449 Output to the TRACE file is finished.
U00045099 The server replied with following status: '500'

Forced traces show the following:

20230109/080730.442 - 114              ---------------------- Stack Trace ---------------------
20230109/080730.442 - 114              java.lang.NullPointerException
20230109/080730.442 - 114              
20230109/080730.443 - 114              -----{}{}- Location from where the trace was called -------
20230109/080730.444 - 114              com.automic.util.logging.impl.CallStackException
20230109/080730.444 - 114                  at com.automic.util.logging.impl.ForcedTrace.writeDump(ForcedTrace.java:62)
20230109/080730.444 - 114                  at com.automic.util.logging.impl.LogComponent.logError(LogComponent.java:369)
20230109/080730.444 - 114                  at com.automic.rest.provider.ExceptionProvider.logAndGetResponse(ExceptionProvider.java:48)
20230109/080730.444 - 114                  at com.automic.rest.exceptions.modules.ModuleExceptionMapper.toResponse(ModuleExceptionMapper.java:71)

There is no impact when this message is received and the URL in the U00045098 message is accessible

Environment

Release : 21.0.5

CA Automic Workload Automation

Cause

Known Defect

Resolution

The forced traces on U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' is a known issue fixed in version 21.0.8 HF1.

At this time, there are no known visible problems on the system due to these forced traces.

Additional Information

Bug ID: AE-31227
Bug Title: REST API generates forced traces

Public description : A problem has been fixed where the REST-API returned HTTP Code 500 on the /ert endpoint because of a NullPointerException.