{"record":{"id":"2968d0c87800f30c","repo":"quarkusio/quarkus","slug":"unable-to-render-all-config","errorCode":null,"errorMessage":"Unable to render all config","messagePattern":"Unable to render all config","errorType":"exception","errorClass":"MojoExecutionException","httpStatus":null,"severity":"error","filePath":"devtools/config-doc-maven-plugin/src/main/java/io/quarkus/maven/config/doc/GenerateConfigDocMojo.java","lineNumber":234,"sourceCode":"                    throw new MojoExecutionException(\n                            \"Unable to render config section for section: \" + generatedConfigSection.getPath().property()\n                                    + \" in extension: \" + extension,\n                            e);\n                }\n            }\n        }\n\n        if (generateAllConfig) {\n            // we generate the file centralizing all the config properties\n            try {\n                Path allConfigPath = resolvedTargetDirectory.resolve(String.format(ALL_CONFIG_FILE_FORMAT,\n                        normalizedFormat.getExtension()));\n\n                Context context = new Context(\"all-config\", true);\n\n                Files.writeString(allConfigPath, generateAllConfig(quteEngine, context, mergedModel.getConfigRoots()));\n            } catch (Exception e) {\n                throw new MojoExecutionException(\"Unable to render all config\", e);\n            }\n        }\n    }\n\n    private static String generateConfigReference(Engine quteEngine, Context context, Extension extension,\n            ConfigItemCollection configItemCollection, String additionalAnchorPrefix, boolean searchable) {\n        return quteEngine.getTemplate(\"configReference\")\n                .data(\"extension\", extension)\n                .data(\"configItemCollection\", configItemCollection)\n                .data(\"searchable\", searchable)\n                .data(\"context\", context)\n                .data(\"summaryTableId\", context.summaryTableId()) // for backward compatibility, use context instead\n                .data(\"additionalAnchorPrefix\", additionalAnchorPrefix)\n                .data(\"includeDurationNote\", configItemCollection.hasDurationType())\n                .data(\"includeMemorySizeNote\", configItemCollection.hasMemorySizeType())\n                .render();\n    }\n","sourceCodeStart":216,"sourceCodeEnd":252,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/devtools/config-doc-maven-plugin/src/main/java/io/quarkus/maven/config/doc/GenerateConfigDocMojo.java#L216-L252","documentation":"The mojo wraps failures while rendering the combined 'all config' reference page into a MojoExecutionException with message 'Unable to render all config'. Any exception from generateAllConfig or the preceding file write is chained as the cause.","triggerScenarios":"execute() writing the all-config document fails: Qute evaluation error on mergedModel.getConfigRoots(), disk full, or unwritable output path for the chosen format (asciidoc/markdown).","commonSituations":"Corrupt or conflicting merged model entries cause template evaluation errors; the docs output directory is read-only in CI; large models exhaust memory during rendering.","solutions":["Look at the wrapped cause exception for the root error","Verify the target directory exists and is writable by the build user","Run with -X / debug logging to see which config root fails, then fix that extension's config metadata"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":"Files.createDirectories(Paths.get(targetDirectory));\nassert Files.isWritable(Paths.get(targetDirectory));","typeGuard":null,"tryCatchPattern":"try {\n    mojo.execute();\n} catch (MojoExecutionException e) {\n    logger.error(\"All-config render failed: \" + e.getMessage(), e.getCause());\n}","preventionTips":["Ensure disk space and writable output paths in CI","Fix any duplicate/conflicting config roots before generation","Pin plugin version to avoid template/model mismatches"],"tags":["maven","qute","io"],"backgroundTag":"template-render-failed","analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}