Skip to content

Instantly share code, notes, and snippets.

@rirakkumya
Created November 29, 2012 04:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rirakkumya/4166753 to your computer and use it in GitHub Desktop.
Save rirakkumya/4166753 to your computer and use it in GitHub Desktop.
scala Error
Caused by: java.lang.RuntimeException: cannot serialize an immutable.HashSet where all items have the same 32-bit hash code
at scala.sys.package$.error(package.scala:27)
at scala.collection.immutable.HashSet$HashSetCollision1.writeObject(HashSet.scala:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment