Historical Data -Exception thrown when processing json

book

Article ID: 196569

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We migrated a stand-alone production enterprise manager to a new server..

Some historical data is now available but if going back before April 27, 2020, the metrics are no longer available in the UI and it says "There is no data for the selected time range", and in the notifications in the bottom-right I see a message: "Error while getting metric data. Status code or reason: There is a syntax error in the request. (Exception thrown when processing json.)".Seeing a similar error like the following in the EM logs. 

 

 [INFO] [qtp908043384-6525] [Manager.AppMap] Invalid Input Syntax for received request!
org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Numeric value (2592000000) out of range of int; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Numeric value (2592000000) out of range of int
at [Source: (PushbackInputStream); line: 1, column: 679] (through reference chain: java.util.ArrayList[1]->com.wily.introscope.appmap.rest.entities.BatchMetricQuery["batchedMetrics"]

Cause

Per Engineering, the JSON parse error was for a Jetty request, so not sure what's its relationship with the metric data retrieval.

Environment

Release : 10.7.0

Component : APM Agents

Resolution

Open a support case and turn on Jetty logging on the Webview properties file. 

log4j.logger.org.mortbay=DEBUG,console,logfile

Restart the Webview, reproduce the problem, and Attach the IntroscopeWebview Log to the case.