Skip to content

Instantly share code, notes, and snippets.

@xuwei-k xuwei-k/Main.scala
Created Oct 12, 2014

Embed
What would you like to do?
scalaVersion := "2.11.3"
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.3.6"
package si8899
object Main {
def main(args: Array[String]): Unit = {
akka.util.ByteString.empty.filter(_ => true)
}
}
[error] (run-main-0) java.lang.AbstractMethodError: akka.util.ByteString$ByteString1C.filterImpl(Lscala/Function1;Z)Ljava/lang/Object;
java.lang.AbstractMethodError: akka.util.ByteString$ByteString1C.filterImpl(Lscala/Function1;Z)Ljava/lang/Object;
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270)
at akka.util.ByteString.filter(ByteString.scala:280)
at si8899.Main$.main(Main.scala:6)
at si8899.Main.main(Main.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
[trace] Stack trace suppressed: run last compile:run for the full output.
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.