KB Article #181067
Sysupgrade upgrade logs "Bad encoding for integer value" errors
Problem
When running sysupgrade upgrade, you see errors similar to the following in the logs:
ERROR 01/Jan/2020:00:00:00.000 [00000:000000000000000000000000] Field [maxInputLen] - Bad encoding for integer value: 10737418240
Resolution
This error message indicates that the values are being parsed with Integer.parseInt() and this message is printed when an exception is thrown and a non-empty string is found. To get rid of the error message, set the corresponding integer value in the FED file to 2,147,483,647 or less, because that is the maximum value that an Integer can hold in Java. In this example, the maxInputLen refered to the Maximum Received Bytes setting under General Settings.
The value is actually used at the native layer, which converts the string from the entity store into an unsigned 64-bit integer value, so this error can also just be ignored if you need to set these values to something larger than 2 GiB. You will see the actual value being used printed to the trace file at DEBUG level or higher.