Fatal error: Incompatibles ancestors for A: Array[Int], Array[Char]