{"record":{"id":"1b19d025957dcee2","repo":"quarkusio/quarkus","slug":"wtf","errorCode":null,"errorMessage":"WTF","messagePattern":"WTF","errorType":"exception","errorClass":"GradleException","httpStatus":null,"severity":"error","filePath":"devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusShowEffectiveConfig.java","lineNumber":104,"sourceCode":"                    fastJar,\n                    runnerJar(),\n                    nativeRunner(),\n                    sourceNames.stream().collect(Collectors.joining(\"\\n        \", \"\\n        \", \"\\n\")));\n\n            if (getSaveConfigProperties().get()) {\n                Properties props = new Properties();\n                props.putAll(effectiveConfig.getValues());\n                Path file = buildDir.toPath().resolve(finalName + \".quarkus-build.properties\");\n                try (BufferedWriter writer = newBufferedWriter(file)) {\n                    props.store(writer, format(\"Quarkus build properties with JAR type %s\", jarType));\n                } catch (IOException e) {\n                    throw new GradleException(\"Failed to write Quarkus build configuration settings\", e);\n                }\n                getLogger().lifecycle(\"\\nWrote configuration settings to {}\", file);\n            }\n        } catch (Exception e) {\n            e.printStackTrace();\n            throw new GradleException(\"WTF\", e);\n        }\n    }\n}\n","sourceCodeStart":86,"sourceCodeEnd":108,"githubUrl":"https://github.com/quarkusio/quarkus/blob/e1c734241f34c7919086ceb4c9262b4a58f6de44/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusShowEffectiveConfig.java#L86-L108","documentation":"A placeholder/debug message in QuarkusShowEffectiveConfig.dumpEffectiveConfiguration: the outer catch (Exception e) prints the stack trace and rethrows it as a GradleException with the literal message 'WTF'. It signals that some unexpected (non-IO) exception occurred while dumping the effective configuration — the real cause is in the cause chain and in the printed stack trace.","triggerScenarios":"Any RuntimeException escaping the inner logic of dumpEffectiveConfiguration — e.g. NPE from effectiveConfig.getValues(), an InvalidConfigurationFormatException from the formatter, or an error resolving effectiveConfig — inside the try block guarded by the outer catch.","commonSituations":"Malformed or conflicting quarkus.* configuration properties that make the effective-config model resolution fail; a bug/regression in the Gradle plugin; running the task in a project where the Quarkus extension was not applied correctly.","solutions":["Read the printed stack trace (e.printStackTrace() output appears just above the 'WTF' exception) — the root cause is there.","Inspect the cause chain of the GradleException (gradle run with --stacktrace / --scan).","Fix the offending quarkus.* property identified in the stack trace.","If it's a plugin bug, report it with the stack trace — the 'WTF' message itself is a code smell that should carry a descriptive message."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"try {\n    ./gradlew quarkusShowEffectiveConfig\n} catch (GradleException e) {\n    if (\"WTF\".equals(e.getMessage())) {\n        e.getCause().printStackTrace(); // real cause is in the cause chain and printed stack trace\n    }\n}","preventionTips":["Always run with --stacktrace so the root cause is captured","Validate quarkus.* properties early (quarkusShowEffectiveConfig is itself a good validation step)","Keep the Quarkus Gradle plugin and core versions aligned","Report 'WTF' occurrences upstream — it indicates an unhandled plugin bug"],"tags":["gradle","unexpected-exception","debug","build-config"],"backgroundTag":"placeholder-error-message","analyzedSha":"e1c734241f34c7919086ceb4c9262b4a58f6de44","analyzedAt":"2026-09-05T17:01:29.979Z","contentChangedAt":"2026-09-05T17:01:29.979Z","schemaVersion":2},"datasetVersion":"2026-09-12T22:17:10.623Z"}