org.apache.avro.AvroRuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Invalid sync in REPL IT
    via GitHub by nevillelyh
    ,
  • Pagination with Avro File
    via Stack Overflow by neelhridoy
    ,
  • How to append records one by one?
    via GitHub by hudvin
    ,
  • Apache Avro project users list ()
    via by Unknown author,
  • invalid file with avro tools random and tojson
    via by Pritchard, Charles X. -ND,
    • org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync! at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:210) at scala.collection.convert.Wrappers$JIteratorWrapper.hasNext(Wrappers.scala:42) at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408) at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:389) at scala.collection.Iterator$class.foreach(Iterator.scala:893) at scala.collection.AbstractIterator.foreach(Iterator.scala:1336) at $line8.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.liftedTree1$1(<console>:51) at $line8.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.<init>(<console>:47) at $line8.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.<clinit>(<console>) at $line8.$eval$.$print$lzycompute(<console>:7) at $line8.$eval$.$print(<console>:6) at $line8.$eval.$print(<console>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:786) at scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:1047) at scala.tools.nsc.interpreter.IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply(IMain.scala:638) at scala.tools.nsc.interpreter.IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply(IMain.scala:637) at scala.reflect.internal.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:31) at scala.reflect.internal.util.AbstractFileClassLoader.asContext(AbstractFileClassLoader.scala:19) at scala.tools.nsc.interpreter.IMain$WrappedRequest.loadAndRunReq(IMain.scala:637) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:569) at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:565) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:807) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:825) at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:681) at scala.tools.nsc.interpreter.ILoop.processLine(ILoop.scala:395) at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:415) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:923) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:909) at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:909) at scala.reflect.internal.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:97) at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:909) at com.spotify.scio.repl.BaseScioShell$class.process(ScioShell.scala:97) at com.spotify.scio.repl.ScioShell$.process(ScioShell.scala:111) at com.spotify.scio.repl.BaseScioShell$class.main(ScioShell.scala:104) at com.spotify.scio.repl.ScioShell$.main(ScioShell.scala:111) at com.spotify.scio.repl.ScioShell.main(ScioShell.scala) Caused by: java.io.IOException: Invalid sync! at org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:293) at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:198) ... 65 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,