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

GitHub | lrytz | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    JUnit resident compiler bug / cross-talk between tests

    GitHub | 8 months ago | lrytz
    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
  2. 0
    samebug tip
    Check if you use the right path
  3. 0

    Clean up inlining of trait methods / super accessors / mixin forwarders

    GitHub | 6 months ago | SethTisue
    java.lang.AssertionError: assertion failed: List(InvokeDynamic(INVOKEDYNAMIC, apply$mcVI$sp, (LC;)Lscala/runtime/java8/JFunction1$mcVI$sp;, MethodHandle(6,java/lang/invoke/LambdaMetafactory,altMetafactory,(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;,false), List([Ljava.lang.Object;@4c09493a, MethodHandle(6,C,$anonfun$t$1,(LC;I)V,false), [Ljava.lang.Object;@4c09493a, [Ljava.lang.Object;@4c09493a, [Ljava.lang.Object;@4c09493a, [Ljava.lang.Object;@4c09493a))), took 0.172 sec
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala: Assertion type error

    Stack Overflow | 4 months ago | RDJ
    java.lang.AssertionError: assertion failed: Expected Sails raised, Got ()
  6. 0

    GitHub comment 299#272504222

    GitHub | 3 months ago | subotic
    java.lang.AssertionError: assertion failed: expected: but got unexpected message SparqlUpdateResponse()

  1. jstrayer 9 times, last 2 weeks ago
  2. tyson925 1 times, last 5 months ago
  3. rp 1 times, last 5 months ago
  4. poroszd 1 times, last 8 months ago
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:219)
    1 frame
  3. scala.tools.testing
    Compiler.compileClasses
    1. scala.tools.testing.Compiler.checkReport(BytecodeTesting.scala:45)
    2. scala.tools.testing.Compiler.compileToBytes(BytecodeTesting.scala:52)
    3. scala.tools.testing.Compiler.compileClasses(BytecodeTesting.scala:57)
    3 frames
  4. scala.lang.traits
    BytecodeTest.zwei
    1. scala.lang.traits.BytecodeTest.zwei(BytecodeTest.scala:262)
    1 frame