It can be easily fixed,
But I think that we should fix it in scala-library actually.

Previously FlatHashTable.HashUtils had a elemHashCode method with simple sake - to not have .hashCode invocation  on null object(resulting in NPE) and give IllegalArgumentException with informative message instead.
I assume it's a regression.