Summary
IllegalArgumentException: Invalid range specified: (-1, 42); ... — ValueConfigurationPropertyReferenceProvider.getReferencesForInjectionHost builds a TextRange with a negative start offset for a @Value property reference. 7 events.
Where
Sentry
Suggested direction (hypothesis)
Guard against indexOf returning -1 (placeholder/prefix not found) before constructing the TextRange; clamp or bail out when the computed start offset is negative.
Filed from Sentry (project 4 / spring-plugin), last 30 days. Auto-triaged.
Summary
IllegalArgumentException: Invalid range specified: (-1, 42); ...—ValueConfigurationPropertyReferenceProvider.getReferencesForInjectionHostbuilds aTextRangewith a negative start offset for a@Valueproperty reference. 7 events.Where
ValueConfigurationPropertyReferenceProvider.getReferencesForInjectionHost—modules/spring-core/src/main/kotlin/com/explyt/spring/core/properties/providers/ValueConfigurationPropertyReferenceProvider.kt:67Sentry
Suggested direction (hypothesis)
Guard against
indexOfreturning -1 (placeholder/prefix not found) before constructing theTextRange; clamp or bail out when the computed start offset is negative.Filed from Sentry (project 4 / spring-plugin), last 30 days. Auto-triaged.