scala.MatchError: () (of class scala.runtime.BoxedUnit)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user3663882
, 1 year ago
() (of class scala.runtime.BoxedUnit)
via Stack Overflow by Anonymous
, 1 year ago
via GitHub by ramnivas
, 11 months ago
Foo (of class Foo$)
via by Unknown author, 1 year ago
2 (of class java.lang.Integer)
via GitHub by MikaelMayer
, 2 years ago
Request(WrappedArray(spatutorial, shared, Api, getMessage),Map (what -> java.nio.HeapByteBuffer[pos=0 lim=3 cap=3])) (of class autowire.Core$Re quest)
scala.MatchError: () (of class scala.runtime.BoxedUnit)
at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:253)
at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:251)
at com.test.Test$$anonfun$1.applyOrElse(Test.scala:7)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
at com.test.App$.main(App.scala:6)
at com.test.App.main(App.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

Users with the same issue

3 times, 4 weeks ago
39 times, 9 months ago
3 times, 9 months ago
Once, 1 year ago
6 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.