java.lang.NegativeArraySizeException
at com.amazon.ion.impl.LocalSymbolTableImports.getImportedTables(LocalSymbolTableImports.java:246)
at com.amazon.ion.impl.LocalSymbolTable.getImportedTables(LocalSymbolTable.java:591)
at com.amazon.ion.impl.IonWriterSystemText.writeLocalSymtab(IonWriterSystemText.java:421)
at com.amazon.ion.impl.IonWriterUser.setSymbolTable(IonWriterUser.java:308)
at com.amazon.ion.impl._Private_IonWriterBase.transfer_symbol_tables(_Private_IonWriterBase.java:313)
at com.amazon.ion.impl._Private_IonWriterBase.writeValues(_Private_IonWriterBase.java:294)
at com.amazon.coral.metrics.reporter.BinaryFragmentWriterTest.testTranscribe(BinaryFragmentWriterTest.java:76)
at <many lines of JUnit stack elided>
It looks like LocalSymbolTableImports.getImportedTables fails when the system symbol table is not carried as the first "imported" symbol table in
myImports
.The following test fails:
Stack trace: