java.lang.IllegalArgumentException: Flat hash tables cannot contain null elements.

Scala JIRA | James Iry | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [SI-6908] FlatHashTable and things that depend on it like mutable.HashSet cannot store nulls - Scala

    scala-lang.org | 1 year ago
    java.lang.IllegalArgumentException: Flat hash tables cannot contain null elements.
  2. 0

    Smart Code Completion: IllegalArgumentException at ScalaSmartCompletionContributor$.convertTypeToLookupElement()

    YouTrack | 5 years ago
    java.lang.IllegalArgumentException: Flat hash tables cannot contain null elements.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Flat hash tables cannot contain null elements.

      at scala.collection.mutable.FlatHashTable$HashUtils$class.elemHashCode()
    2. Scala
      HashSet.contains
      1. scala.collection.mutable.FlatHashTable$HashUtils$class.elemHashCode(FlatHashTable.scala:348)
      2. scala.collection.mutable.HashSet.elemHashCode(HashSet.scala:41)
      3. scala.collection.mutable.FlatHashTable$class.containsEntry(FlatHashTable.scala:109)
      4. scala.collection.mutable.HashSet.containsEntry(HashSet.scala:41)
      5. scala.collection.mutable.HashSet.contains(HashSet.scala:57)
      5 frames