[
https://issues.apache.org/jira/browse/AVRO-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237044#comment-17237044
]
Alex Zbarcea commented on AVRO-2851:
------------------------------------
Do you have more details how to reproduce the issue ? What is the \{{line
2221:managed.h}} ?
> AvroRuntimeException: Invalid sync
> ----------------------------------
>
> Key: AVRO-2851
> URL: https://issues.apache.org/jira/browse/AVRO-2851
> Project: Apache Avro
> Issue Type: Bug
> Environment: Azure Data Lake Analytics
> Reporter: Chase Dai
> Priority: Blocker
>
> hi,
> When using Arvo.dll in Azure Data Lake Analytics, got below error:
> {
> "fieldName": "MESSAGE",
> "fieldValue": "An unhandled exception from user code has been
> reported when invoking the method 'Extract' on the user type
> 'Velux_Core.UDEs+AvroExtractor'"
> },
> {
> "fieldName": "DETAILS",
> "fieldValue": "Method: Extract, Typename:
> Velux_Core.UDEs+AvroExtractor==== Caught exception
> Avro.AvroRuntimeException\r\nError fetching next object from block:
> Avro.AvroRuntimeException: Invalid sync!\r\n at
> Avro.File.DataFileReader`1.NextRawBlock(DataBlock reuse)\r\n at
> Avro.File.DataFileReader`1.HasNext()\r\n at
> Avro.File.DataFileReader`1.HasNext()\r\n at
> Velux_Core.UDEs.AvroExtractor.<Extract>d__4.MoveNext()\r\n at
> ScopeEngine.RunUdoCodeExceptionhandled<class
> <lambda_9c31479d7b210e9215b198be4869466e>
> >(ScopeTypedManagedHandle<System::String ^>* className, SByte* methodName,
> <lambda_9c31479d7b210e9215b198be4869466e>* code) in
> d:\\data\\yarnnm\\local\\usercache\\aaa470bc-82f9-4e26-9968-95b1ef6b5eaf\\appcache\\application_1587699958020_890856\\container_e292_1587699958020_890856_01_000001\\wd\\managed.h:line
> 2221\r\n\r\n"
> }
>
> Azure product team is saying the issue is with the DLL file.
> please help to investigate.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)