java.lang.AssertionError: Compilation produced the following errors: /SOURCE_OUTPUT/test/AutoValue_No.java:7: error: test.AutoValue_No is not abstract and does not override abstract method writeToParcel(android.os.Parcel,int) in android.os.Parcelable final class AutoValue_No extends No { ^ /SOURCE_OUTPUT/test/AutoValue_Yes.java:7: error: test.AutoValue_Yes is not abstract and does not override abstract method writeToParcel(android.os.Parcel,int) in android.os.Parcelable final class AutoValue_Yes extends Yes { ^ Generated Files =============== /SOURCE_OUTPUT/test/AutoValue_Yes.java: package test; import javax.annotation.Generated; @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Yes extends Yes { private final String name; AutoValue_Yes( String name) { if (name == null) { throw new NullPointerException("Null name"); } this.name = name; } @Override public String name() { return name; } @Override public String toString() { return "Yes{" + "name=" + name + "}"; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Yes) { Yes that = (Yes) o; return (this.name.equals(that.name())); } return false; } @Override public int hashCode() { int h = 1; h *= 1000003; h ^= this.name.hashCode(); return h; } } /SOURCE_OUTPUT/test/AutoValue_No.java: package test; import javax.annotation.Generated; @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_No extends No { private final String name; private final int describeContents; AutoValue_No( String name, int describeContents) { if (name == null) { throw new NullPointerException("Null name"); } this.name = name; this.describeContents = describeContents; } @Override public String name() { return name; } @Override public int describeContents() { return describeContents; } @Override public String toString() { return "No{" + "name=" + name + ", " + "describeContents=" + describeContents + "}"; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof No) { No that = (No) o; return (this.name.equals(that.name())) && (this.describeContents == that.describeContents()); } return false; } @Override public int hashCode() { int h = 1; h *= 1000003; h ^= this.name.hashCode(); h *= 1000003; h ^= this.describeContents; return h; } }

GitHub | PaulWoitaschek | 7 months ago
  1. 0

    All tests fail

    GitHub | 7 months ago | PaulWoitaschek
    java.lang.AssertionError: Compilation produced the following errors: /SOURCE_OUTPUT/test/AutoValue_No.java:7: error: test.AutoValue_No is not abstract and does not override abstract method writeToParcel(android.os.Parcel,int) in android.os.Parcelable final class AutoValue_No extends No { ^ /SOURCE_OUTPUT/test/AutoValue_Yes.java:7: error: test.AutoValue_Yes is not abstract and does not override abstract method writeToParcel(android.os.Parcel,int) in android.os.Parcelable final class AutoValue_Yes extends Yes { ^ Generated Files =============== /SOURCE_OUTPUT/test/AutoValue_Yes.java: package test; import javax.annotation.Generated; @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Yes extends Yes { private final String name; AutoValue_Yes( String name) { if (name == null) { throw new NullPointerException("Null name"); } this.name = name; } @Override public String name() { return name; } @Override public String toString() { return "Yes{" + "name=" + name + "}"; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Yes) { Yes that = (Yes) o; return (this.name.equals(that.name())); } return false; } @Override public int hashCode() { int h = 1; h *= 1000003; h ^= this.name.hashCode(); return h; } } /SOURCE_OUTPUT/test/AutoValue_No.java: package test; import javax.annotation.Generated; @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_No extends No { private final String name; private final int describeContents; AutoValue_No( String name, int describeContents) { if (name == null) { throw new NullPointerException("Null name"); } this.name = name; this.describeContents = describeContents; } @Override public String name() { return name; } @Override public int describeContents() { return describeContents; } @Override public String toString() { return "No{" + "name=" + name + ", " + "describeContents=" + describeContents + "}"; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof No) { No that = (No) o; return (this.name.equals(that.name())) && (this.describeContents == that.describeContents()); } return false; } @Override public int hashCode() { int h = 1; h *= 1000003; h ^= this.name.hashCode(); h *= 1000003; h ^= this.describeContents; return h; } }
  2. 0

    GitHub comment 78#149801564

    GitHub | 1 year ago | vanniktech
    java.lang.AssertionError: Compilation produced the following errors: test/MapTest.java:3: error: cannot find symbol import java.lang.Map; ^ symbol: class Map location: package java.lang test/MapTest.java:4: error: cannot find symbol public class MapTest{@Extract Map<String, Integer> map;} ^ symbol: class Map location: class test.MapTest error: Unknown type kind ERROR (No files were generated.)
  3. 0

    How can i test none .java sources generated by annotation processor?

    Stack Overflow | 1 month ago | Ahmad Bawaneh
    java.lang.AssertionError: Did not find a generated file corresponding to .java
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failure

    GitHub | 7 months ago | xoltar
    java.lang.AssertionError: assertion failed: while compiling: /Users/bkeller/src/scala-native/util/src/main/scala/scala/scalanative/util/package.scala during phase: jvm library version: version 2.10.6 compiler version: version 2.10.6 reconstructed args: -classpath /Users/bkeller/src/scala-native/project/target/scala-2.10/sbt-0.13/classes:/Users/bkeller/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes:/Users/bkeller/.ivy2/cache/scala_2.10/sbt_0.13/org.ensime/ensime-sbt/jars/ensime-sbt-0.3.2.jar:/Users/bkeller/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.10.6.jar:/Users/bkeller/.sbt/boot/scala-2.10.6/lib/scala-compiler.jar:/Users/bkeller/.sbt/boot/scala-2.10.6/lib/scala-reflect.jar:/Users/bkeller/.ivy2/cache/org.scalariform/scalariform_2.10/jars/scalariform_2.10-0.1.4.jar:/Users/bkeller/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar:/Users/bkeller/.ivy2/cache/scala_2.10/sbt_0.13/com.geirsson/sbt-scalafmt/jars/sbt-scalafmt-0.2.3.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/sbt/jars/sbt-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/main/jars/main-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/actions/jars/actions-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/classpath/jars/classpath-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/interface/jars/interface-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/io/jars/io-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/control/jars/control-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/launcher-interface/jars/launcher-interface-1.0.0-M1.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/completion/jars/completion-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/collections/jars/collections-0.13.11.jar:/Users/bkeller/.ivy2/cache/jline/jline/jars/jline-2.13.jar:/Users/bkeller/.ivy2/cache/org.fusesource.jansi/jansi/jars/jansi-1.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/api/jars/api-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/classfile/jars/classfile-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/logging/jars/logging-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/process/jars/process-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/compiler-integration/jars/compiler-integration-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/incremental-compiler/jars/incremental-compiler-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/relation/jars/relation-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/compile/jars/compile-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/persist/jars/persist-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-tools.sbinary/sbinary_2.10/jars/sbinary_2.10-0.4.2.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/compiler-ivy-integration/jars/compiler-ivy-integration-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/ivy/jars/ivy-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/cross/jars/cross-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt.ivy/ivy/jars/ivy-2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a.jar:/Users/bkeller/.ivy2/cache/com.jcraft/jsch/jars/jsch-0.1.46.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/serialization_2.10/jars/serialization_2.10-0.1.2.jar:/Users/bkeller/.ivy2/cache/org.scala-lang.modules/scala-pickling_2.10/jars/scala-pickling_2.10-0.10.1.jar:/Users/bkeller/.ivy2/cache/org.scalamacros/quasiquotes_2.10/jars/quasiquotes_2.10-2.0.1.jar:/Users/bkeller/.ivy2/cache/org.json4s/json4s-core_2.10/jars/json4s-core_2.10-3.2.10.jar:/Users/bkeller/.ivy2/cache/org.json4s/json4s-ast_2.10/jars/json4s-ast_2.10-3.2.10.jar:/Users/bkeller/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.6.jar:/Users/bkeller/.ivy2/cache/org.spire-math/jawn-parser_2.10/jars/jawn-parser_2.10-0.6.0.jar:/Users/bkeller/.ivy2/cache/org.spire-math/json4s-support_2.10/jars/json4s-support_2.10-0.6.0.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/run/jars/run-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/task-system/jars/task-system-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/tasks/jars/tasks-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/tracking/jars/tracking-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/cache/jars/cache-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/testing/jars/testing-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/test-agent/jars/test-agent-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/test-interface/jars/test-interface-1.0.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/main-settings/jars/main-settings-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/apply-macro/jars/apply-macro-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/command/jars/command-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/logic/jars/logic-0.13.11.jar:/Users/bkeller/.ivy2/cache/org.scala-sbt/compiler-interface/jars/compiler-interface-0.13.11.jar -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/jre/classes:/Users/bkeller/.sbt/boot/scala-2.10.6/lib/scala-library.jar last tree to typer: Literal(Constant(scalanative.nir.Dep.Dep$Conditional)) symbol: null symbol definition: null tpe: Class(classOf[scala.scalanative.nir.Dep$Conditional]) symbol owners: context owners: class package$UnsupportedException -> package util == Enclosing template or block == Template( // val <local UnsupportedException>: <notype> in class package$UnsupportedException, tree.tpe=scalanative.util.package$UnsupportedException "java.lang.Exception", "scala.Product", "scala.Serializable" // parents ValDef( private "_" <tpt> <empty> ) // 12 statements ValDef( // private[this] val msg: String in class package$UnsupportedException private <local> <caseaccessor> <paramaccessor> <triedcooking> "msg " <tpt> // tree.tpe=String <empty> ) DefDef( // val msg(): String in class package$UnsupportedException <method> <stable> <caseaccessor> <accessor> <paramaccessor> <triedcooking> "msg" [] List(Nil) <tpt> // tree.tpe=String package$UnsupportedException.this."msg " // private[this] val msg: String in class package$UnsupportedException, tree.tpe=String ) DefDef( // def copy(msg: String): scalanative.util.package$UnsupportedException in class package$UnsupportedException <method> <synthetic> "copy" [] // 1 parameter list ValDef( // msg: String <param> <defaultparam/trait> <triedcooking> "msg" <tpt> // tree.tpe=String <empty> ) <tpt> // tree.tpe=scalanative.util.package$UnsupportedException Apply( // def <init>(msg: String): scalanative.util.package$UnsupportedException in class package$UnsupportedException, tree.tpe=scalanative.util.package$UnsupportedException new scalanative.util.package$UnsupportedException."<init>" // def <init>(msg: String): scalanative.util.package$UnsupportedException in class package$UnsupportedException, tree.tpe=(msg: String)scalanative.util.package$UnsupportedException "msg" // msg: String, tree.tpe=String ) ) DefDef( // def copy$default$1(): String in class package$UnsupportedException <method> <synthetic> <defaultparam/trait> "copy$default$1" [] List(Nil) <tpt> // tree.tpe=String Apply( // val msg(): String in class package$UnsupportedException, tree.tpe=String package$UnsupportedException.this."msg" // val msg(): String in class package$UnsupportedException, tree.tpe=()String Nil ) ) DefDef( // override def productPrefix(): String in class package$UnsupportedException <method> override <synthetic> "productPrefix" [] List(Nil) <tpt> // tree.tpe=String "UnsupportedException" ) DefDef( // def productArity(): Int in class package$UnsupportedException <method> <synthetic> "productArity" [] List(Nil) <tpt> // tree.tpe=Int 1 ) DefDef( // def productElement(x$1: Int): Object in class package$UnsupportedException <method> <synthetic> "productElement" [] // 1 parameter list ValDef( // x$1: Int <param> <synthetic> <triedcooking> "x$1" <tpt> // tree.tpe=Int <empty> ) <tpt> // tree.tpe=Object Block( // tree.tpe=Object ValDef( // case val x1: Int case <synthetic> <triedcooking> "x1" <tpt> // tree.tpe=Int "x$1" // x$1: Int, tree.tpe=Int ) Match( // tree.tpe=Object Typed( // tree.tpe=Int "x1" // case val x1: Int, tree.tpe=Int <tpt> // tree.tpe=Int ) // 2 cases CaseDef( // tree.tpe=String 0 Apply( // val msg(): String in class package$UnsupportedException, tree.tpe=String package$UnsupportedException.this."msg" // val msg(): String in class package$UnsupportedException, tree.tpe=()String Nil ) ) CaseDef( // tree.tpe=Nothing "_" // tree.tpe=Int Throw( // tree.tpe=Nothing Apply( // def <init>(x$1: String): IndexOutOfBoundsException in class IndexOutOfBoundsException, tree.tpe=IndexOutOfBoundsException new IndexOutOfBoundsException."<init>" // def <init>(x$1: String): IndexOutOfBoundsException in class IndexOutOfBoundsException, tree.tpe=(x$1: String)IndexOutOfBoundsException Apply( // def toString(): String in class Object, tree.tpe=String scala.Int.box(x$1)."toString" // def toString(): String in class Object, tree.tpe=()String Nil ) ) ) ) ) ) ) DefDef( // override def productIterator(): Iterator in class package$UnsupportedException <method> override <synthetic> "productIterator" [] List(Nil) <tpt> // tree.tpe=Iterator Apply( // def typedProductIterator(x: Product): Iterator in object ScalaRunTime, tree.tpe=Iterator runtime.this."ScalaRunTime"."typedProductIterator" // def typedProductIterator(x: Product): Iterator in object ScalaRunTime, tree.tpe=(x: Product)Iterator This("UnsupportedException")final case class package$UnsupportedException extends Exception with Product with Serializable in package util, tree.tpe=scalanative.util.package$UnsupportedException ) ) DefDef( // def canEqual(x$1: Object): Boolean in class package$UnsupportedException <method> <synthetic> "canEqual" [] // 1 parameter list ValDef( // x$1: Object <param> <synthetic> <triedcooking> "x$1" <tpt> // tree.tpe=Object <empty> ) <tpt> // tree.tpe=Boolean Apply( // final def $isInstanceOf[T0 >: ? <: ?](): Boolean in class Object, tree.tpe=Boolean TypeApply( // final def $isInstanceOf[T0 >: ? <: ?](): Boolean in class Object, tree.tpe=()Boolean "x$1"."$isInstanceOf" // final def $isInstanceOf[T0 >: ? <: ?](): Boolean in class Object, tree.tpe=[T0 >: ? <: ?]()Boolean <tpt> // tree.tpe=scalanative.util.package$UnsupportedException ) Nil ) ) DefDef( // override def hashCode(): Int in class package$UnsupportedException <method> override <synthetic> "hashCode" [] List(Nil) <tpt> // tree.tpe=Int Apply( // def _hashCode(x: Product): Int in object ScalaRunTime, tree.tpe=Int ScalaRunTime.this."_hashCode" // def _hashCode(x: Product): Int in object ScalaRunTime, tree.tpe=(x: Product)Int This("UnsupportedException")final case class package$UnsupportedException extends Exception with Product with Serializable in package util, tree.tpe=scalanative.util.package$UnsupportedException ) ) DefDef( // override def equals(x$1: Object): Boolean in class package$UnsupportedException <method> override <synthetic> "equals" [] // 1 parameter list ValDef( // x$1: Object <param> <synthetic> <triedcooking> "x$1" <tpt> // tree.tpe=Object <empty> ) <tpt> // tree.tpe=Boolean Apply( // def ||(x: Boolean): Boolean in class Boolean, tree.tpe=Boolean package$UnsupportedException.this.eq(x$1)."$bar$bar" // def ||(x: Boolean): Boolean in class Boolean, tree.tpe=(x: Boolean)Boolean Apply( // def &&(x: Boolean): Boolean in class Boolean, tree.tpe=Boolean { case <synthetic> val x1: Object = x$1; case5(){ if (x1.$isInstanceOf[scalanative.util.package$UnsupportedException]()) matchEnd4(true) else case6() }; case6(){ matchEnd4(false) }; matchEnd4(x: Boolean){ x } }."$amp$amp" // def &&(x: Boolean): Boolean in class Boolean, tree.tpe=(x: Boolean)Boolean Block( // tree.tpe=Boolean ValDef( // val UnsupportedException$1: scalanative.util.package$UnsupportedException <synthetic> <triedcooking> "UnsupportedException$1" <tpt> // tree.tpe=scalanative.util.package$UnsupportedException Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=scalanative.util.package$UnsupportedException TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()scalanative.util.package$UnsupportedException "x$1"."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0 <tpt> // tree.tpe=scalanative.util.package$UnsupportedException ) Nil ) ) Apply( // final def ==(x$1: Object): Boolean in class Object, tree.tpe=Boolean package$UnsupportedException.this.msg()."$eq$eq" // final def ==(x$1: Object): Boolean in class Object, tree.tpe=(x$1: Object)Boolean Apply( // val msg(): String in class package$UnsupportedException, tree.tpe=String "UnsupportedException$1"."msg" // val msg(): String in class package$UnsupportedException, tree.tpe=()String Nil ) ) ) ) ) ) DefDef( // def <init>(msg: String): scalanative.util.package$UnsupportedException in class package$UnsupportedException <method> <triedcooking> "<init>" [] // 1 parameter list ValDef( // msg: String <param> <paramaccessor> <triedcooking> "msg" <tpt> // tree.tpe=String <empty> ) <tpt> // tree.tpe=scalanative.util.package$UnsupportedException Block( // tree.tpe=Unit // 3 statements Assign( // tree.tpe=Unit package$UnsupportedException.this."msg " // private[this] val msg: String in class package$UnsupportedException, tree.tpe=String "msg" // msg: String, tree.tpe=String ) Apply( // def <init>(x$1: String): Exception in class Exception, tree.tpe=Exception package$UnsupportedException.super."<init>" // def <init>(x$1: String): Exception in class Exception, tree.tpe=(x$1: String)Exception "msg" // msg: String, tree.tpe=String ) Apply( // def $init$(x$1: Product): Unit in object Product$class, tree.tpe=Unit "scala"."Product$class"."$init$" // def $init$(x$1: Product): Unit in object Product$class, tree.tpe=(x$1: Product)Unit This("UnsupportedException")final case class package$UnsupportedException extends Exception with Product with Serializable in package util, tree.tpe=scalanative.util.package$UnsupportedException ) () ) ) ) == Expanded type of tree == ConstantType(value = Constant(scalanative.nir.Dep.Dep$Conditional)) how can getCommonSuperclass() do its job if different class symbols get the same bytecode-level internal name: scala/scalanative/util/package$UnsupportedException
  6. 0

    Scala Library Crasher 4

    GitHub | 3 years ago | VladUreche
    java.lang.AssertionError: assertion failed: while compiling: mb_library_4.scala during phase: global=mixin, atPhase=cleanup library version: version 2.10.3-20130708-163611-504b5f3b15 compiler version: version 2.10.3-20130708-163611-504b5f3b15 reconstructed args: -bootclasspath /home/sun/workspace/dev/miniboxing-plugin//components/runtime/target/scala-2.10/miniboxing-runtime_2.10-0.1-SNAPSHOT.jar:/home/sun/workspace/dev/miniboxing-plugin//components/plugin/target/scala-2.10/miniboxing-plugin_2.10-0.1-SNAPSHOT.jar -Xplugin:/home/sun/workspace/dev/miniboxing-plugin//components/plugin/target/scala-2.10/miniboxing-plugin_2.10-0.1-SNAPSHOT.jar last tree to typer: TypeTree(trait IterableLike) symbol: trait IterableLike in package compile (flags: <interface> abstract <trait>) symbol definition: abstract trait IterableLike extends Object tpe: miniboxing.tests.compile.IterableLike[Boolean,Repr] symbol owners: trait IterableLike -> package compile context owners: class SeqLike_J$class -> package compile == Enclosing template or block == Template( // val <local SeqLike_J$class>: <notype> in class SeqLike_J$class, tree.tpe=miniboxing.tests.compile.SeqLike_J$class "java.lang.Object", "miniboxing.tests.compile.IterableLike", "miniboxing.tests.compile.GenSeqLike", "miniboxing.tests.compile.SeqLike$class", "miniboxing.tests.compile.SeqLike_J" // parents ValDef( private "_" <tpt> <empty> ) // 2 statements DefDef( // def toString(x$1: miniboxing.tests.compile.SeqLike_J): String in class SeqLike_J$class <method> override <notoverride> "toString" [] List(Nil) <tpt> // tree.tpe=String Apply( // def toString(): String in class Object, tree.tpe=String SeqLike_J$class.super[IterableLike]."toString" // def toString(): String in class Object, tree.tpe=()String Nil ) ) DefDef( // def $init$(x$1: miniboxing.tests.compile.SeqLike_J): Unit in class SeqLike_J$class <method> "$init$" [] List(Nil) <tpt> // tree.tpe=Unit Block( // tree.tpe=Unit {} () ) ) ) == Expanded type of tree == TypeRef( TypeSymbol(abstract trait IterableLike extends Object) args = List( TypeRef(TypeSymbol(final abstract class Boolean extends )) TypeParamTypeRef(TypeParam(+Repr >: ? <: ?)) ) ) class SeqLike_J$class

    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

      Compilation produced the following errors: /SOURCE_OUTPUT/test/AutoValue_No.java:7: error: test.AutoValue_No is not abstract and does not override abstract method writeToParcel(android.os.Parcel,int) in android.os.Parcelable final class AutoValue_No extends No { ^ /SOURCE_OUTPUT/test/AutoValue_Yes.java:7: error: test.AutoValue_Yes is not abstract and does not override abstract method writeToParcel(android.os.Parcel,int) in android.os.Parcelable final class AutoValue_Yes extends Yes { ^ Generated Files =============== /SOURCE_OUTPUT/test/AutoValue_Yes.java: package test; import javax.annotation.Generated; @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Yes extends Yes { private final String name; AutoValue_Yes( String name) { if (name == null) { throw new NullPointerException("Null name"); } this.name = name; } @Override public String name() { return name; } @Override public String toString() { return "Yes{" + "name=" + name + "}"; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Yes) { Yes that = (Yes) o; return (this.name.equals(that.name())); } return false; } @Override public int hashCode() { int h = 1; h *= 1000003; h ^= this.name.hashCode(); return h; } } /SOURCE_OUTPUT/test/AutoValue_No.java: package test; import javax.annotation.Generated; @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_No extends No { private final String name; private final int describeContents; AutoValue_No( String name, int describeContents) { if (name == null) { throw new NullPointerException("Null name"); } this.name = name; this.describeContents = describeContents; } @Override public String name() { return name; } @Override public int describeContents() { return describeContents; } @Override public String toString() { return "No{" + "name=" + name + ", " + "describeContents=" + describeContents + "}"; } @Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof No) { No that = (No) o; return (this.name.equals(that.name())) && (this.describeContents == that.describeContents()); } return false; } @Override public int hashCode() { int h = 1; h *= 1000003; h ^= this.name.hashCode(); h *= 1000003; h ^= this.describeContents; return h; } }

      at com.google.common.truth.FailureStrategy.fail()
    2. com.google.common
      FailureStrategy.fail
      1. com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:24)
      2. com.google.common.truth.FailureStrategy.fail(FailureStrategy.java:20)
      2 frames
    3. Compile Testing
      JavaSourcesSubject$CompilationClause.compilesWithoutError
      1. com.google.testing.compile.JavaSourcesSubject$CompilationClause.compilesWithoutError(JavaSourcesSubject.java:274)
      1 frame
    4. com.ryanharter.auto
      AutoValueParcelExtensionTest.describeContentsOmittedWhenAlreadyDefined
      1. com.ryanharter.auto.value.parcel.AutoValueParcelExtensionTest.describeContentsOmittedWhenAlreadyDefined(AutoValueParcelExtensionTest.java:463)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      5 frames
    7. Compile Testing
      CompilationRule$1$1.process
      1. com.google.testing.compile.CompilationRule$1$1.process(CompilationRule.java:83)
      1 frame
    8. Java Tools
      JavacTaskImpl.call
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$200(JavacProcessingEnvironment.java:91)
      3. com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.runContributingProcs(JavacProcessingEnvironment.java:627)
      4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1033)
      5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1198)
      6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
      8. com.sun.tools.javac.main.Main.compile(Main.java:523)
      9. com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      10. com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      10 frames
    9. Compile Testing
      CompilationRule$1.evaluate
      1. com.google.testing.compile.Compilation.compile(Compilation.java:73)
      2. com.google.testing.compile.CompilationRule$1.evaluate(CompilationRule.java:59)
      2 frames
    10. JUnit
      JUnitCore.run
      1. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      4. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      5. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      6. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      7. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      8. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      9. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      10. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      11. org.junit.runners.Suite.runChild(Suite.java:127)
      12. org.junit.runners.Suite.runChild(Suite.java:26)
      13. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      15. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      16. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      17. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      18. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      19. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      19 frames
    11. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    12. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    14. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame