{"record":{"id":"a061e5a8852e06a8","repo":"gradle/gradle","slug":"must-specify-a-value-for-incremental-input-propert","errorCode":null,"errorMessage":"Must specify a value for incremental input property '%s'.","messagePattern":"Must specify a value for incremental input property '(.+?)'\\.","errorType":"validation","errorClass":"InvalidUserDataException","httpStatus":null,"severity":"error","filePath":"platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java","lineNumber":93,"sourceCode":"                    : nonIncremental(VALIDATION_FAILED, beforeExecution, incrementalInputProperties)\n                )\n                .orElseGet(() -> nonIncremental(NO_HISTORY, beforeExecution, incrementalInputProperties))\n            );\n    }\n\n    private static IncrementalInputProperties createIncrementalInputProperties(MutableUnitOfWork work) {\n        switch (work.getExecutionBehavior()) {\n            case NON_INCREMENTAL:\n                return IncrementalInputProperties.NONE;\n            case INCREMENTAL:\n                ImmutableBiMap.Builder<String, Object> builder = ImmutableBiMap.builder();\n                InputVisitor visitor = new InputVisitor() {\n                    @Override\n                    public void visitInputFileProperty(String propertyName, InputBehavior behavior, InputFileValueSupplier valueSupplier) {\n                        if (behavior.shouldTrackChanges()) {\n                            Object value = valueSupplier.getValue();\n                            if (value == null) {\n                                throw new InvalidUserDataException(\"Must specify a value for incremental input property '\" + propertyName + \"'.\");\n                            }\n                            builder.put(propertyName, value);\n                        }\n                    }\n                };\n                work.visitImmutableInputs(visitor);\n                work.visitMutableInputs(visitor);\n                return new DefaultIncrementalInputProperties(builder.build());\n            default:\n                throw new AssertionError();\n        }\n    }\n}\n","sourceCodeStart":75,"sourceCodeEnd":107,"githubUrl":"https://github.com/gradle/gradle/blob/534f27719b66953f95cc907aae7f2c1b12f5482d/platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java#L75-L107","documentation":"Error \"Must specify a value for incremental input property '%s'.\" thrown in gradle/gradle.","triggerScenarios":"Thrown at platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java:93 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["An incremental input property has no value. Set a value for the named property before executing the task."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"534f27719b66953f95cc907aae7f2c1b12f5482d","analyzedAt":"2026-08-22T08:09:12.375Z","schemaVersion":2},"datasetVersion":"2026-08-22T09:17:25.309Z"}