Álvaro Sánchez-Mariscal

Results 36 comments of Álvaro Sánchez-Mariscal

Using this source: ```yaml apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: HelmRepository metadata: name: bitnami spec: url: https://charts.bitnami.com/bitnami interval: 10m --- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: wordpress spec: interval: 5m chart: spec: chart:...

So is this issue acknowledged? And if so, any chances to get it fixed?

This seems like a bug in the Groovy AST processing. The problematic item is: ```groovy @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXTERNAL_PROPERTY, property = "kind") @JsonSubTypes([ @JsonSubTypes.Type(value = Dog, name...

I think it was at `GroovyCodeVisitor`, don't remember exactly but can try again. Notice also that `AnnotationNode#toString()` throws an exception too.

The breakpoint is at [`ClassCodeVisitorSupport`](https://github.com/apache/groovy/blob/GROOVY_3_0_4/src/main/java/org/codehaus/groovy/ast/ClassCodeVisitorSupport.java#L57) The NPE is actually thrown at [`GroovyCodeVisitor`](https://github.com/apache/groovy/blob/GROOVY_3_0_4/src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java#L202). The `List

@paulk-asert has this been reported in the Groovy Jira? I couldn't find anything.

https://issues.apache.org/jira/browse/GROOVY-9871

@kenotr0n thanks for diagnosing this issue. Would you be willing to contribute a PR?