Description
This exception was rose during a bug reproduction:
Caused by: java.lang.IllegalArgumentException: No enum constant org.talend.sdk.component.api.record.Schema.Type.FIXED at java.lang.Enum.valueOf(Enum.java:273) ~[?:?] at org.talend.sdk.component.api.record.Schema$Type.valueOf(Schema.java:156) ~[component-api-1.56.0.jar:?] at org.talend.sdk.component.runtime.beam.spi.record.AvroSchema.doMapType(AvroSchema.java:261) ~[component-runtime-beam-1.56.0.jar:?] at org.talend.sdk.component.runtime.beam.spi.record.AvroSchema.mapType(AvroSchema.java:243) ~[component-runtime-beam-1.56.0.jar:?] at org.talend.sdk.component.runtime.beam.spi.record.AvroSchema.fromAvro(AvroSchema.java:180) ~[component-runtime-beam-1.56.0.jar:?] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?] at org.talend.sdk.component.runtime.beam.spi.record.AvroSchema.getEntries(AvroSchema.java:132) ~[component-runtime-beam-1.56.0.jar:?] at org.talend.components.adlsgen2.output.AdlsGen2Output.onNext(AdlsGen2Output.java:98) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at org.talend.sdk.component.runtime.base.LifecycleImpl.doInvoke(LifecycleImpl.java:87) ~[component-runtime-impl-1.56.0.jar:?] at org.talend.sdk.component.runtime.output.ProcessorImpl.onNext(ProcessorImpl.java:264) ~[component-runtime-impl-1.56.0.jar:?] at org.talend.sdk.component.runtime.beam.BaseProcessorFn.processElement(BaseProcessorFn.java:103) ~[component-runtime-beam-1.56.0.jar:?]
It's coming from some unmapped avro types in AvroSchema class. The fix will handle unmanaged avro types.
Attachments
Issue Links
- has to be done after
-
TCOMP-2614 Create ADLSGen2 environment for Cloud automation tests
- Done
There are no Sub-Tasks for this issue.