A "Numeric value (XXXXXXXXXX) out of range of int" message appears in the Microservices log during startup


The following message appears in the Microservices log during startup of your SAS® Viya® environment:

Numeric value (XXXXXXXXXX) out of range of int


In addition, the environment does not start up as expected.

This issue can occur in any environment that has not been updated with all SAS® Viya® 3.5 package updates released throughout 2021. The specific factors that cause the problem depend on the age of the environment and usage levels.

The following microservices are known to be affected:


Additional microservices might be affected by this problem.

You can resolve this problem by applying all currently available SAS Viya 3.5 hot fixes. Applying all currently available 3.5 hot fixes also prevents the problem from occurring.

Refer to SAS KB0036347, "How to apply hot fixes to SAS® Viya® 3.4 and SAS® Viya® 3.5 in a Linux environment," for tips on updating your SAS Viya environment.

The following text shows an example of the exceptions that are an indication of this problem: 

Caused by: org.springframework.web.client.RestClientException: Error while extracting response for type [java.util.List<com.sas.commons.consul.health.ServiceHealth>] and content type [application/json]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Numeric value (2255531822) out of range of int; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Numeric value (2255531822) out of range of int
 at [Source: (PushbackInputStream); line: 1, column: 274] (through reference chain: java.util.ArrayList[0]->com.sas.commons.consul.health.ServiceHealth["Node"]->com.sas.commons.consul.health.HealthNode["CreateIndex"])
    at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:117)
    at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:994)
    at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:977)
    at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:737)
    at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:691)
    at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:618)
    at com.sas.commons.consul.util.ExchangeUtil.internalExchange(ExchangeUtil.java:161)
    at com.sas.commons.consul.util.ExchangeUtil.callExchangeMethod(ExchangeUtil.java:118)
    at com.sas.commons.consul.util.ExchangeUtil.getForObjectWithRetry(ExchangeUtil.java:320)
    at com.sas.commons.consul.impl.ServiceRegistrationImpl.getServiceHealth(ServiceRegistrationImpl.java:133)
    ... 42 common frames omitted ...