{"record":{"id":"a9da9a9dbbbdf2dc","repo":"eclipse-vertx/vert.x","slug":"invalid-name-system-property-value-use-defau","errorCode":null,"errorMessage":"Invalid ${name} system property value, use ${default} instead","messagePattern":"Invalid (.+?) system property value, use (.+?) instead","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"vertx-core/src/main/java21/io/vertx/core/json/jackson/v3/JacksonCodec.java","lineNumber":61,"sourceCode":"/**\n * @author <a href=\"mailto:julien@julienviet.com\">Julien Viet</a>\n */\npublic class JacksonCodec implements JsonCodec {\n\n  private static final Logger log = LoggerFactory.getLogger(JacksonCodec.class);\n\n  private static JsonFactory buildFactory() {\n    JsonFactoryBuilder tsfBuilder = JsonFactory.builder();\n\n    // Build stream read constraints\n    StreamReadConstraints.Builder readConstraintsBuilder = StreamReadConstraints.builder();\n    try {\n      OptionalInt override = SysProps.JACKSON_DEFAULT_READ_MAX_NESTING_DEPTH.getAsInt();\n      if (override.isPresent()) {\n        readConstraintsBuilder.maxNestingDepth(override.getAsInt());\n      }\n    } catch (IllegalArgumentException e) {\n      log.warn(\"Invalid \" + SysProps.JACKSON_DEFAULT_READ_MAX_NESTING_DEPTH.name + \" system property value, use \" +\n        StreamReadConstraints.DEFAULT_MAX_DEPTH + \" instead\");\n    }\n    try {\n      OptionalLong override = SysProps.JACKSON_DEFAULT_READ_MAX_DOC_LEN.getAsLong();\n      if (override.isPresent()) {\n        readConstraintsBuilder.maxDocumentLength(override.getAsLong());\n      }\n    } catch (IllegalArgumentException e) {\n      log.warn(\"Invalid \" + SysProps.JACKSON_DEFAULT_READ_MAX_DOC_LEN.name + \" system property value, use \" +\n        StreamReadConstraints.DEFAULT_MAX_DOC_LEN + \" instead\");\n    }\n    try {\n      OptionalInt override = SysProps.JACKSON_DEFAULT_READ_MAX_NUM_LEN.getAsInt();\n      if (override.isPresent()) {\n        readConstraintsBuilder.maxNumberLength(override.getAsInt());\n      }\n    } catch (IllegalArgumentException e) {\n      log.warn(\"Invalid \" + SysProps.JACKSON_DEFAULT_READ_MAX_NUM_LEN.name + \" system property value, use \" +","sourceCodeStart":43,"sourceCodeEnd":79,"githubUrl":"https://github.com/eclipse-vertx/vert.x/blob/fb308bd8c3f12c79f4ae89bef67fadf6c80d036e/vertx-core/src/main/java21/io/vertx/core/json/jackson/v3/JacksonCodec.java#L43-L79","documentation":"Configuration validation during JacksonCodec.buildFactory: a Vert.x system property (e.g. the Jackson read-constraints override) was set to a value that cannot be parsed as an integer. The message names the property, the bad value, and the default to use instead; the input at fault is the raw system property string from the JVM environment.","triggerScenarios":"Thrown at vertx-core/src/main/java21/io/vertx/core/json/jackson/v3/JacksonCodec.java:61 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set the system property to a valid integer or unset it to fall back to the default","Audit -D Vert.x-related properties in startup scripts"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fb308bd8c3f12c79f4ae89bef67fadf6c80d036e","analyzedAt":"2026-09-06T11:37:12.241Z","contentChangedAt":"2026-09-06T11:37:12.241Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}