java.lang.AssertionError: bad return class (CreateSecretKeyRingCacheResult), this is a programming error!

GitHub | adithyaphilip | 3 months ago
  1. 0

    GitHub comment 1884#242738199

    GitHub | 3 months ago | adithyaphilip
    java.lang.AssertionError: bad return class (CreateSecretKeyRingCacheResult), this is a programming error!
  2. 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; } }
  3. 0

    BUG: JUnitReportReporter transposes errors and failures

    Google Groups | 4 years ago | Thorson Little
    java.lang.AssertionError: This is a failure
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    failures reported as errors in junitreport

    Google Groups | 4 years ago | Thorson Little
    java.lang.AssertionError: This is a failure
  6. 0

    Hamcrest (Java) encoding issue

    Stack Overflow | 1 year ago | Harpunius
    java.lang.AssertionError: Should depend on FileLocationStrategy Expected: is "S://Programming/Parser/Portef?ljerapportering/Daily/Test/TestInput/IB.csv" but: was "S://Programming/Parser/Porteføljerapportering/Daily/Test/TestInput/IB.csv"

    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

      bad return class (CreateSecretKeyRingCacheResult), this is a programming error!

      at org.sufficientlysecure.keychain.ui.base.CryptoOperationHelper.onHandleResult()
    2. org.sufficientlysecure.keychain
      CryptoOperationHelper$1.handleMessage
      1. org.sufficientlysecure.keychain.ui.base.CryptoOperationHelper.onHandleResult(CryptoOperationHelper.java:358)
      2. org.sufficientlysecure.keychain.ui.base.CryptoOperationHelper$1.handleMessage(CryptoOperationHelper.java:304)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:135)
      3. android.app.ActivityThread.main(ActivityThread.java:5289)
      3 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames