Scala 2.13 has some different rules about resolving Arrays as Seqs when the array is of a reference type. This primarily affects calls to sc.parallelize(Array(...)) where elements aren't primitive:
This is easy to resolve by using Seq instead.
Closely related: WrappedArray is a type def in 2.13, which makes it unusable in Java. One set of tests needs to adapt.