java.lang.AssertionError: assertion failed: The compiler issued non-allowed warnings or errors: pos: source-unitTestSource.scala,line-2,offset=34 illegal inheritance; superclass Object is not a subclass of the supertrait A of the mixin trait B ERROR

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 GitHub by lrytz
, 1 year ago
assertion failed: The compiler issued non-allowed warnings or errors: pos: source-unitTestSource.scala,line-2,offset=34 illegal inheritance; superclass Object is not a subclass of the supertrait A of the mixin trait B ERROR
via Google Groups by Antonio Cunei, 2 years ago
assertion failed: method $init$ in object BeforeAndAfterFunctionsSuite$$anonfun$13$FunkySuite$class$1 in package scalatest List(trait AbstractSuite, object AbstractSuite, anonymous class Assertions$$anonfun$withClue$1, object Assertions$$anonfun
via GitHub by drewhk
, 1 year ago
assertion failed: not found [2] found unexpected [4]
via Google Groups by naasking, 5 months ago
assertion failed
via ne.jp by Unknown author, 1 year ago
java.lang.AssertionError: assertion failed: The compiler issued non-allowed warnings or errors: pos: source-unitTestSource.scala,line-2,offset=34 illegal inheritance; superclass Object is not a subclass of the supertrait A of the mixin trait B ERROR
at scala.Predef$.assert(Predef.scala:219)
at scala.tools.testing.Compiler.checkReport(BytecodeTesting.scala:45)
at scala.tools.testing.Compiler.compileToBytes(BytecodeTesting.scala:52)
at scala.tools.testing.Compiler.compileClasses(BytecodeTesting.scala:57)
at scala.lang.traits.BytecodeTest.zwei(BytecodeTest.scala:262)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
22 more bugmates

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