{
  "id": "java/gradle-configuration-cache-error",
  "signature": "Configuration cache state stored in /home/user/.gradle/configuration-cache is corrupt. Re-run the build with --no-configuration-cache to recover.",
  "signature_zh": "存储在 /home/user/.gradle/configuration-cache 中的配置缓存状态已损坏。请使用 --no-configuration-cache 重新运行构建以恢复。",
  "regex": "Configuration\\ cache\\ state\\ stored\\ in\\ /home/user/\\.gradle/configuration\\-cache\\ is\\ corrupt\\.\\ Re\\-run\\ the\\ build\\ with\\ \\-\\-no\\-configuration\\-cache\\ to\\ recover\\.",
  "domain": "java",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "The configuration cache file was corrupted due to an incomplete build or disk error.",
  "root_cause_type": "generic",
  "root_cause_zh": "由于构建不完整或磁盘错误，配置缓存文件已损坏。",
  "versions": [
    {
      "version": "8+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Manually editing the cache file",
      "why_fails": "The cache is a binary format; manual editing will likely cause further corruption.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Ignoring the error and running the build again",
      "why_fails": "Gradle will still try to use the corrupt cache unless explicitly invalidated.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Delete the configuration cache directory",
      "success_rate": 0.95,
      "how": "rm -rf ~/.gradle/configuration-cache",
      "condition": "",
      "sources": []
    },
    {
      "action": "Run the build with --no-configuration-cache to bypass the cache",
      "success_rate": 0.9,
      "how": "gradle build --no-configuration-cache",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-04-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}