{"record":{"id":"da8b66454f1678c2","repo":"eclipse-vertx/vert.x","slug":"invalid-value-da8b66","errorCode":null,"errorMessage":"Invalid ${value}","messagePattern":"Invalid (.+?)","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"vertx-core/src/main/java/io/vertx/core/impl/transports/IoUringTransport.java","lineNumber":56,"sourceCode":"  private static volatile int pendingFastOpenRequestsThreshold = 256;\n\n  /**\n   * Return the number of pending TFO connections in SYN-RCVD state for TCP_FASTOPEN.\n   * <p>\n   * {@see #setPendingFastOpenRequestsThreshold}\n   */\n  public static int getPendingFastOpenRequestsThreshold() {\n    return pendingFastOpenRequestsThreshold;\n  }\n\n  /**\n   * Set the number of pending TFO connections in SYN-RCVD state for TCP_FASTOPEN\n   * <p/>\n   * If this value goes over a certain limit the server disables all TFO connections.\n   */\n  public static void setPendingFastOpenRequestsThreshold(int value) {\n    if (value < 0) {\n      throw new IllegalArgumentException(\"Invalid \" + value);\n    }\n    pendingFastOpenRequestsThreshold = value;\n  }\n\n  public IoUringTransport() {\n  }\n\n  @Override\n  public boolean supportsDomainSockets() {\n    return true;\n  }\n\n  @Override\n  public SocketAddress convert(io.vertx.core.net.SocketAddress address) {\n    if (address.isDomainSocket()) {\n      return new DomainSocketAddress(address.path());\n    }\n    return Transport.super.convert(address);","sourceCodeStart":38,"sourceCodeEnd":74,"githubUrl":"https://github.com/eclipse-vertx/vert.x/blob/fb308bd8c3f12c79f4ae89bef67fadf6c80d036e/vertx-core/src/main/java/io/vertx/core/impl/transports/IoUringTransport.java#L38-L74","documentation":"Static configuration validation in IoUringTransport.setPendingFastOpenRequestsThreshold: the io_uring TCP_FASTOPEN pending-connections threshold must be valid (positive). Generic 'Invalid <value>' sentinel; the input at fault is the int passed to the global setter.","triggerScenarios":"Thrown at vertx-core/src/main/java/io/vertx/core/impl/transports/IoUringTransport.java:56 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass a positive threshold value (default 256)","Validate configuration values before setting the global"],"exampleFix":null,"handlingStrategy":"validation","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-14T05:17:10.506Z"}